From: Jason S. Ninneman Date: Thu, 3 Aug 2017 02:26:29 +0000 (-0700) Subject: Add command_word_t, for command words. X-Git-Tag: 1.4~12 X-Git-Url: https://jxself.org/git/?a=commitdiff_plain;h=a15e7c9f91dc3597896536658d7ffa5eda9e940f;p=open-adventure.git Add command_word_t, for command words. --- diff --git a/advent.h b/advent.h index 2e07c7e..d235707 100644 --- 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;