1 /* 2 * See Licensing and Copyright notice in naev.h 3 */ 4 5 6 7 #ifndef MENU_H 8 # define MENU_H 9 10 11 /* 12 * Menu status. 13 */ 14 #define MENU_MAIN (1<<0) /**< Main menu (titlescreen). */ 15 #define MENU_SMALL (1<<1) /**< Small ingame menu. */ 16 #define MENU_INFO (1<<2) /**< Player information menu. */ 17 #define MENU_DEATH (1<<3) /**< Player death menu. */ 18 #define MENU_OPTIONS (1<<4) /**< Player's options menu. */ 19 #define MENU_ASKQUIT (1<<5) /**< Really quit naev? menu. */ 20 #define menu_isOpen(f) (menu_open & (f)) /**< Checks if a certain menu is opened. */ 21 extern int menu_open; /**< Used internally by menu_isOpen() */ 22 23 24 /* 25 * Menu opening routines. 26 */ 27 void menu_main (void); 28 void menu_small (void); 29 void menu_death (void); 30 void menu_options (void); 31 int menu_askQuit (void); 32 33 /* 34 * Closing. 35 */ 36 void menu_main_close (void); 37 38 39 /* 40 * Misc. 41 */ 42 void menu_main_resize (void); 43 44 #endif /* MENU_H */ 45