trunk only: preserving context (sys 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:56:11 +00:00
parent 22ce5ed6f2
commit 18e971e442
13 changed files with 31 additions and 31 deletions

View File

@@ -423,7 +423,7 @@ char *argv[];
}
}
flags.move = 0;
context.move = 0;
} else {
not_recovered:
player_selection();
@@ -431,7 +431,7 @@ not_recovered:
if (discover)
You("are in non-scoring discovery mode.");
flags.move = 0;
context.move = 0;
set_wear();
(void) pickup(1);
read_engr_at(u.ux,u.uy);