Odamex
Setting the Standard in Multiplayer Doom
client/src/m_menu.h File Reference

Go to the source code of this file.

Data Structures

struct  menuitem_s
struct  menu_s
struct  value_s
struct  oldmenuitem_t
struct  oldmenu_s
struct  menustack_t

Typedefs

typedef void(* cvarfunc )(cvar_t *cvar, float newval)
typedef void(* voidfunc )(void)
typedef void(* intfunc )(int)
typedef struct menuitem_s menuitem_t
typedef struct menu_s menu_t
typedef struct value_s value_t
typedef struct oldmenu_s oldmenu_t

Enumerations

enum  itemtype {
  whitetext, redtext, bricktext, more,
  slider, discrete, cdiscrete, control,
  screenres, bitflag, listelement, joyactive,
  joyaxis, nochoice
}

Functions

bool M_Responder (event_t *ev)
void M_Ticker (void)
void M_Drawer (void)
void M_Init (void)
void M_StartControlPanel (void)
bool M_StartOptionsMenu (void)
void M_OptResponder (event_t *ev)
void M_OptDrawer (void)
void M_OptInit (void)
void M_PlayerSetup (int choice)
void M_SwitchMenu (struct menu_s *menu)
void M_PopMenuStack (void)
void M_RefreshModesList ()

Variables

value_t YesNo [2]
value_t NoYes [2]
value_t OnOff [2]
value_t OffOn [2]
value_t OnOffAuto [3]
menustack_t MenuStack [16]
int MenuStackDepth
menu_tCurrentMenu
int CurrentItem
short itemOn
oldmenu_tcurrentMenu

Typedef Documentation

typedef void(* cvarfunc)(cvar_t *cvar, float newval)
typedef void(* intfunc)(int)
typedef struct menu_s menu_t
typedef struct menuitem_s menuitem_t
typedef struct oldmenu_s oldmenu_t
typedef struct value_s value_t
typedef void(* voidfunc)(void)

Enumeration Type Documentation

enum itemtype
Enumerator:
whitetext 
redtext 
bricktext 
more 
slider 
discrete 
cdiscrete 
control 
screenres 
bitflag 
listelement 
joyactive 
joyaxis 
nochoice 

Function Documentation

void M_Drawer ( void  )
void M_Init ( void  )
void M_OptDrawer ( void  )
void M_OptInit ( void  )
void M_OptResponder ( event_t ev)
void M_PlayerSetup ( int  choice)
void M_PopMenuStack ( void  )
void M_RefreshModesList ( )
bool M_Responder ( event_t ev)
void M_StartControlPanel ( void  )
bool M_StartOptionsMenu ( void  )
void M_SwitchMenu ( struct menu_s menu)
void M_Ticker ( void  )

Variable Documentation

short itemOn
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends