Completely wire vocab words in YAML to the code.
This massive patch: * Finishes working all the vocab words into YAML structures. * Adds vocab ID generator functions. * Redoes the input-getting system, removing the need for GETIN(), GETTXT(), etc. * Changes advent<->ascii mapping to avoid the special 'shift' character. * Works around some bad behavior in the dragon attack logic. * Handles the reservoir magic word without changing the database contents.
This commit is contained in:
parent
9d918edeaa
commit
50435465a6
11 changed files with 460 additions and 52 deletions
|
@ -119,7 +119,8 @@ int restore(FILE* fp)
|
|||
rspeak(VERSION_SKEW, save.version / 10, MOD(save.version, 10), VRSION / 10, MOD(VRSION, 10));
|
||||
} else {
|
||||
memcpy(&game, &save.game, sizeof(struct game_t));
|
||||
game.zzword = rndvoc(3, game.zzword);
|
||||
//game.zzword = rndvoc(3, game.zzword);
|
||||
make_zzword(game.zzword);
|
||||
}
|
||||
return GO_TOP;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue