projects
/
open-adventure.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0d3393e
)
Add command_word_t, for command words.
author
Jason S. Ninneman
<jsn@mbar.us>
Thu, 3 Aug 2017 02:26:29 +0000
(19:26 -0700)
committer
Jason S. Ninneman
<jsn@mbar.us>
Thu, 3 Aug 2017 15:16:19 +0000
(08:16 -0700)
advent.h
patch
|
blob
|
history
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;