Devilution
Diablo devolved - magic behind the 1996 computer game
Functions | Variables
gmenu.cpp File Reference
#include "all.h"

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 value)
 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 steps)
 Set the number of steps for the slider. More...
 

Variables

DEVILUTION_BEGIN_NAMESPACE BYTE * optbar_cel
 
BOOLEAN mouseNavigation
 
BYTE * PentSpin_cel
 
TMenuItemsgpCurrItem
 
BYTE * BigTGold_cel
 
int PentSpin_tick
 
BYTE PentSpin_frame
 
void(* dword_63447C )(TMenuItem *)
 
TMenuItemsgpCurrentMenu
 
BYTE * option_cel
 
BYTE * sgpLogo
 
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

Implementation of the in-game navigation and interaction.

Definition in file gmenu.cpp.