X-Git-Url: https://jxself.org/git/?a=blobdiff_plain;f=advent.h;h=7754923f5913c2f299df667ff0b59323d21e625b;hb=2bdf9e2803c83d19f375d97dd8147e8d221ec057;hp=289b8f6a12b7afa70ef36228b744db3396bddc62;hpb=de2b1894f22d885a43768a569118c47e1a39fb80;p=open-adventure.git diff --git a/advent.h b/advent.h index 289b8f6..7754923 100644 --- a/advent.h +++ b/advent.h @@ -114,8 +114,9 @@ enum phase_codes { GO_DWARFWAKE, }; -typedef long token_t; // word token - someday this will be char[TOKLEN+1] +typedef long token_t; // word token - someday this will be char[TOKLEN+1] */ typedef long vocab_t; // index into a vocabulary array */ +typedef long verb_t; // index into an actions array */ typedef long obj_t; // index into the object array */ typedef long loc_t; // index into the locations array */ @@ -191,7 +192,7 @@ struct settings_t { struct command_t { enum speechpart part; - vocab_t verb; + verb_t verb; obj_t obj; token_t wd1; token_t wd2;