projects
/
open-adventure.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Add command_word_t, for command words.
[open-adventure.git]
/
advent.h
diff --git
a/advent.h
b/advent.h
index 2e07c7ef26d30c176905f6740c890c261546b7e6..d2357070a6e891d4511b32a1ffccaec9b843beee 100644
(file)
--- a/
advent.h
+++ b/
advent.h
@@
-183,6
+183,11
@@
struct settings_t {
bool prompt;
};
+typedef struct {
+ vocab_t id;
+ word_type_t type;
+} command_word_t;
+
struct command_t {
char raw1[LINESIZE], raw2[LINESIZE];
enum speechpart part;