Renamed instance_variables to global_variables and iv to g.
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user