DungeonCrawl
|
Exposes functions for the main menu. More...
#include "menu.h"
Go to the source code of this file.
Functions | |
int | init_main_menu (void) |
Initializes resources for the main menu, including memory allocation and observer registration for localized menu strings. | |
menu_result_t | show_main_menu (bool game_in_progress) |
Display and handle the main menu. | |
void | shutdown_main_menu (void) |
Shuts down the main menu and frees associated data. |
Exposes functions for the main menu.
Definition in file main_menu.h.
int init_main_menu | ( | void | ) |
Initializes resources for the main menu, including memory allocation and observer registration for localized menu strings.
Definition at line 28 of file main_menu.c.
menu_result_t show_main_menu | ( | bool | game_in_progress | ) |
Display and handle the main menu.
game_in_progress | indicates whether there's an active game that can be continued |
Definition at line 43 of file main_menu.c.
void shutdown_main_menu | ( | void | ) |
Shuts down the main menu and frees associated data.
Definition at line 160 of file main_menu.c.