Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

45 lines (33 sloc) 0.908 kB
/*
* See Licensing and Copyright notice in naev.h
*/
#ifndef MENU_H
# define MENU_H
/*
* Menu status.
*/
#define MENU_MAIN (1<<0) /**< Main menu (titlescreen). */
#define MENU_SMALL (1<<1) /**< Small ingame menu. */
#define MENU_INFO (1<<2) /**< Player information menu. */
#define MENU_DEATH (1<<3) /**< Player death menu. */
#define MENU_OPTIONS (1<<4) /**< Player's options menu. */
#define MENU_ASKQUIT (1<<5) /**< Really quit naev? menu. */
#define menu_isOpen(f) (menu_open & (f)) /**< Checks if a certain menu is opened. */
extern int menu_open; /**< Used internally by menu_isOpen() */
/*
* Menu opening routines.
*/
void menu_main (void);
void menu_small (void);
void menu_death (void);
void menu_options (void);
int menu_askQuit (void);
/*
* Closing.
*/
void menu_main_close (void);
/*
* Misc.
*/
void menu_main_resize (void);
#endif /* MENU_H */
Jump to Line
Something went wrong with that request. Please try again.