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
2
common.h
2
common.h
|
@ -4,6 +4,8 @@
|
|||
|
||||
extern const char advent_to_ascii[128];
|
||||
extern const char ascii_to_advent[128];
|
||||
extern const char new_advent_to_ascii[64];
|
||||
extern const char new_ascii_to_advent[128];
|
||||
|
||||
enum bugtype {
|
||||
TOO_MANY_VOCABULARY_WORDS, // 4
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue