Renamed instance_variables to global_variables and iv to g.

This commit is contained in:
Bart House
2018-11-23 09:27:10 -08:00
parent 14bf74c862
commit f9a0db6c44
21 changed files with 115 additions and 115 deletions

View File

@@ -438,13 +438,13 @@ struct early_opt {
boolean valallowed;
};
/* instance_variables holds engine state that does not need to be
/* instance_globals holds engine state that does not need to be
* persisted upon game exit. The initialization state is well defined
* an set in decl.c during early early engine initialization.
*
* unlike instance_flags, variables can be of any type. */
* unlike instance_flags, values in the structure can be of any type. */
struct instance_variables {
struct instance_globals {
/* apply.c */
int jumping_is_magic; /* current jump result of magic */
int polearm_range_min;
@@ -485,9 +485,9 @@ struct instance_variables {
unsigned long magic; /* validate that structure layout is preserved */
};
E struct instance_variables iv;
E struct instance_globals g;
E void instance_variable_init();
E void instance_globals_init();
#undef E

View File

@@ -9,7 +9,7 @@
/*
* The dungeon presentation graphics code and data structures were rewritten
* and generalized for NetHack's release 2 by Eric S. Raymond (eric@snark)
* building on Don G. Kneller's MS-DOS implementation. See drawing.c for
* building on Don G Kneller's MS-DOS implementation. See drawing.c for
* the code that permits the user to set the contents of the symbol structure.
*
* The door representation was changed by Ari