- int32_t dkill; // dwarves killed
- int32_t dtotal; // total dwarves (including pirate) in loc
- int32_t foobar; // progress in saying "FEE FIE FOE FOO".
- int32_t holdng; // number of objects being carried
- int32_t igo; // # uses of "go" instead of a direction
- int32_t iwest; // # times he's said "west" instead of "w"
- loc_t knfloc; // knife location; LOC_NOWERE if none, -1 after caveat
- turn_t limit; // lifetime of lamp
- loc_t loc; // where player is now
- loc_t newloc; // where player is going
- turn_t numdie; // number of times killed so far
- loc_t oldloc; // where player was
- loc_t oldlc2; // where player was two moves ago
- obj_t oldobj; // last object player handled
- int32_t saved; // point penalty for saves
- int32_t tally; // count of treasures gained
- int32_t thresh; // current threshold for endgame scoring tier
- bool32_t seenbigwords; // have we red the graffiti in the Giant's Room?
- turn_t trnluz; // # points lost so far due to turns used
- turn_t turns; // counts commands given (ignores yes/no)
- char zzword[TOKLEN + 1]; // randomly generated magic word from bird
- struct {
- int32_t abbrev; // has location been seen?
- int32_t atloc; // head of object linked list per location
- } locs[NLOCATIONS + 1];
- struct {
- int32_t seen; // true if dwarf has seen him
- loc_t loc; // location of dwarves, initially hard-wired in
- loc_t oldloc; // prior loc of each dwarf, initially garbage
- } dwarves[NDWARVES + 1];
- struct {
+ int32_t dkill; // dwarves killed
+ int32_t dtotal; // total dwarves (including pirate) in loc
+ int32_t foobar; // progress in saying "FEE FIE FOE FOO".
+ int32_t holdng; // number of objects being carried
+ int32_t igo; // # uses of "go" instead of a direction
+ int32_t iwest; // # times he's said "west" instead of "w"
+ loc_t knfloc; // knife location; LOC_NOWERE if none, -1 after caveat
+ turn_t limit; // lifetime of lamp
+ loc_t loc; // where player is now
+ loc_t newloc; // where player is going
+ turn_t numdie; // number of times killed so far
+ loc_t oldloc; // where player was
+ loc_t oldlc2; // where player was two moves ago
+ obj_t oldobj; // last object player handled
+ int32_t saved; // point penalty for saves
+ int32_t tally; // count of treasures gained
+ int32_t thresh; // current threshold for endgame scoring tier
+ bool32_t seenbigwords; // have we red the graffiti in the Giant's Room?
+ turn_t trnluz; // # points lost so far due to turns used
+ turn_t turns; // counts commands given (ignores yes/no)
+ char zzword[TOKLEN + 1]; // randomly generated magic word from bird
+ struct {
+ int32_t abbrev; // has location been seen?
+ int32_t atloc; // head of object linked list per location
+ } locs[NLOCATIONS + 1];
+ struct {
+ int32_t seen; // true if dwarf has seen him
+ loc_t loc; // location of dwarves, initially hard-wired in
+ loc_t oldloc; // prior loc of each dwarf, initially garbage
+ } dwarves[NDWARVES + 1];
+ struct {