Move more globals into the state structure.
This commit is contained in:
parent
42189d79d7
commit
fa1f859162
6 changed files with 68 additions and 59 deletions
8
main.h
8
main.h
|
@ -32,8 +32,16 @@ struct game_t {
|
|||
long lmwarn;
|
||||
/* LOC will go here */
|
||||
long newloc;
|
||||
/* OBJ will go here */
|
||||
long numdie;
|
||||
long oldlc2;
|
||||
long oldloc;
|
||||
long oldobj;
|
||||
long panic;
|
||||
long saved;
|
||||
/* more state will go here */
|
||||
long wzdark;
|
||||
/* more state will go here */
|
||||
long novice;
|
||||
};
|
||||
extern struct game_t game;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue