![]() |
naev 0.10.4
|
Handles the important game menus. More...
Go to the source code of this file.
Macros | |
| #define | MENU_MAIN (1<<0) |
| #define | MENU_SMALL (1<<1) |
| #define | MENU_INFO (1<<2) |
| #define | MENU_DEATH (1<<3) |
| #define | MENU_OPTIONS (1<<4) |
| #define | MENU_ASKQUIT (1<<5) |
| #define | MENU_EDITORS (1<<6) |
| #define | menu_isOpen(f) (menu_open & (f)) |
Functions | |
| void | menu_main (void) |
| Opens the main menu (titlescreen). More... | |
| void | menu_small (int docheck, int info, int options, int allowsave) |
| Opens the small in-game menu. More... | |
| void | menu_death (void) |
| Player death menu, appears when player got creamed. More... | |
| int | menu_askQuit (void) |
| Menu to ask if player really wants to quit. More... | |
| void | menu_main_close (void) |
| Closes the main menu. More... | |
| void | menu_small_close (void) |
| Closes the small menu. More... | |
| void | menu_main_resize (void) |
| Resizes the main menu and its background. More... | |
Variables | |
| int | menu_open |
Handles the important game menus.
Definition in file menu.h.
| #define menu_isOpen | ( | f | ) | (menu_open & (f)) |
| int menu_askQuit | ( | void | ) |
| void menu_death | ( | void | ) |
| void menu_main_resize | ( | void | ) |
| void menu_small | ( | int | docheck, |
| int | info, | ||
| int | options, | ||
| int | allowsave | ||
| ) |
|
extern |
Used internally by menu_isOpen()
Stores the opened/closed menus.