Narrow the scope of IGO.
This commit is contained in:
parent
48363ba536
commit
8a256a6e37
3 changed files with 4 additions and 4 deletions
2
advent.h
2
advent.h
|
@ -135,7 +135,7 @@ extern long AMBER, ATTACK, AXE, BACK, BATTER, BEAR,
|
|||
BIRD, BLOOD, BOTTLE, CAGE, CAVE, CAVITY, CHAIN, CHASM, CHEST,
|
||||
CLAM, COINS, DALTLC, DOOR, DPRSSN, DRAGON, DWARF, EGGS,
|
||||
EMRALD, ENTER, ENTRNC, FIND, FISSUR, FOOD, GRATE, HINT, I, INVENT,
|
||||
IGO, J, JADE, K, KEYS, KNIFE, L, LAMP, LOCK, LOOK,
|
||||
J, JADE, K, KEYS, KNIFE, L, LAMP, LOCK, LOOK,
|
||||
MAGZIN, MAXDIE, MAXTRS, MESSAG, MIRROR, MXSCOR, NUGGET, NUL,
|
||||
OGRE, OIL, OLDOBJ, OYSTER, PANIC, PEARL, PILLOW, PLANT, PLANT2, PYRAM,
|
||||
RESER, ROD, ROD2, RUBY, RUG, SAPPH, SAY,
|
||||
|
|
3
init.c
3
init.c
|
@ -353,7 +353,7 @@ L1106: /*etc*/ ;
|
|||
* game.dkill # of dwarves killed (unused in scoring, needed for msg)
|
||||
* game.foobar Current progress in saying "FEE FIE FOE FOO".
|
||||
* game.holdng Number of objects being carried
|
||||
* IGO How many times he's said "go XXX" instead of "XXX"
|
||||
* igo How many times he's said "go XXX" instead of "XXX"
|
||||
* game.iwest How many times he's said "west" instead of "w"
|
||||
* game.knfloc 0 if no knife here, loc if knife here, -1 after caveat
|
||||
* game.limit Lifetime of lamp (not set here)
|
||||
|
@ -371,7 +371,6 @@ L1106: /*etc*/ ;
|
|||
if(TRNVLS > 0)game.thresh=MOD(TRNVAL[1],100000)+1;
|
||||
game.trnluz=0;
|
||||
game.lmwarn=false;
|
||||
IGO=0;
|
||||
game.iwest=0;
|
||||
game.knfloc=0;
|
||||
game.detail=0;
|
||||
|
|
3
main.c
3
main.c
|
@ -21,7 +21,7 @@ long AMBER, ATTACK, AXE, BACK, BATTER, BEAR, BIRD, BLOOD,
|
|||
BOTTLE, CAGE, CAVE, CAVITY, CHAIN, CHASM, CHEST,
|
||||
CLAM, COINS, DALTLC, DOOR, DPRSSN, DRAGON, DWARF, EGGS,
|
||||
EMRALD, ENTER, ENTRNC, FIND, FISSUR, FOOD,
|
||||
GRATE, HINT, I, INVENT, IGO, J, JADE, K, KEYS,
|
||||
GRATE, HINT, I, INVENT, J, JADE, K, KEYS,
|
||||
KNIFE, L, LAMP, LOCK, LOOK, MAGZIN, MAXDIE, MAXTRS,
|
||||
MESSAG, MIRROR, MXSCOR, NUGGET, NUL, OGRE, OIL, OYSTER,
|
||||
PEARL, PILLOW, PLANT, PLANT2, PYRAM, RESER, ROD, ROD2,
|
||||
|
@ -155,6 +155,7 @@ static bool fallback_handler(char *buf)
|
|||
static bool do_command(FILE *cmdin) {
|
||||
long LL, KQ, VERB, KK, K2;
|
||||
long obj;
|
||||
static long IGO = 0;
|
||||
|
||||
/* Can't leave cave once it's closing (except by main office). */
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue