Abstracted a chuck of do_command() into seperate function do_move(), moved that call to main loop, so as to narrow the focus of do_command() to getting and processing commands.
This commit is contained in:
parent
e3b508536d
commit
2a5dac3d8c
3 changed files with 39 additions and 21 deletions
1
advent.h
1
advent.h
|
@ -210,6 +210,7 @@ extern struct game_t game;
|
|||
extern struct settings_t settings;
|
||||
|
||||
extern bool get_command_input(command_t *);
|
||||
extern void clear_command(command_t *);
|
||||
extern void speak(const char*, ...);
|
||||
extern void sspeak(int msg, ...);
|
||||
extern void pspeak(vocab_t, enum speaktype, bool, int, ...);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue