Implement and document state-changes messages in YAML.
Examples at the lamp and grate. This is a way to pull strings out of arbitrary_messages and make them part of the object definition.
This commit is contained in:
parent
aca6d79087
commit
1ed8126912
5 changed files with 135 additions and 105 deletions
2
advent.h
2
advent.h
|
@ -86,7 +86,7 @@ extern const char advent_to_ascii[];
|
|||
extern FILE *logfp;
|
||||
extern bool oldstyle, editline, prompt;
|
||||
|
||||
enum speaktype {touch, look, hear, study};
|
||||
enum speaktype {touch, look, hear, study, change};
|
||||
|
||||
/* b is not needed for POSIX but harmless */
|
||||
#define READ_MODE "rb"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue