![]() |
DarkPlaces
Game engine based on the Quake 1 engine by id Software, developed by LadyHavoc
|
|
#include "qtypes.h"
Go to the source code of this file.
Data Structures | |
struct | video_resolution_t |
Enumerations | |
enum | m_state_e { m_none , m_main , m_demo , m_singleplayer , m_transfusion_episode , m_transfusion_skill , m_load , m_save , m_multiplayer , m_setup , m_options , m_video , m_keys , m_help , m_credits , m_quit , m_lanconfig , m_gameoptions , m_slist , m_options_effects , m_options_graphics , m_options_colorcontrol , m_reset , m_modlist } |
Functions | |
qbool | MP_ConsoleCommand (const char *text, size_t textlen) |
void | MR_Init (void) |
void | MR_Init_Commands (void) |
void | MR_Restart (void) |
Variables | |
enum m_state_e | m_state |
jmp_buf | mp_abort |
void(* | MR_Draw )(void) |
int(* | MR_GetServerListEntryCategory )(const struct serverlist_entry_s *entry) |
void(* | MR_KeyEvent )(int key, int ascii, qbool downevent) |
void(* | MR_NewMap )(void) |
void(* | MR_Shutdown )(void) |
void(* | MR_ToggleMenu )(int mode) |
video_resolution_t * | video_resolutions |
int | video_resolutions_count |
video_resolution_t | video_resolutions_hardcoded [] |
int | video_resolutions_hardcoded_count |
enum m_state_e |
Definition at line 27 of file menu.h.
qbool MP_ConsoleCommand | ( | const char * | text, |
size_t | textlen ) |
Definition at line 56 of file mvm_cmds.c.
References prvm_prog_t::funcoffsets, mp_abort, and PRVM_ConsoleCommand().
Definition at line 5543 of file menu.c.
References cls, video_resolution_t::conheight, video_resolution_t::conwidth, Cvar_SetValueQuick(), forceqmenu, height, vid_mode_t::height, viddef_mode_t::height, video_resolution_t::height, i, int(), cvar_t::integer, M_Menu_Video_FindResolution(), Mem_Alloc, menu_video_resolutions_forfullscreen, viddef_t::mode, MR_SetRouting(), n, client_static_t::permanentmempool, video_resolution_t::pixelheight, vid_mode_t::pixelheight_denom, vid_mode_t::pixelheight_num, Sys_CheckParm(), video_resolution_t::type, cvar_t::value, vid, vid_fullscreen, VID_ListModes(), vid_pixelheight, VID_SortModes(), video_resolutions, video_resolutions_count, video_resolutions_hardcoded, vid_mode_t::width, viddef_mode_t::width, video_resolution_t::width, and width.
Referenced by Host_Init(), Host_LoadConfig_f(), and MR_Restart().
Definition at line 5533 of file menu.c.
References Call_MR_ToggleMenu_f(), CF_CLIENT, Cmd_AddCommand(), Cvar_RegisterVariable(), forceqmenu, menu_options_colorcontrol_correctionvalue, menu_progs, and MR_Restart_f().
Referenced by CL_Init().
Definition at line 5512 of file menu.c.
References MR_Init(), and MR_Shutdown.
Referenced by MR_Restart_f().
|
extern |
Definition at line 36 of file menu.c.
Referenced by M_Demo_Key(), M_Draw(), M_KeyEvent(), M_Load_Key(), M_Main_Key(), M_Menu_Credits_f(), M_Menu_Demos_f(), M_Menu_GameOptions_f(), M_Menu_Help_f(), M_Menu_Keys_f(), M_Menu_LanConfig_f(), M_Menu_Load_f(), M_Menu_Main_f(), M_Menu_ModList_f(), M_Menu_MultiPlayer_f(), M_Menu_Options_ColorControl_f(), M_Menu_Options_Effects_f(), M_Menu_Options_f(), M_Menu_Options_Graphics_f(), M_Menu_Quit_f(), M_Menu_Reset_f(), M_Menu_Save_f(), M_Menu_ServerList_f(), M_Menu_Setup_f(), M_Menu_SinglePlayer_f(), M_Menu_Transfusion_Episode_f(), M_Menu_Transfusion_Skill_f(), M_Menu_Video_f(), M_Options_Key(), M_Quit_Key(), M_Reset_Key(), M_Save_Key(), M_SinglePlayer_Key(), M_ToggleMenu(), and NetConn_ConnectionEstablished().
|
extern |
Definition at line 5227 of file menu.c.
Referenced by MP_ConsoleCommand(), MP_Draw(), MP_GetServerListEntryCategory(), MP_Init(), MP_KeyEvent(), MP_NewMap(), MP_Shutdown(), MP_ToggleMenu(), and MVM_error_cmd().
Definition at line 5479 of file menu.c.
Referenced by MR_SetRouting(), and SCR_DrawScreen().
|
extern |
|
extern |
Definition at line 5478 of file menu.c.
Referenced by Key_Event(), and MR_SetRouting().
Definition at line 5482 of file menu.c.
Referenced by CL_SetupWorldModel(), and MR_SetRouting().
Definition at line 5481 of file menu.c.
Referenced by CL_Shutdown(), Host_LoadConfig_f(), MR_Restart(), and MR_SetRouting().
Definition at line 5480 of file menu.c.
Referenced by Call_MR_ToggleMenu_f(), CL_Startdemos_f(), CL_ToggleMenu_Hook(), Key_Event(), MR_SetRouting(), MVM_error_cmd(), and SCR_SetUpToDrawConsole().
|
extern |
Definition at line 2851 of file menu.c.
Referenced by M_Menu_Video_FindResolution(), MR_Init(), and VM_M_getresolution().
|
extern |
Definition at line 2852 of file menu.c.
Referenced by M_Menu_Video_FindResolution(), MR_Init(), and VM_M_getresolution().
|
extern |
Definition at line 2782 of file menu.c.
Referenced by M_Menu_Video_FindResolution(), MR_Init(), and VM_M_getresolution().
|
extern |
Definition at line 2844 of file menu.c.
Referenced by M_Menu_Video_FindResolution(), and VM_M_getresolution().