Devilution
Diablo devolved - magic behind the 1996 computer game
Functions | Variables
gmenu.h File Reference

Go to the source code of this file.

Functions

void gmenu_draw_pause ()
 
void gmenu_print_text (int x, int y, char *pszStr)
 
void FreeGMenu ()
 
void gmenu_init_menu ()
 
BOOL gmenu_is_active ()
 
void gmenu_set_items (TMenuItem *pItem, void(*gmFunc)(TMenuItem *))
 
void gmenu_up_down (BOOL isDown)
 
void gmenu_draw ()
 
void gmenu_draw_menu_item (TMenuItem *pItem, int y)
 
void gmenu_clear_buffer (int x, int y, int width, int height)
 
int gmenu_get_lfont (TMenuItem *pItem)
 
BOOL gmenu_presskeys (int vkey)
 
void gmenu_left_right (BOOL isRight)
 
BOOL gmenu_on_mouse_move ()
 
BOOLEAN gmenu_get_mouse_slider (int *plOffset)
 
BOOL gmenu_left_mouse (BOOL isDown)
 
void gmenu_enable (TMenuItem *pMenuItem, BOOL enable)
 
void gmenu_slider_set (TMenuItem *pItem, int min, int max, int gamma)
 Set the TMenuItem slider position based on the given value. More...
 
int gmenu_slider_get (TMenuItem *pItem, int min, int max)
 Get the current value for the slider. More...
 
void gmenu_slider_steps (TMenuItem *pItem, int dwTicks)
 Set the number of steps for the slider. More...
 

Variables

BYTE * optbar_cel
 
BOOLEAN mouseNavigation
 
BYTE * PentSpin_cel
 
BYTE * BigTGold_cel
 
int dword_634474
 
char byte_634478
 
void(* dword_63447C )(TMenuItem *)
 
TMenuItemsgpCurrentMenu
 
BYTE * option_cel
 
int sgCurrentMenuIdx
 
const BYTE lfontframe [127]
 Maps from font index to bigtgold.cel frame number. More...
 
const BYTE lfontkern [56]
 Maps from bigtgold.cel frame number to character width. More...
 

Detailed Description

Interface of the in-game navigation and interaction.

Definition in file gmenu.h.