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:
Aaron Traas 2018-12-07 10:35:36 -05:00
parent e3b508536d
commit 2a5dac3d8c
3 changed files with 39 additions and 21 deletions

View file

@ -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, ...);