#pragma once

#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_isOpen(f) (menu_open & (f)) /**< Check if a certain menu is opened. */
extern int menu_open;

/* Menu opening routines. */
void menu_main(void);
void menu_small(void);
void menu_info(void);
void menu_death(void);

