Render the ascii<->advent character code mappings to lookup tables.

This commit is contained in:
Jason S. Ninneman 2017-06-09 09:15:44 -07:00
parent 2c33a29cf1
commit bea58f2682
3 changed files with 11 additions and 47 deletions

3
main.c
View file

@ -15,7 +15,7 @@
struct game_t game;
long LNLENG, LNPOSN, PARMS[MAXPARMS+1];
char rawbuf[LINESIZE], INLINE[LINESIZE+1], MAP1[129], MAP2[129];
char rawbuf[LINESIZE], INLINE[LINESIZE+1];
long AMBER, AXE, BACK, BATTER, BEAR, BIRD, BLOOD,
BOTTLE, CAGE, CAVE, CAVITY, CHAIN, CHASM, CHEST,
@ -102,7 +102,6 @@ case 'l':
set_seed(seedval);
/* Initialize game variables */
MAP2[1] = 0;
if (!game.setup)
initialise();