Handles the important game menus.
More...
Go to the source code of this file.
|
| void | menu_main (void) |
| | Opens the main menu (titlescreen).
|
| |
| void | menu_small (int docheck, int info, int options, int allowsave) |
| | Opens the small in-game menu.
|
| |
| void | menu_death (void) |
| | Player death menu, appears when player got creamed.
|
| |
| int | menu_askQuit (void) |
| | Menu to ask if player really wants to quit.
|
| |
| void | menu_main_close (void) |
| | Closes the main menu.
|
| |
| void | menu_small_close (void) |
| | Closes the small menu.
|
| |
| void | menu_main_resize (void) |
| | Resizes the main menu and its background.
|
| |
Handles the important game menus.
Definition in file menu.h.
◆ MENU_ASKQUIT
| #define MENU_ASKQUIT (1<<5) |
Really quit naev? menu.
Definition at line 14 of file menu.h.
◆ MENU_DEATH
| #define MENU_DEATH (1<<3) |
Player death menu.
Definition at line 12 of file menu.h.
◆ MENU_EDITORS
| #define MENU_EDITORS (1<<6) |
Editors menu.
Definition at line 15 of file menu.h.
◆ MENU_INFO
Player information menu.
Definition at line 11 of file menu.h.
◆ menu_isOpen
Value:Checks if a certain menu is opened.
Definition at line 16 of file menu.h.
◆ MENU_MAIN
Main menu (titlescreen).
Definition at line 9 of file menu.h.
◆ MENU_OPTIONS
| #define MENU_OPTIONS (1<<4) |
Player's options menu.
Definition at line 13 of file menu.h.
◆ MENU_SMALL
| #define MENU_SMALL (1<<1) |
Small in-game menu.
Definition at line 10 of file menu.h.
◆ menu_askQuit()
| int menu_askQuit |
( |
void | | ) |
|
Menu to ask if player really wants to quit.
Definition at line 694 of file menu.c.
◆ menu_death()
Player death menu, appears when player got creamed.
Definition at line 630 of file menu.c.
◆ menu_main()
Opens the main menu (titlescreen).
Definition at line 172 of file menu.c.
◆ menu_main_close()
| void menu_main_close |
( |
void | | ) |
|
Closes the main menu.
Definition at line 336 of file menu.c.
◆ menu_main_resize()
| void menu_main_resize |
( |
void | | ) |
|
Resizes the main menu and its background.
This is a one-off function that ensures the main menu's appearance is consistent regardless of window resizing.
Definition at line 280 of file menu.c.
◆ menu_small()
| void menu_small |
( |
int | docheck, |
|
|
int | info, |
|
|
int | options, |
|
|
int | allowsave ) |
Opens the small in-game menu.
Definition at line 424 of file menu.c.
◆ menu_small_close()
| void menu_small_close |
( |
void | | ) |
|
Closes the small menu.
Definition at line 502 of file menu.c.
◆ menu_open