X-Git-Url: https://jxself.org/git/?a=blobdiff_plain;f=main.h;h=fa87d627ec8847e720f844ca471bcd41cea47872;hb=2bc887c84efbcd9ea4ae589d29285bc187173e9a;hp=5af50f3a7625c62b1be79dc393dac80705c058fa;hpb=f68f3a12056d7cfbe6cc65abe9f5c5975375ba00;p=open-adventure.git diff --git a/main.h b/main.h index 5af50f3..fa87d62 100644 --- a/main.h +++ b/main.h @@ -2,54 +2,9 @@ #define LINESIZE 100 -extern long ABB[], ATAB[], ATLOC[], DLOC[], FIXED[], +extern long ABB[], ATAB[], ATLOC[], BLKLIN, DFLAG, DLOC[], FIXED[], HOLDNG, KTAB[], *LINES, LINK[], LNLENG, LNPOSN, PARMS[], PLACE[], PTEXT[], RTEXT[], TABSIZ; extern signed char INLINE[LINESIZE+1], MAP1[], MAP2[]; extern FILE *logfp; extern bool oldstyle; - -struct game_t { - /* These members are in the save order of the individual variables - * in the 2.5 code. */ - long abbnum; - long blklin; - long bonus; - long clock1; - long clock2; - long closed; - long closng; - long detail; - long dflag; - long dkill; - long dtotal; - long foobar; - long holdng; - long iwest; - long knfloc; - long limit; - /* LL may go here */ - long lmwarn; - /* LOC will go here */ - long newloc; - /* OBJ will go here */ - long numdie; - long oldlc2; - long oldloc; - long oldobj; - long panic; - long saved; - long setup; - long spk; - long tally; - long thresh; - long trndex; - long trnluz; - long turns; - /* more state will go here */ - long wzdark; - long zzword; - /* more state will go here */ - long novice; -}; -extern struct game_t game;