X-Git-Url: https://jxself.org/git/?p=open-adventure.git;a=blobdiff_plain;f=advent.h;h=48cb54e16fccf86980025e3313359172236eeb4c;hp=76d63e093ea24a0be018f222ceb0ba2384796e12;hb=5f4df123b40b8d9c01b88bc506ee5bb8b3c82d70;hpb=9475552be419a8a018a27d524f6cdf64c0e26e4b diff --git a/advent.h b/advent.h index 76d63e0..48cb54e 100644 --- a/advent.h +++ b/advent.h @@ -196,11 +196,14 @@ typedef struct { word_type_t type; } command_word_t; +typedef enum {EMPTY, RAW, TOKENIZED, GIVEN, PREPROCESSED, PROCESSING, EXECUTED} command_state_t; + typedef struct { enum speechpart part; command_word_t word[2]; verb_t verb; - obj_t obj; + obj_t obj; + command_state_t state; } command_t; extern struct game_t game;