#ifndef H_MAZE_GAME_COMMANDS #define H_MAZE_GAME_COMMANDS #include "game.h" enum cmd_res_type { CRT_SUCCESS, CRT_FAIL, CRT_QUIT }; #define MAX_CR_TEXT_LENGTH 256 #define MAX_ARGS_COUNT 100 struct cmd_res { enum cmd_res_type type; char text[MAX_CR_TEXT_LENGTH]; }; struct cmd_res run_command(struct game_state *state, char *command); #endif