trunk only: preserving context (include files)

Pat Rankin wrote:
> collect them all into some new struct and
> save that separately rather than jamming more non-option stuff
> into struct flags.

This patch:
- collects all context/tracking related fields from flags
  into a new structure called "context."
It also adds the following to the new structure:
- stethoscope turn support
- victual support
- tin support
This commit is contained in:
nethack.allison
2003-09-21 11:46:53 +00:00
parent c3960b1d49
commit 74b834c774
5 changed files with 7 additions and 32 deletions

View File

@@ -198,14 +198,6 @@ E NEARDATA schar tbx, tby; /* set in mthrowu.c */
E NEARDATA struct multishot { int n, i; short o; boolean s; } m_shot;
E NEARDATA struct dig_info { /* apply.c, hack.c */
int effort;
d_level level;
coord pos;
long lastdigtime;
boolean down, chew, warned, quiet;
} digging;
E NEARDATA long moves, monstermoves;
E NEARDATA long wailmsg;