13#define COLOR_FOREGROUND 0xffffff
14#define COLOR_BACKGROUND 0x000000
Exposes functions for working working with the character.
Defines common macros, types, and global variables for color schemes and utilities.
map_mode_result_t handle_input(const input_event_t *input_event, character_t *player)
Functions is only exposed for testing purposes.
void set_player_start_pos(int player_x, int player_y)
Sets the starting position of the player.
map_mode_result_t map_mode_update(character_t *player)
Updates the player position based on the player's input and redraws the maze.
void init_map_mode(void)
Initializes the map mode.
vector2d_t get_player_pos()
Get the current player position.
void shutdown_map_mode(void)
Frees any resources associated with the map mode.
2-dimensional vector struct