X-Git-Url: https://jxself.org/git/?a=blobdiff_plain;f=advent.h;h=23f34067b48bc1cb4ffa17822902bc7bcdccda53;hb=461575ef4c662f65c1042ced78fbaef6d1af6074;hp=85d9026881e6cfc9d7d80f65dfd7b8885582f77a;hpb=dda636bbc1c15fc28e5d52ad08ef3bcc30a3e682;p=open-adventure.git diff --git a/advent.h b/advent.h index 85d9026..23f3406 100644 --- a/advent.h +++ b/advent.h @@ -1,6 +1,8 @@ #include #include +#include "sizes.h" + #define LINESIZE 100 #define NDWARVES 6 #define PIRATE NDWARVES /* must be NDWARVES-1 when zero-origin */ @@ -43,6 +45,7 @@ struct game_t { long oldobj; long panic; long saved; + long setup; long tally; long thresh; long trndex; @@ -50,7 +53,7 @@ struct game_t { long turns; long wzdark; long zzword; - long abbrev[185+1]; /* FIXME: LOCSIZE in the compiler */ + long abbrev[LOCSIZ+1]; long dseen[NDWARVES+1]; long dloc[NDWARVES+1]; long odloc[NDWARVES+1]; @@ -133,7 +136,7 @@ extern long AMBER, ATTACK, AXE, BACK, BATTER, BEAR, OGRE, OIL, OLDOBJ, OYSTER, PANIC, PEARL, PILLOW, PLANT, PLANT2, PROP[], PYRAM, RESER, ROD, ROD2, RUBY, RUG, SAPPH, SAY, - SCORE, SECT, SETUP, SIGN, SNAKE, SPK, STEPS, STICK, + SCORE, SECT, SIGN, SNAKE, SPK, STEPS, STICK, STREAM, THROW, TK[], TRIDNT, TROLL, TROLL2, URN, V1, V2, VASE, VEND, VERB, VOLCAN, VRSION, WATER, WD1, WD1X, WD2, WD2X;