LI2 Roguelite
Macros | Typedefs | Functions
menu.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define MENU_HEIGHT   6
 
#define MENU_BORDERS_COLOR   COLOR_BLUE
 
#define LEGEND_MENU_WIDTH   35
 
#define LEGEND_MENU_COLOR   COLOR_GREEN
 

Typedefs

typedef struct state State
 

Functions

void sendMenuMessage (State *st, char *message)
 Sends a message to the menu. More...
 
void generateMenu (State *st)
 Generates and display the menu. More...
 
void legendMenu (State *st)
 

Macro Definition Documentation

◆ LEGEND_MENU_COLOR

#define LEGEND_MENU_COLOR   COLOR_GREEN

◆ LEGEND_MENU_WIDTH

#define LEGEND_MENU_WIDTH   35

◆ MENU_BORDERS_COLOR

#define MENU_BORDERS_COLOR   COLOR_BLUE

◆ MENU_HEIGHT

#define MENU_HEIGHT   6

Typedef Documentation

◆ State

typedef struct state State

Function Documentation

◆ generateMenu()

void generateMenu ( State st)

Generates and display the menu.

Fetches the menu information from the player and generates the menu.

Returns
void

◆ legendMenu()

void legendMenu ( State st)

◆ sendMenuMessage()

void sendMenuMessage ( State st,
char *  message 
)

Sends a message to the menu.

Sends a message to the menu. The message is displayed on the bottom of the menu.