29 lines
768 B
C
29 lines
768 B
C
/*
|
|
* Created by snapshot112 on 15/10/2025
|
|
*
|
|
* A minigame menu for games build on the grid game engine.
|
|
*
|
|
* Please make sure to include and initialize the game engine before calling menu();
|
|
*/
|
|
|
|
#ifndef MINIGAME_MENU_MINIGAME_MENU_H
|
|
#define MINIGAME_MENU_MINIGAME_MENU_H
|
|
|
|
/*
|
|
* A minigame menu for games build on the grid game engine.
|
|
*
|
|
* Please make sure to include and initialize the game engine before calling menu();
|
|
*
|
|
* Side Effects:
|
|
* Clears the console and uses it to display a minigame menu.
|
|
*
|
|
* Controls:
|
|
* 'w'/'arr_up': Next menu item.
|
|
* 's'/'arr_down': Previous menu item.
|
|
* 'f'/'ENTER': Select current menu item.
|
|
* 'BACKSPACE'/'ESC': Exit the menu.
|
|
*/
|
|
void minigame_menu(void);
|
|
|
|
#endif //MINIGAME_MENU_MINIGAME_MENU_H
|