X-Git-Url: https://jxself.org/git/?a=blobdiff_plain;f=advent.h;h=ce763faa707882ec74f59eed461d9e2080a9bb48;hb=6c7e5a3ac14a2726f427633f29feb0a739e18536;hp=09ec71b7d16f9a82c1d9bf241687b4a58ab33950;hpb=5337e00725f17e08836fb2a2f59ab178ece47000;p=open-adventure.git diff --git a/advent.h b/advent.h index 09ec71b..ce763fa 100644 --- a/advent.h +++ b/advent.h @@ -87,7 +87,7 @@ enum termination {endgame, quitgame, scoregame}; enum speechpart {unknown, intransitive, transitive}; -enum wordtype {NO_WORD_TYPE, MOTION, OBJECT, ACTION, SPECIAL, NUMERIC}; +enum wordtype {NO_WORD_TYPE, MOTION, OBJECT, ACTION, NUMERIC}; typedef enum scorebonus {none, splatter, defeat, victory} score_t; @@ -101,11 +101,8 @@ enum phase_codes { GO_TOP, GO_CLEAROBJ, GO_CHECKHINT, - GO_DIRECTION, GO_WORD2, - GO_SPECIALS, GO_UNKNOWN, - GO_ACTION, GO_DWARFWAKE, }; @@ -225,7 +222,7 @@ extern int suspend(void); extern int resume(void); extern int restore(FILE *); extern long initialise(void); -extern int action(struct command_t *command); +extern int action(struct command_t command); extern void state_change(obj_t, int);