Moved pray.c globals to instance_globals.

This commit is contained in:
Bart House
2018-11-23 16:50:23 -08:00
parent 1c1e5b7e36
commit 74caa8d8e4
11 changed files with 88 additions and 105 deletions

View File

@@ -464,6 +464,14 @@ struct instance_globals {
/* muse.c */
boolean m_using; /* kludge to use mondided instead of killed */
int trapx;
int trapy;
boolean zap_oseen; /* for wands which use mbhitm and are zapped at
* players. We usually want an oseen local to
* the function, but this is impossible since the
* function mbhitm has to be compatible with the
* normal zap routines, and those routines don't
* remember who zapped the wand. */
/* objname.c */
/* distantname used by distant_name() to pass extra information to
@@ -498,6 +506,13 @@ struct instance_globals {
int potion_nothing;
int potion_unkn;
/* pray.c */
/* values calculated when prayer starts, and used when completed */
aligntyp p_aligntyp;
int p_trouble;
int p_type; /* (-1)-3: (-1)=really naughty, 3=really good */
/* read.c */
boolean known;