Abolish VOCWRD().

Action word mnemonics are now enums from adventure.yaml.
This commit is contained in:
Jason S. Ninneman 2017-06-26 22:07:24 -07:00
parent 2aa5f1dd61
commit 7dc8839249
5 changed files with 5 additions and 34 deletions

9
init.c
View file

@ -72,15 +72,6 @@ void initialise(void)
game.hintlc[i] = 0;
}
/* Define some handy mnemonics. */
/* Some action verbs. */
FIND = VOCWRD(WORD_FIND, 2);
INVENT = VOCWRD(WORD_INVENT, 2);
LOCK = VOCWRD(WORD_LOCK, 2);
SAY = VOCWRD(WORD_SAY, 2);
THROW = VOCWRD(WORD_THROW, 2);
/* Initialise the dwarves. game.dloc is loc of dwarves,
* hard-wired in. game.odloc is prior loc of each dwarf,
* initially garbage. DALTLC is alternate initial loc for dwarf,