![]() |
DarkPlaces
Game engine based on the Quake 1 engine by id Software, developed by LadyHavoc
|
|
#include "quakedef.h"
#include "cdaudio.h"
#include "image.h"
#include "progsvm.h"
#include "mprogdefs.h"
#include "prvm_offsets.h"
Go to the source code of this file.
Data Structures | |
struct | episode_t |
struct | gameinfo_t |
struct | gamelevels_t |
struct | level_t |
struct | modlist_entry_t |
struct | nehahrademonames_t |
struct | ratetable_t |
#define EPISODE_ITEMS 6 |
Definition at line 1040 of file menu.c.
Referenced by M_Transfusion_Episode_Draw(), and M_Transfusion_Episode_Key().
#define JoiningGame (m_multiplayer_cursor == 0) |
Definition at line 111 of file menu.c.
Referenced by M_LanConfig_Draw(), and M_Menu_LanConfig_f().
#define MODLIST_MAXDIRS MAX_GAMEDIRS - 1 |
Definition at line 4530 of file menu.c.
Referenced by M_Menu_ModList_AdjustSliders(), and ModList_Enable().
#define MULTIPLAYER_ITEMS 3 |
Definition at line 1199 of file menu.c.
Referenced by M_MultiPlayer_Draw(), and M_MultiPlayer_Key().
#define NUM_GAMEOPTIONS 12 |
Definition at line 3986 of file menu.c.
Referenced by M_GameOptions_Key().
#define NUM_HELP_PAGES 6 |
Definition at line 3105 of file menu.c.
Referenced by M_Help_Key().
#define NUM_LANCONFIG_CMDS 4 |
Definition at line 3338 of file menu.c.
Referenced by M_LanConfig_Key().
#define NUM_SETUP_CMDS 5 |
Definition at line 1289 of file menu.c.
Referenced by M_Setup_Key().
#define NumberOfNehahraDemos 34 |
Definition at line 114 of file menu.c.
Referenced by M_Demo_Draw(), and M_Demo_Key().
#define NUMKEYS 5 |
Definition at line 2592 of file menu.c.
Referenced by M_Keys_Draw(), and M_Keys_Key().
#define OPTIONS_COLORCONTROL_ITEMS 18 |
Definition at line 2105 of file menu.c.
Referenced by M_Options_ColorControl_Draw(), and M_Options_ColorControl_Key().
#define OPTIONS_EFFECTS_ITEMS 35 |
Definition at line 1812 of file menu.c.
Referenced by M_Options_Effects_Draw(), and M_Options_Effects_Key().
#define OPTIONS_GRAPHICS_ITEMS 20 |
Definition at line 1975 of file menu.c.
Referenced by M_Options_Graphics_Draw(), and M_Options_Graphics_Key().
#define OPTIONS_ITEMS 27 |
Definition at line 1579 of file menu.c.
Referenced by M_Options_Draw(), and M_Options_Key().
#define PRVM_DECLARE_clientfieldedict | ( | x | ) |
#define PRVM_DECLARE_clientfieldedict | ( | x | ) |
#define PRVM_DECLARE_clientfieldfloat | ( | x | ) |
#define PRVM_DECLARE_clientfieldfloat | ( | x | ) |
#define PRVM_DECLARE_clientfieldfunction | ( | x | ) |
#define PRVM_DECLARE_clientfieldfunction | ( | x | ) |
#define PRVM_DECLARE_clientfieldstring | ( | x | ) |
#define PRVM_DECLARE_clientfieldstring | ( | x | ) |
#define PRVM_DECLARE_clientfieldvector | ( | x | ) |
#define PRVM_DECLARE_clientfieldvector | ( | x | ) |
#define PRVM_DECLARE_clientfunction | ( | x | ) |
#define PRVM_DECLARE_clientfunction | ( | x | ) |
#define PRVM_DECLARE_clientglobaledict | ( | x | ) |
#define PRVM_DECLARE_clientglobaledict | ( | x | ) |
#define PRVM_DECLARE_clientglobalfloat | ( | x | ) |
#define PRVM_DECLARE_clientglobalfloat | ( | x | ) |
#define PRVM_DECLARE_clientglobalfunction | ( | x | ) |
#define PRVM_DECLARE_clientglobalfunction | ( | x | ) |
#define PRVM_DECLARE_clientglobalstring | ( | x | ) |
#define PRVM_DECLARE_clientglobalstring | ( | x | ) |
#define PRVM_DECLARE_clientglobalvector | ( | x | ) |
#define PRVM_DECLARE_clientglobalvector | ( | x | ) |
#define PRVM_DECLARE_field | ( | x | ) |
#define PRVM_DECLARE_field | ( | x | ) |
#define PRVM_DECLARE_function | ( | x | ) |
#define PRVM_DECLARE_function | ( | x | ) |
#define PRVM_DECLARE_global | ( | x | ) |
#define PRVM_DECLARE_global | ( | x | ) |
#define PRVM_DECLARE_menufieldedict | ( | x | ) |
#define PRVM_DECLARE_menufieldedict | ( | x | ) |
#define PRVM_DECLARE_menufieldfloat | ( | x | ) |
#define PRVM_DECLARE_menufieldfloat | ( | x | ) |
#define PRVM_DECLARE_menufieldfunction | ( | x | ) |
#define PRVM_DECLARE_menufieldfunction | ( | x | ) |
#define PRVM_DECLARE_menufieldstring | ( | x | ) |
#define PRVM_DECLARE_menufieldstring | ( | x | ) |
#define PRVM_DECLARE_menufieldvector | ( | x | ) |
#define PRVM_DECLARE_menufieldvector | ( | x | ) |
#define PRVM_DECLARE_menufunction | ( | x | ) |
#define PRVM_DECLARE_menufunction | ( | x | ) |
#define PRVM_DECLARE_menuglobaledict | ( | x | ) |
#define PRVM_DECLARE_menuglobalfloat | ( | x | ) |
#define PRVM_DECLARE_menuglobalfunction | ( | x | ) |
#define PRVM_DECLARE_menuglobalfunction | ( | x | ) |
#define PRVM_DECLARE_menuglobalstring | ( | x | ) |
#define PRVM_DECLARE_menuglobalvector | ( | x | ) |
#define PRVM_DECLARE_serverfieldedict | ( | x | ) |
#define PRVM_DECLARE_serverfieldedict | ( | x | ) |
#define PRVM_DECLARE_serverfieldfloat | ( | x | ) |
#define PRVM_DECLARE_serverfieldfloat | ( | x | ) |
#define PRVM_DECLARE_serverfieldfunction | ( | x | ) |
#define PRVM_DECLARE_serverfieldfunction | ( | x | ) |
#define PRVM_DECLARE_serverfieldstring | ( | x | ) |
#define PRVM_DECLARE_serverfieldstring | ( | x | ) |
#define PRVM_DECLARE_serverfieldvector | ( | x | ) |
#define PRVM_DECLARE_serverfieldvector | ( | x | ) |
#define PRVM_DECLARE_serverfunction | ( | x | ) |
#define PRVM_DECLARE_serverfunction | ( | x | ) |
#define PRVM_DECLARE_serverglobaledict | ( | x | ) |
#define PRVM_DECLARE_serverglobaledict | ( | x | ) |
#define PRVM_DECLARE_serverglobalfloat | ( | x | ) |
#define PRVM_DECLARE_serverglobalfloat | ( | x | ) |
#define PRVM_DECLARE_serverglobalfunction | ( | x | ) |
#define PRVM_DECLARE_serverglobalfunction | ( | x | ) |
#define PRVM_DECLARE_serverglobalstring | ( | x | ) |
#define PRVM_DECLARE_serverglobalstring | ( | x | ) |
#define PRVM_DECLARE_serverglobalvector | ( | x | ) |
#define PRVM_DECLARE_serverglobalvector | ( | x | ) |
#define RATES ((int)(sizeof(setup_ratetable)/sizeof(setup_ratetable[0]))) |
Definition at line 1316 of file menu.c.
Referenced by M_Setup_Key(), and setup_rateindex().
#define SINGLEPLAYER_ITEMS 3 |
Definition at line 739 of file menu.c.
Referenced by M_SinglePlayer_Key().
#define SKILL_ITEMS 5 |
Definition at line 1098 of file menu.c.
Referenced by M_Transfusion_Skill_Draw(), and M_Transfusion_Skill_Key().
#define SLIDER_RANGE 10 |
Definition at line 1549 of file menu.c.
Referenced by M_DrawSlider().
#define StartingGame (m_multiplayer_cursor == 1) |
Definition at line 110 of file menu.c.
Referenced by M_LanConfig_Draw(), M_LanConfig_Key(), and M_Menu_LanConfig_f().
#define TYPE_BOTH 3 |
Definition at line 29 of file menu.c.
Referenced by M_Main_Draw(), M_Main_Key(), and M_Menu_Main_f().
#define TYPE_DEMO 1 |
Definition at line 27 of file menu.c.
Referenced by M_Main_Key(), and M_Menu_Main_f().
#define TYPE_GAME 2 |
Definition at line 28 of file menu.c.
Referenced by M_Main_Draw(), M_Main_Key(), and M_Menu_Main_f().
#define VIDEO_ITEMS 11 |
Definition at line 2846 of file menu.c.
Referenced by M_Video_Key().
|
static |
Definition at line 5524 of file menu.c.
References CL_StartVideo(), cmd(), Cmd_Argc(), Cmd_Argv(), and MR_ToggleMenu.
Referenced by MR_Init_Commands().
Definition at line 161 of file menu.c.
References bound, DrawQ_Fill(), height, cvar_t::integer, menu_height, menu_width, menu_x, menu_y, cvar_t::value, vid_conheight, vid_conwidth, and width.
Referenced by M_Credits_Draw(), M_Demo_Draw(), M_GameOptions_Draw(), M_Help_Draw(), M_Keys_Draw(), M_LanConfig_Draw(), M_Load_Draw(), M_Main_Draw(), M_ModList_Draw(), M_MultiPlayer_Draw(), M_Options_ColorControl_Draw(), M_Options_Draw(), M_Options_Effects_Draw(), M_Options_Graphics_Draw(), M_Quit_Draw(), M_Reset_Draw(), M_Save_Draw(), M_ServerList_Draw(), M_Setup_Draw(), M_SinglePlayer_Draw(), M_Transfusion_Episode_Draw(), M_Transfusion_Skill_Draw(), and M_Video_Draw().
Definition at line 3200 of file menu.c.
References GAME_BATTLEMECH, GAME_DEFEATINDETAIL2, GAME_GOODVSBAD2, GAME_HIPNOTIC, GAME_NEHAHRA, GAME_NORMAL, GAME_OPENQUARTZ, GAME_QUOTH, GAME_ROGUE, gamemode, m_missingdata, M_QuitMessage(), and NULL.
Referenced by M_Menu_Quit_f().
Definition at line 3163 of file menu.c.
References M_Background(), M_DrawPic(), and M_Print().
Referenced by M_Draw().
|
static |
Definition at line 3173 of file menu.c.
References cmd(), and M_Menu_Main_f().
Referenced by M_KeyEvent().
Definition at line 290 of file menu.c.
References demo_cursor, host, i, M_Background(), M_DrawCharacter(), M_Print(), NehahraDemos, NumberOfNehahraDemos, and host_static_t::realtime.
Referenced by M_Draw().
|
static |
Definition at line 312 of file menu.c.
References Cbuf_AddText(), cmd(), demo_cursor, K_DOWNARROW, K_ENTER, K_ESCAPE, K_LEFTARROW, K_RIGHTARROW, K_UPARROW, key_dest, key_game, M_Menu_Main_f(), m_none, m_state, name, NehahraDemos, NumberOfNehahraDemos, S_LocalSound(), and va().
Referenced by M_KeyEvent().
Definition at line 4780 of file menu.c.
References Draw_CachePic(), Draw_GetPicWidth(), DrawQ_Pic(), float, g, GAME_TRANSFUSION, gamemode, host, int(), cvar_t::integer, key_dest, key_menu, key_menu_grabbed, m_credits, M_Credits_Draw(), m_demo, M_Demo_Draw(), m_entersound, m_gameoptions, M_GameOptions_Draw(), m_help, M_Help_Draw(), m_keys, M_Keys_Draw(), m_lanconfig, M_LanConfig_Draw(), m_load, M_Load_Draw(), m_main, M_Main_Draw(), m_missingdata, m_modlist, M_ModList_Draw(), m_multiplayer, M_MultiPlayer_Draw(), m_none, m_options, m_options_colorcontrol, M_Options_ColorControl_Draw(), M_Options_Draw(), m_options_effects, M_Options_Effects_Draw(), m_options_graphics, M_Options_Graphics_Draw(), m_quit, M_Quit_Draw(), m_reset, M_Reset_Draw(), m_save, M_Save_Draw(), M_ServerList_Draw(), m_setup, M_Setup_Draw(), m_singleplayer, M_SinglePlayer_Draw(), m_slist, m_state, m_transfusion_episode, M_Transfusion_Episode_Draw(), m_transfusion_skill, M_Transfusion_Skill_Draw(), m_video, M_Video_Draw(), host_static_t::realtime, S_LocalSound(), va(), vid_conheight, and vid_conwidth.
Referenced by MR_SetRouting().
Definition at line 178 of file menu.c.
References DrawQ_String(), FONT_MENU, menu_x, menu_y, and NULL.
Referenced by M_Demo_Draw(), M_DrawSlider(), M_GameOptions_Draw(), M_Keys_Draw(), M_LanConfig_Draw(), M_Load_Draw(), M_Main_Draw(), M_Save_Draw(), M_Setup_Draw(), and M_Video_Draw().
Definition at line 1569 of file menu.c.
References M_Print(), x, and y.
Referenced by M_ModList_Draw(), M_Options_PrintCheckbox(), and M_Video_Draw().
Definition at line 209 of file menu.c.
References Draw_CachePic(), DrawQ_Pic(), menu_x, and menu_y.
Referenced by M_Credits_Draw(), M_DrawTextBox(), M_GameOptions_Draw(), M_Help_Draw(), M_Keys_Draw(), M_LanConfig_Draw(), M_Load_Draw(), M_Main_Draw(), M_ModList_Draw(), M_MultiPlayer_Draw(), M_Options_ColorControl_Draw(), M_Options_Draw(), M_Options_Effects_Draw(), M_Options_Graphics_Draw(), M_Save_Draw(), M_ServerList_Draw(), M_Setup_Draw(), M_SinglePlayer_Draw(), M_Transfusion_Episode_Draw(), M_Transfusion_Skill_Draw(), and M_Video_Draw().
Definition at line 1551 of file menu.c.
References bound, dpsnprintf(), fabs(), i, M_DrawCharacter(), M_Print(), SLIDER_RANGE, x, and y.
Referenced by M_Options_PrintSlider(), and M_Video_Draw().
Definition at line 214 of file menu.c.
References height, M_DrawPic(), n, width, x, and y.
Referenced by M_GameOptions_Draw(), M_LanConfig_Draw(), M_Quit_Draw(), M_Reset_Draw(), M_Setup_Draw(), and M_SinglePlayer_Draw().
Definition at line 3989 of file menu.c.
References coop, Cvar_SetQuick(), deathmatch, episode_t::description, level_t::description, Draw_CachePic(), Draw_GetPicWidth(), gamelevels_t::episodes, episode_t::firstLevel, fraglimit, GAME_BATTLEMECH, GAME_GOODVSBAD2, GAME_ROGUE, GAME_TRANSFUSION, gamemode, gameoptions_cursor, gameoptions_cursor_table, gameoptions_levels, host, hostname, cvar_t::integer, gamelevels_t::levels, M_Background(), M_DrawCharacter(), M_DrawPic(), M_DrawTextBox(), M_Print(), m_serverInfoMessage, m_serverInfoMessageTime, maxplayers, level_t::name, host_static_t::realtime, skill, startepisode, startlevel, cvar_t::string, strlen(), sv_maxrate, sv_public, teamplay, timelimit, va(), and x.
Referenced by M_Draw().
|
static |
Definition at line 4311 of file menu.c.
References server_t::active, Cbuf_AddText(), cmd(), Cvar_SetQuick(), gamelevels_t::episodes, episode_t::firstLevel, gameoptions_cursor, gameoptions_levels, hostname, int(), K_BACKSPACE, K_DOWNARROW, K_ENTER, K_ESCAPE, K_LEFTARROW, K_RIGHTARROW, K_UPARROW, gamelevels_t::levels, M_Menu_MultiPlayer_f(), M_NetStart_Change(), maxplayers, min, level_t::name, NUM_GAMEOPTIONS, S_LocalSound(), startepisode, startlevel, cvar_t::string, strlen(), sv, and va().
Referenced by M_KeyEvent().
|
static |
Definition at line 3118 of file menu.c.
References help_page, M_Background(), M_DrawPic(), and va().
Referenced by M_Draw().
|
static |
Definition at line 3126 of file menu.c.
References cmd(), help_page, K_DOWNARROW, K_ESCAPE, K_LEFTARROW, K_RIGHTARROW, K_UPARROW, m_entersound, M_Menu_Main_f(), and NUM_HELP_PAGES.
Referenced by M_KeyEvent().
Definition at line 4754 of file menu.c.
References CF_CLIENT, Cmd_AddCommand(), M_Menu_Credits_f(), M_Menu_Help_f(), M_Menu_Keys_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_Setup_f(), M_Menu_SinglePlayer_f(), M_Menu_Transfusion_Episode_f(), M_Menu_Transfusion_Skill_f(), M_Menu_Video_f(), menuplyr_load, menuplyr_pixels, and NULL.
Referenced by MR_SetRouting().
Definition at line 201 of file menu.c.
References DrawQ_String(), FONT_MENU, menu_x, menu_y, and NULL.
Referenced by M_ModList_Draw(), M_Options_PrintCheckbox(), M_Options_PrintCommand(), M_Options_PrintSlider(), and M_Video_Draw().
Definition at line 4927 of file menu.c.
References cmd(), cmd_local, m_credits, M_Credits_Key(), m_demo, M_Demo_Key(), m_gameoptions, M_GameOptions_Key(), m_help, M_Help_Key(), m_keys, M_Keys_Key(), m_lanconfig, M_LanConfig_Key(), m_load, M_Load_Key(), m_main, M_Main_Key(), m_modlist, M_ModList_Key(), m_multiplayer, M_MultiPlayer_Key(), m_none, m_options, m_options_colorcontrol, M_Options_ColorControl_Key(), m_options_effects, M_Options_Effects_Key(), m_options_graphics, M_Options_Graphics_Key(), M_Options_Key(), m_quit, M_Quit_Key(), m_reset, M_Reset_Key(), m_save, M_Save_Key(), M_ServerList_Key(), m_setup, M_Setup_Key(), m_singleplayer, M_SinglePlayer_Key(), m_slist, m_state, m_transfusion_episode, M_Transfusion_Episode_Key(), m_transfusion_skill, M_Transfusion_Skill_Key(), m_video, and M_Video_Key().
Referenced by MR_SetRouting().
Definition at line 2610 of file menu.c.
References bind_grab, bindnames, dp_strlcat, dp_strlcpy, Draw_CachePic(), Draw_GetPicWidth(), host, i, Key_FindKeysForCommand(), Key_KeynumToString(), keys_cursor, M_Background(), M_DrawCharacter(), M_DrawPic(), M_Print(), M_PrintRed(), MAX_INPUTLINE, numcommands, NUMKEYS, host_static_t::realtime, TINYSTR_LEN, and y.
Referenced by M_Draw().
|
static |
Definition at line 2672 of file menu.c.
References bind_grab, bindnames, Cbuf_InsertText(), cmd(), dpsnprintf(), K_BACKSPACE, K_DEL, K_DOWNARROW, K_ENTER, K_ESCAPE, K_LEFTARROW, K_RIGHTARROW, K_UPARROW, Key_FindKeysForCommand(), Key_KeynumToString(), keys_cursor, M_Menu_Options_f(), M_UnbindCommand(), numcommands, NUMKEYS, S_LocalSound(), and TINYSTR_LEN.
Referenced by M_KeyEvent().
Definition at line 3363 of file menu.c.
References cl_connect_status, Draw_CachePic(), Draw_GetPicWidth(), host, JoiningGame, lanConfig_cursor, lanConfig_cursor_table, lanConfig_joinname, lanConfig_portname, M_Background(), M_DrawCharacter(), M_DrawPic(), M_DrawTextBox(), M_Print(), host_static_t::realtime, StartingGame, strlen(), and va().
Referenced by M_Draw().
|
static |
Definition at line 3417 of file menu.c.
References Cbuf_AddText(), cmd(), Cvar_SetValueQuick(), dpsnprintf(), int(), K_BACKSPACE, K_DOWNARROW, K_ENTER, K_ESCAPE, K_UPARROW, lanConfig_cursor, lanConfig_joinname, lanConfig_port, lanConfig_portname, m_entersound, M_Menu_GameOptions_f(), M_Menu_MultiPlayer_f(), M_Menu_ServerList_f(), NUM_LANCONFIG_CMDS, S_LocalSound(), StartingGame, strlen(), sv_netport, and va().
Referenced by M_KeyEvent().
Definition at line 922 of file menu.c.
References Draw_CachePic(), Draw_GetPicWidth(), host, i, load_cursor, M_Background(), M_DrawCharacter(), M_DrawPic(), m_filenames, M_Print(), MAX_SAVEGAMES, and host_static_t::realtime.
Referenced by M_Draw().
|
static |
Definition at line 958 of file menu.c.
References Cbuf_AddText(), cmd(), GAME_TRANSFUSION, gamemode, K_DOWNARROW, K_ENTER, K_ESCAPE, K_LEFTARROW, K_RIGHTARROW, K_UPARROW, key_dest, key_game, load_cursor, loadable, M_Menu_Main_f(), M_Menu_SinglePlayer_f(), m_none, m_state, MAX_SAVEGAMES, S_LocalSound(), and va().
Referenced by M_KeyEvent().
Definition at line 425 of file menu.c.
References Draw_CachePic(), Draw_GetPicWidth(), f, GAME_NEHAHRA, GAME_TRANSFUSION, gamemode, host, int(), M_Background(), M_DrawCharacter(), M_DrawPic(), m_main_cursor, m_missingdata, M_Print(), M_PrintRed(), MAIN_ITEMS, mp_failed, NehGameType, host_static_t::realtime, strlen(), TYPE_BOTH, TYPE_GAME, va(), y, and y2.
Referenced by M_Draw().
|
static |
Definition at line 502 of file menu.c.
References server_t::active, ca_connected, Cbuf_AddText(), cls, cmd(), Con_ToggleConsole_f(), GAME_NEHAHRA, GAME_TRANSFUSION, gamemode, K_DOWNARROW, K_ENTER, K_ESCAPE, K_UPARROW, key_dest, key_game, m_entersound, m_main_cursor, M_Menu_Credits_f(), M_Menu_Demos_f(), M_Menu_Help_f(), M_Menu_Load_f(), M_Menu_MultiPlayer_f(), M_Menu_Options_f(), M_Menu_Quit_f(), M_Menu_Save_f(), M_Menu_SinglePlayer_f(), M_Menu_Transfusion_Episode_f(), m_missingdata, m_none, m_state, MAIN_ITEMS, NehGameType, S_LocalSound(), client_static_t::state, sv, TYPE_BOTH, TYPE_DEMO, and TYPE_GAME.
Referenced by M_KeyEvent().
void M_Menu_Credits_f | ( | cmd_state_t * | cmd | ) |
Definition at line 3154 of file menu.c.
References key_dest, key_menu, m_credits, m_entersound, and m_state.
Referenced by M_Init(), and M_Main_Key().
|
static |
Definition at line 304 of file menu.c.
References key_dest, key_menu, m_demo, m_entersound, and m_state.
Referenced by M_Main_Key().
void M_Menu_GameOptions_f | ( | cmd_state_t * | cmd | ) |
Definition at line 3967 of file menu.c.
References gamelist, gamemode, gameoptions_levels, i, int(), cvar_t::integer, key_dest, key_menu, m_entersound, m_gameoptions, m_state, MAX_SCOREBOARD, server_static_t::maxclients, maxplayers, min, gameinfo_t::notregistered, gameinfo_t::registered, registered, and svs.
Referenced by M_LanConfig_Key().
void M_Menu_Help_f | ( | cmd_state_t * | cmd | ) |
void M_Menu_Keys_f | ( | cmd_state_t * | cmd | ) |
Definition at line 2558 of file menu.c.
References bindnames, GAME_GOODVSBAD2, GAME_TRANSFUSION, gamemode, goodvsbad2bindnames, key_dest, key_menu_grabbed, keys_cursor, m_entersound, m_keys, m_state, numcommands, quakebindnames, Sys_Error(), and transfusionbindnames.
Referenced by M_Init(), and M_Options_Key().
void M_Menu_LanConfig_f | ( | cmd_state_t * | cmd | ) |
Definition at line 3344 of file menu.c.
References cl_connect_status, dpsnprintf(), JoiningGame, key_dest, key_menu, lanConfig_cursor, lanConfig_port, lanConfig_portname, m_entersound, m_lanconfig, m_state, and StartingGame.
Referenced by M_MultiPlayer_Key(), and M_ServerList_Key().
void M_Menu_Load_f | ( | cmd_state_t * | cmd | ) |
Definition at line 892 of file menu.c.
References key_dest, key_menu, m_entersound, m_load, M_ScanSaves(), and m_state.
Referenced by M_Init(), M_Main_Key(), and M_SinglePlayer_Key().
void M_Menu_Main_f | ( | cmd_state_t * | cmd | ) |
Definition at line 355 of file menu.c.
References server_t::active, CACHEPICFLAG_FAILONMISSING, cl, Con_DPrint(), Draw_CachePic_Flags(), Draw_IsPicLoaded(), forceqmenu, FS_FileExists(), GAME_NEHAHRA, GAME_TRANSFUSION, gamemode, cvar_t::integer, client_state_t::intermission, client_state_t::islocalgame, key_dest, key_menu, m_entersound, m_main, m_missingdata, m_state, MAIN_ITEMS, NehGameType, sv, TYPE_BOTH, TYPE_DEMO, and TYPE_GAME.
Referenced by M_Credits_Key(), M_Demo_Key(), M_Help_Key(), M_Init(), M_Load_Key(), M_MultiPlayer_Key(), M_Options_Key(), M_Save_Key(), M_SinglePlayer_Key(), M_ToggleMenu(), and M_Transfusion_Episode_Key().
Definition at line 4636 of file menu.c.
References modlist_entry_t::loaded, modlist, modlist_cursor, MODLIST_MAXDIRS, modlist_numenabled, and S_LocalSound().
Referenced by M_ModList_Key().
void M_Menu_ModList_f | ( | cmd_state_t * | cmd | ) |
Definition at line 4626 of file menu.c.
References cl_connect_status, key_dest, key_menu, m_entersound, m_modlist, m_state, modlist_cursor, and ModList_RebuildList().
Referenced by M_Init(), and M_Options_Key().
void M_Menu_MultiPlayer_f | ( | cmd_state_t * | cmd | ) |
Definition at line 1202 of file menu.c.
References key_dest, key_menu, m_entersound, m_multiplayer, and m_state.
Referenced by M_GameOptions_Key(), M_Init(), M_LanConfig_Key(), M_Main_Key(), and M_Setup_Key().
Definition at line 1597 of file menu.c.
References bgmvolume, bound, cl_backspeed, cl_forwardspeed, cl_showdate, cl_showfps, cl_showtime, crosshair, Cvar_SetValueQuick(), dir, f, cvar_t::integer, m_pitch, options_cursor, r_hdr_scenebrightness, S_LocalSound(), scr_fov, sensitivity, v_contrast, v_gamma, cvar_t::value, and volume.
Referenced by M_Options_Key().
Definition at line 2120 of file menu.c.
References bound, Cvar_SetValueQuick(), dir, f, cvar_t::integer, options_colorcontrol_cursor, S_LocalSound(), v_brightness, v_color_black_b, v_color_black_g, v_color_black_r, v_color_enable, v_color_grey_b, v_color_grey_g, v_color_grey_r, v_color_white_b, v_color_white_g, v_color_white_r, v_contrast, v_gamma, and cvar_t::value.
Referenced by M_Options_ColorControl_Key().
void M_Menu_Options_ColorControl_f | ( | cmd_state_t * | cmd | ) |
Definition at line 2112 of file menu.c.
References key_dest, key_menu, m_entersound, m_options_colorcontrol, and m_state.
Referenced by M_Init(), and M_Options_Key().
Definition at line 1841 of file menu.c.
References bound, cl_beams_instantaimhack, cl_beams_lightatend, cl_beams_polygons, cl_beams_quakepositionhack, cl_decals, cl_particles, cl_particles_blood, cl_particles_blood_alpha, cl_particles_blood_bloodhack, cl_particles_bubbles, cl_particles_bulletimpacts, cl_particles_explosions_shell, cl_particles_quake, cl_particles_quality, cl_particles_smoke, cl_particles_sparks, cl_stainmaps, cl_stainmaps_clearonload, Cvar_SetValueQuick(), dir, gl_polyblend, cvar_t::integer, options_effects_cursor, r_explosionclip, r_lerplightstyles, r_lerpmodels, r_lerpsprites, r_lightningbeam_color_blue, r_lightningbeam_color_green, r_lightningbeam_color_red, r_lightningbeam_qmbtexture, r_lightningbeam_repeatdistance, r_lightningbeam_scroll, r_lightningbeam_thickness, r_skyscroll1, r_skyscroll2, r_wateralpha, r_waterscroll, r_waterwarp, S_LocalSound(), and cvar_t::value.
Referenced by M_Options_Effects_Key().
void M_Menu_Options_Effects_f | ( | cmd_state_t * | cmd | ) |
Definition at line 1816 of file menu.c.
References key_dest, key_menu, m_entersound, m_options_effects, and m_state.
Referenced by M_Init(), and M_Options_Key().
void M_Menu_Options_f | ( | cmd_state_t * | cmd | ) |
Definition at line 1584 of file menu.c.
References key_dest, key_menu, m_entersound, m_options, and m_state.
Referenced by M_Init(), M_Keys_Key(), M_Main_Key(), M_ModList_Key(), M_Options_ColorControl_Key(), M_Options_Effects_Key(), M_Options_Graphics_Key(), and M_Video_Key().
|
static |
Definition at line 2003 of file menu.c.
References bound, Cbuf_AddText(), cmd(), Cvar_SetValueQuick(), dir, gl_flashblend, cvar_t::integer, options_graphics_cursor, r_bloom, r_bloom_blur, r_bloom_brighten, r_bloom_colorexponent, r_bloom_colorscale, r_bloom_colorsubtract, r_bloom_resolution, r_coronas, r_hdr_glowintensity, r_hdr_scenebrightness, r_shadow_gloss, r_shadow_realtime_dlight, r_shadow_realtime_dlight_shadows, r_shadow_realtime_world, r_shadow_realtime_world_lightmaps, r_shadow_realtime_world_shadows, S_LocalSound(), and cvar_t::value.
Referenced by M_Options_Graphics_Key().
void M_Menu_Options_Graphics_f | ( | cmd_state_t * | cmd | ) |
Definition at line 1979 of file menu.c.
References key_dest, key_menu, m_entersound, m_options_graphics, and m_state.
Referenced by M_Init(), and M_Options_Key().
void M_Menu_Quit_f | ( | cmd_state_t * | cmd | ) |
Definition at line 3264 of file menu.c.
References key_dest, key_menu, key_menu_grabbed, M_ChooseQuitMessage(), m_entersound, m_quit, m_quit_prevstate, m_state, n, and wasInMenus.
Referenced by M_Init(), and M_Main_Key().
void M_Menu_Reset_f | ( | cmd_state_t * | cmd | ) |
Definition at line 2741 of file menu.c.
References key_dest, key_menu, m_entersound, m_reset, and m_state.
Referenced by M_Init(), and M_Options_Key().
void M_Menu_Save_f | ( | cmd_state_t * | cmd | ) |
Definition at line 901 of file menu.c.
References server_t::active, cl, client_state_t::intermission, client_state_t::islocalgame, key_dest, key_menu, m_entersound, m_save, M_ScanSaves(), m_state, and sv.
Referenced by M_Init(), M_Main_Key(), and M_SinglePlayer_Key().
void M_Menu_ServerList_f | ( | cmd_state_t * | cmd | ) |
Definition at line 4403 of file menu.c.
References cl_connect_status, cmd(), key_dest, key_menu, lanConfig_cursor, m_entersound, m_slist, m_state, and slist_cursor.
Referenced by M_LanConfig_Key().
void M_Menu_Setup_f | ( | cmd_state_t * | cmd | ) |
Definition at line 1294 of file menu.c.
References cl_bottomcolor, cl_name, cl_rate, cl_topcolor, dp_strlcpy, cvar_t::integer, key_dest, key_menu, m_entersound, m_setup, m_state, setup_bottom, setup_myname, setup_oldbottom, setup_oldtop, setup_rate, setup_top, and cvar_t::string.
Referenced by M_Init(), and M_MultiPlayer_Key().
void M_Menu_SinglePlayer_f | ( | cmd_state_t * | cmd | ) |
Definition at line 742 of file menu.c.
References key_dest, key_menu, m_entersound, m_singleplayer, and m_state.
Referenced by M_Init(), M_Load_Key(), M_Main_Key(), and M_Save_Key().
void M_Menu_Transfusion_Episode_f | ( | cmd_state_t * | cmd | ) |
Definition at line 1042 of file menu.c.
References key_dest, key_menu, m_entersound, m_state, and m_transfusion_episode.
Referenced by M_Init(), M_Main_Key(), M_SinglePlayer_Key(), and M_Transfusion_Skill_Key().
void M_Menu_Transfusion_Skill_f | ( | cmd_state_t * | cmd | ) |
Definition at line 1100 of file menu.c.
References key_dest, key_menu, m_entersound, m_state, and m_transfusion_skill.
Referenced by M_Init(), and M_Transfusion_Episode_Key().
Definition at line 2999 of file menu.c.
References bound, Cvar_SetValueQuick(), dir, gl_picmip, gl_texture_anisotropy, gl_texturecompression, video_resolution_t::height, cvar_t::integer, viddef_t::max_anisotropy, menu_video_resolution, menu_video_resolutions, menu_video_resolutions_count, r, S_LocalSound(), cvar_t::value, vid, vid_desktopfullscreen, vid_display, vid_fullscreen, vid_info_displaycount, vid_minheight, vid_minwidth, vid_refreshrate, vid_samples, vid_vsync, video_cursor, and width.
Referenced by M_Video_Key().
void M_Menu_Video_f | ( | cmd_state_t * | cmd | ) |
Definition at line 2906 of file menu.c.
References viddef_mode_t::height, key_dest, key_menu, m_entersound, M_Menu_Video_FindResolution(), m_state, m_video, viddef_t::mode, cvar_t::value, vid, vid_pixelheight, and viddef_mode_t::width.
Referenced by M_Init(), and M_Options_Key().
Definition at line 2858 of file menu.c.
References a, fabs(), height, i, menu_video_resolution, menu_video_resolutions, menu_video_resolutions_count, menu_video_resolutions_forfullscreen, video_resolutions, video_resolutions_count, video_resolutions_hardcoded, video_resolutions_hardcoded_count, w, and width.
Referenced by M_Menu_Video_f(), M_Video_Draw(), and MR_Init().
Definition at line 4647 of file menu.c.
References bound, cl_connect_status, dir, modlist_entry_t::dir, Draw_CachePic(), Draw_GetPicWidth(), DrawQ_Pic(), GAME_TRANSFUSION, gamemode, host, int(), cvar_t::integer, M_Background(), M_DrawCheckbox(), M_DrawPic(), M_ItemPrint(), M_PI, M_Print(), M_PrintRed(), menu_height, menu_x, menu_y, min, modlist, modlist_count, modlist_cursor, modlist_numenabled, n, modlist_entry_t::name, name, NULL, host_static_t::realtime, sin(), vid_conheight, and y.
Referenced by M_Draw().
|
static |
Definition at line 4699 of file menu.c.
References cmd(), K_DOWNARROW, K_ENTER, K_ESCAPE, K_LEFTARROW, K_RIGHTARROW, K_SPACE, K_UPARROW, M_Menu_ModList_AdjustSliders(), M_Menu_Options_f(), modlist_count, modlist_cursor, ModList_Enable(), ModList_RebuildList(), and S_LocalSound().
Referenced by M_KeyEvent().
Definition at line 1210 of file menu.c.
References Draw_CachePic(), Draw_GetPicWidth(), f, GAME_TRANSFUSION, gamemode, host, int(), M_Background(), M_DrawPic(), m_multiplayer_cursor, MULTIPLAYER_ITEMS, host_static_t::realtime, and va().
Referenced by M_Draw().
|
static |
Definition at line 1239 of file menu.c.
References cmd(), K_DOWNARROW, K_ENTER, K_ESCAPE, K_UPARROW, m_entersound, M_Menu_LanConfig_f(), M_Menu_Main_f(), M_Menu_Setup_f(), m_multiplayer_cursor, MULTIPLAYER_ITEMS, and S_LocalSound().
Referenced by M_KeyEvent().
Definition at line 4151 of file menu.c.
References coop, count, Cvar_SetValueQuick(), deathmatch, dir, gamelevels_t::episodes, fraglimit, GAME_BATTLEMECH, GAME_GOODVSBAD2, GAME_ROGUE, GAME_TRANSFUSION, gamemode, gameoptions_cursor, gameoptions_levels, host, cvar_t::integer, episode_t::levels, m_serverInfoMessage, m_serverInfoMessageTime, MAX_SCOREBOARD, maxplayers, NET_MINRATE, gamelevels_t::numepisodes, host_static_t::realtime, skill, startepisode, startlevel, sv_maxrate, sv_public, teamplay, timelimit, and cvar_t::value.
Referenced by M_GameOptions_Key().
Definition at line 2217 of file menu.c.
References bound, CACHEPICFLAG_NOCLAMP, Draw_CachePic(), Draw_CachePic_Flags(), Draw_GetPicWidth(), DrawQ_Fill(), DrawQ_SuperPic(), float, viddef_mode_t::height, int(), cvar_t::integer, M_Background(), M_DrawPic(), m_optcursor, M_Options_PrintCheckbox(), M_Options_PrintCommand(), M_Options_PrintSlider(), m_optnum, m_opty, max, menu_height, menu_options_colorcontrol_correctionvalue, menu_x, menu_y, viddef_t::mode, NULL, options_colorcontrol_cursor, OPTIONS_COLORCONTROL_ITEMS, v, v_brightness, v_color_black_b, v_color_black_g, v_color_black_r, v_color_enable, v_color_grey_b, v_color_grey_g, v_color_grey_r, v_color_white_b, v_color_white_g, v_color_white_r, v_contrast, v_gamma, cvar_t::value, vid, VID_ApplyGammaToColor(), vid_conheight, vid_conwidth, viddef_mode_t::width, and x.
Referenced by M_Draw().
|
static |
Definition at line 2296 of file menu.c.
References cmd(), Cvar_SetValueQuick(), K_DOWNARROW, K_ENTER, K_ESCAPE, K_LEFTARROW, K_RIGHTARROW, K_UPARROW, m_entersound, M_Menu_Options_ColorControl_AdjustSliders(), M_Menu_Options_f(), options_colorcontrol_cursor, OPTIONS_COLORCONTROL_ITEMS, S_LocalSound(), v_brightness, v_color_black_b, v_color_black_g, v_color_black_r, v_color_enable, v_color_grey_b, v_color_grey_g, v_color_grey_r, v_color_white_b, v_color_white_g, v_color_white_r, v_contrast, and v_gamma.
Referenced by M_KeyEvent().
Definition at line 1677 of file menu.c.
References bgmvolume, bound, cdaudioinitialized, cl_forwardspeed, cl_showdate, cl_showfps, cl_showtime, crosshair, Draw_CachePic(), Draw_GetPicWidth(), int(), cvar_t::integer, M_Background(), M_DrawPic(), m_optcursor, M_Options_PrintCheckbox(), M_Options_PrintCommand(), M_Options_PrintSlider(), m_optnum, m_opty, m_pitch, max, menu_height, options_cursor, OPTIONS_ITEMS, r_hdr_scenebrightness, scr_fov, sensitivity, snd_initialized, v_contrast, v_gamma, cvar_t::value, vid_conheight, and volume.
Referenced by M_Draw().
Definition at line 1884 of file menu.c.
References bound, cl_beams_instantaimhack, cl_beams_lightatend, cl_beams_polygons, cl_beams_quakepositionhack, cl_decals, cl_particles, cl_particles_blood, cl_particles_blood_alpha, cl_particles_blood_bloodhack, cl_particles_bubbles, cl_particles_bulletimpacts, cl_particles_explosions_shell, cl_particles_quake, cl_particles_quality, cl_particles_smoke, cl_particles_sparks, cl_stainmaps, cl_stainmaps_clearonload, Draw_CachePic(), Draw_GetPicWidth(), gl_polyblend, int(), cvar_t::integer, M_Background(), M_DrawPic(), m_optcursor, M_Options_PrintCheckbox(), M_Options_PrintSlider(), m_optnum, m_opty, max, menu_height, options_effects_cursor, OPTIONS_EFFECTS_ITEMS, r_explosionclip, r_lerplightstyles, r_lerpmodels, r_lerpsprites, r_lightningbeam_color_blue, r_lightningbeam_color_green, r_lightningbeam_color_red, r_lightningbeam_qmbtexture, r_lightningbeam_repeatdistance, r_lightningbeam_scroll, r_lightningbeam_thickness, r_skyscroll1, r_skyscroll2, r_wateralpha, r_waterscroll, r_waterwarp, cvar_t::value, and vid_conheight.
Referenced by M_Draw().
|
static |
Definition at line 1938 of file menu.c.
References cmd(), K_DOWNARROW, K_ENTER, K_ESCAPE, K_LEFTARROW, K_RIGHTARROW, K_UPARROW, M_Menu_Options_Effects_AdjustSliders(), M_Menu_Options_f(), options_effects_cursor, OPTIONS_EFFECTS_ITEMS, and S_LocalSound().
Referenced by M_KeyEvent().
Definition at line 2031 of file menu.c.
References bound, Draw_CachePic(), Draw_GetPicWidth(), gl_flashblend, int(), cvar_t::integer, M_Background(), M_DrawPic(), m_optcursor, M_Options_PrintCheckbox(), M_Options_PrintCommand(), M_Options_PrintSlider(), m_optnum, m_opty, max, menu_height, options_graphics_cursor, OPTIONS_GRAPHICS_ITEMS, r_bloom, r_bloom_blur, r_bloom_brighten, r_bloom_colorexponent, r_bloom_colorscale, r_bloom_colorsubtract, r_bloom_resolution, r_coronas, r_hdr_glowintensity, r_hdr_scenebrightness, r_shadow_gloss, r_shadow_realtime_dlight, r_shadow_realtime_dlight_shadows, r_shadow_realtime_world, r_shadow_realtime_world_lightmaps, r_shadow_realtime_world_shadows, cvar_t::value, and vid_conheight.
Referenced by M_Draw().
|
static |
Definition at line 2068 of file menu.c.
References cmd(), K_DOWNARROW, K_ENTER, K_ESCAPE, K_LEFTARROW, K_RIGHTARROW, K_UPARROW, M_Menu_Options_f(), M_Menu_Options_Graphics_AdjustSliders(), options_graphics_cursor, OPTIONS_GRAPHICS_ITEMS, and S_LocalSound().
Referenced by M_KeyEvent().
|
static |
Definition at line 1723 of file menu.c.
References Cbuf_AddText(), cmd(), Con_ToggleConsole_f(), K_DOWNARROW, K_ENTER, K_ESCAPE, K_LEFTARROW, K_RIGHTARROW, K_UPARROW, key_dest, key_game, m_entersound, M_Menu_Keys_f(), M_Menu_Main_f(), M_Menu_ModList_f(), M_Menu_Options_AdjustSliders(), M_Menu_Options_ColorControl_f(), M_Menu_Options_Effects_f(), M_Menu_Options_Graphics_f(), M_Menu_Reset_f(), M_Menu_Video_f(), m_none, m_state, options_cursor, OPTIONS_ITEMS, and S_LocalSound().
Referenced by M_KeyEvent().
Definition at line 1651 of file menu.c.
References DrawQ_Fill(), enabled, host, M_DrawCheckbox(), M_ItemPrint(), m_optcursor, m_optnum, m_opty, M_PI, menu_x, menu_y, host_static_t::realtime, sin(), and strlen().
Referenced by M_Options_ColorControl_Draw(), M_Options_Draw(), M_Options_Effects_Draw(), and M_Options_Graphics_Draw().
Definition at line 1639 of file menu.c.
References DrawQ_Fill(), enabled, host, M_ItemPrint(), m_optcursor, m_optnum, m_opty, M_PI, menu_x, menu_y, host_static_t::realtime, and sin().
Referenced by M_Options_ColorControl_Draw(), M_Options_Draw(), and M_Options_Graphics_Draw().
|
static |
Definition at line 1664 of file menu.c.
References DrawQ_Fill(), enabled, host, M_DrawSlider(), M_ItemPrint(), m_optcursor, m_optnum, m_opty, M_PI, menu_x, menu_y, host_static_t::realtime, sin(), strlen(), and value.
Referenced by M_Options_ColorControl_Draw(), M_Options_Draw(), M_Options_Effects_Draw(), and M_Options_Graphics_Draw().
Definition at line 191 of file menu.c.
References DrawQ_String(), FONT_MENU, menu_x, menu_y, and NULL.
Referenced by M_Credits_Draw(), M_Demo_Draw(), M_DrawCheckbox(), M_DrawSlider(), M_GameOptions_Draw(), M_Keys_Draw(), M_LanConfig_Draw(), M_Load_Draw(), M_Main_Draw(), M_ModList_Draw(), M_Quit_Draw(), M_Reset_Draw(), M_Save_Draw(), M_ServerList_Draw(), M_Setup_Draw(), M_SinglePlayer_Draw(), and M_Video_Draw().
Definition at line 186 of file menu.c.
References DrawQ_String(), FONT_MENU, menu_x, menu_y, and NULL.
Referenced by M_ServerList_Draw(), and M_Setup_Draw().
Definition at line 196 of file menu.c.
References DrawQ_String(), FONT_MENU, menu_x, menu_y, and NULL.
Referenced by M_Keys_Draw(), M_Main_Draw(), M_ModList_Draw(), and M_ServerList_Draw().
Definition at line 3310 of file menu.c.
References i, M_Background(), M_DrawTextBox(), m_missingdata, M_Print(), m_quit_message, and strlen().
Referenced by M_Draw().
|
static |
Definition at line 3281 of file menu.c.
References host, host_shutdown, K_ESCAPE, key_dest, key_game, m_entersound, m_none, m_quit_prevstate, m_state, host_static_t::state, and wasInMenus.
Referenced by M_KeyEvent().
|
static |
Definition at line 3186 of file menu.c.
References m_quit_message, and NULL.
Referenced by M_ChooseQuitMessage().
Definition at line 2770 of file menu.c.
References M_Background(), M_DrawTextBox(), and M_Print().
Referenced by M_Draw().
|
static |
Definition at line 2749 of file menu.c.
References Cbuf_AddText(), cmd(), K_ESCAPE, m_entersound, m_options, and m_state.
Referenced by M_KeyEvent().
Definition at line 940 of file menu.c.
References Draw_CachePic(), Draw_GetPicWidth(), host, i, load_cursor, M_Background(), M_DrawCharacter(), M_DrawPic(), m_filenames, M_Print(), MAX_SAVEGAMES, and host_static_t::realtime.
Referenced by M_Draw().
|
static |
Definition at line 1000 of file menu.c.
References Cbuf_AddText(), cmd(), GAME_TRANSFUSION, gamemode, K_DOWNARROW, K_ENTER, K_ESCAPE, K_LEFTARROW, K_RIGHTARROW, K_UPARROW, key_dest, key_game, load_cursor, M_Menu_Main_f(), M_Menu_SinglePlayer_f(), m_none, m_state, MAX_SAVEGAMES, S_LocalSound(), and va().
Referenced by M_KeyEvent().
Definition at line 853 of file menu.c.
References buf, COM_ParseToken_Simple(), com_token, dp_strlcpy, dpsnprintf(), f, FS_Close(), FS_OpenRealFile(), FS_Read(), i, loadable, m_filenames, MAX_OSPATH, MAX_SAVEGAMES, min, name, and SAVEGAME_COMMENT_LENGTH.
Referenced by M_Menu_Load_f(), and M_Menu_Save_f().
Definition at line 4417 of file menu.c.
References cl_connect_status, Draw_CachePic(), Draw_GetPicWidth(), DrawQ_Fill(), GAME_TRANSFUSION, gamemode, host, cvar_t::integer, M_Background(), M_DrawPic(), M_PI, M_Print(), M_PrintColored(), M_PrintRed(), masterquerycount, masterquerytime, masterreplycount, menu_height, menu_x, menu_y, min, n, host_static_t::realtime, serverquerycount, serverreplycount, sin(), slist_cursor, slist_visible, strlen(), va(), vid_conheight, and y.
Referenced by M_Draw().
|
static |
Definition at line 4469 of file menu.c.
References Cbuf_AddText(), cmd(), K_DOWNARROW, K_END, K_ENTER, K_ESCAPE, K_HOME, K_LEFTARROW, K_PGDN, K_PGUP, K_RIGHTARROW, K_SPACE, K_UPARROW, lanConfig_cursor, M_Menu_LanConfig_f(), S_LocalSound(), slist_cursor, slist_visible, and va().
Referenced by M_KeyEvent().
Definition at line 1342 of file menu.c.
References BOTTOM_RANGE, cls, Draw_CachePic(), Draw_GetPicWidth(), Draw_NewPic(), f, FS_LoadFile(), GAME_GOODVSBAD2, gamemode, height, host, i, M_Background(), M_DrawCharacter(), M_DrawPic(), M_DrawTextBox(), M_Print(), M_PrintColored(), Mem_Alloc, Mem_Free, menuplyr_bottom, menuplyr_height, menuplyr_load, menuplyr_pixels, menuplyr_top, menuplyr_translated, menuplyr_width, name, palette_bgra_transparent, client_static_t::permanentmempool, host_static_t::realtime, setup_bottom, setup_cursor, setup_cursor_table, setup_myname, setup_rate, setup_rateindex(), setup_ratetable, setup_top, strlen(), tempmempool, TEXF_CLAMP, TEXTYPE_BGRA, TOP_RANGE, va(), and width.
Referenced by M_Draw().
|
static |
Definition at line 1436 of file menu.c.
References Cbuf_AddText(), cl_name, cmd(), forward, int(), K_BACKSPACE, K_DOWNARROW, K_ENTER, K_ESCAPE, K_LEFTARROW, K_RIGHTARROW, K_UPARROW, m_entersound, M_Menu_MultiPlayer_f(), NUM_SETUP_CMDS, ratetable_t::rate, RATES, S_LocalSound(), setup_bottom, setup_cursor, setup_myname, setup_oldbottom, setup_oldrate, setup_oldtop, setup_rate, setup_rateindex(), setup_ratetable, setup_top, cvar_t::string, strlen(), and va().
Referenced by M_KeyEvent().
Definition at line 750 of file menu.c.
References Draw_CachePic(), Draw_GetPicWidth(), f, GAME_BATTLEMECH, GAME_GOODVSBAD2, gamemode, host, int(), M_Background(), M_DrawPic(), M_DrawTextBox(), M_Print(), m_singleplayer_cursor, host_static_t::realtime, and va().
Referenced by M_Draw().
|
static |
Definition at line 786 of file menu.c.
References server_t::active, Cbuf_AddText(), cmd(), GAME_BATTLEMECH, GAME_GOODVSBAD2, GAME_TRANSFUSION, gamemode, K_DOWNARROW, K_ENTER, K_ESCAPE, K_UPARROW, key_dest, key_game, key_menu, m_entersound, m_main, M_Menu_Load_f(), M_Menu_Main_f(), M_Menu_Save_f(), M_Menu_Transfusion_Episode_f(), m_singleplayer_cursor, m_state, S_LocalSound(), SINGLEPLAYER_ITEMS, and sv.
Referenced by M_KeyEvent().
Definition at line 269 of file menu.c.
References cmd_local, key_dest, key_game, key_menu, key_menu_grabbed, m_entersound, m_main, M_Menu_Main_f(), m_none, m_state, and mode.
Referenced by MR_SetRouting().
Definition at line 1049 of file menu.c.
References Draw_CachePic(), Draw_GetPicWidth(), EPISODE_ITEMS, M_Background(), M_DrawPic(), m_episode_cursor, va(), and y.
Referenced by M_Draw().
|
static |
Definition at line 1065 of file menu.c.
References Cbuf_AddText(), cmd(), EPISODE_ITEMS, K_DOWNARROW, K_ENTER, K_ESCAPE, K_UPARROW, m_entersound, m_episode_cursor, M_Menu_Main_f(), M_Menu_Transfusion_Skill_f(), and S_LocalSound().
Referenced by M_KeyEvent().
Definition at line 1107 of file menu.c.
References Draw_CachePic(), Draw_GetPicWidth(), M_Background(), M_DrawPic(), m_skill_cursor, SKILL_ITEMS, va(), and y.
Referenced by M_Draw().
|
static |
Definition at line 1124 of file menu.c.
References server_t::active, Cbuf_AddText(), cmd(), K_DOWNARROW, K_ENTER, K_ESCAPE, K_UPARROW, key_dest, key_game, m_entersound, m_episode_cursor, M_Menu_Transfusion_Episode_f(), m_skill_cursor, S_LocalSound(), SKILL_ITEMS, and sv.
Referenced by M_KeyEvent().
|
static |
Definition at line 2594 of file menu.c.
References b, int(), Key_SetBinding(), and keybindings.
Referenced by M_Keys_Key().
Definition at line 2916 of file menu.c.
References viddef_mode_t::desktopfullscreen, Draw_CachePic(), Draw_GetPicWidth(), viddef_support_t::ext_texture_filter_anisotropic, viddef_mode_t::fullscreen, gl_picmip, gl_texture_anisotropy, gl_texturecompression, height, viddef_mode_t::height, video_resolution_t::height, host, cvar_t::integer, M_Background(), M_DrawCharacter(), M_DrawCheckbox(), M_DrawPic(), M_DrawSlider(), M_ItemPrint(), M_Menu_Video_FindResolution(), M_Print(), viddef_t::max_anisotropy, menu_video_resolution, menu_video_resolutions, menu_video_resolutions_forfullscreen, viddef_t::mode, video_resolution_t::pixelheight, host_static_t::realtime, viddef_mode_t::refreshrate, viddef_t::support, type, va(), cvar_t::value, vid, vid_desktopfullscreen, vid_display, vid_fullscreen, vid_info_displaycount, vid_refreshrate, vid_samples, vid_vsync, video_cursor, video_cursor_table, viddef_mode_t::width, video_resolution_t::width, and width.
Referenced by M_Draw().
|
static |
Definition at line 3042 of file menu.c.
References viddef_mode_t::bitsperpixel, Cbuf_AddText(), cmd(), Cvar_SetValueQuick(), viddef_mode_t::desktopfullscreen, viddef_mode_t::display, viddef_mode_t::fullscreen, height, K_DOWNARROW, K_ENTER, K_ESCAPE, K_LEFTARROW, K_RIGHTARROW, K_UPARROW, m_entersound, M_Menu_Options_f(), M_Menu_Video_AdjustSliders(), menu_video_resolution, menu_video_resolutions, viddef_t::mode, viddef_mode_t::refreshrate, S_LocalSound(), viddef_mode_t::samples, vid, vid_bitsperpixel, vid_conheight, vid_conwidth, vid_desktopfullscreen, vid_display, vid_fullscreen, vid_height, vid_pixelheight, vid_refreshrate, vid_samples, vid_width, video_cursor, VIDEO_ITEMS, and width.
Referenced by M_KeyEvent().
Definition at line 4598 of file menu.c.
References server_t::active, ca_connected, cls, Con_Printf(), client_static_t::demoplayback, modlist_entry_t::dir, FS_ChangeGameDirs(), gamedirname1, i, modlist, modlist_count, MODLIST_MAXDIRS, client_static_t::state, and sv.
Referenced by M_ModList_Key().
Definition at line 4549 of file menu.c.
References dir, modlist_entry_t::dir, dp_strlcpy, fs_basedir, FS_CheckGameDir(), fs_checkgamedir_missing, fs_gamedirs, fs_numgamedirs, gamedirname1, i, ISWHITESPACE, listdirectory(), modlist_entry_t::loaded, min, modlist, modlist_count, modlist_numenabled, MODLIST_TOTALSIZE, name, NULL, stringlist_t::numstrings, stringlistfreecontents(), stringlistinit(), stringlistsort(), stringlist_t::strings, and strlen().
Referenced by M_Menu_ModList_f(), and M_ModList_Key().
|
static |
Definition at line 5050 of file menu.c.
References prvm_prog_t::error_cmd, i, prvm_prog_t::name, and PRVM_ED_FindFunction().
Referenced by MP_Init().
Definition at line 5330 of file menu.c.
References prvm_prog_t::ExecuteProgram, viddef_mode_t::height, host, prvm_prog_t::loaded, viddef_t::mode, mp_abort, r_refdef_scene_t::numtempentities, OFS_PARM0, OFS_PARM1, PRVM_G_FLOAT, PRVM_GarbageCollection(), PRVM_menufunction, r_refdef_view_t::quality, r_refdef, R_SelectScene(), host_static_t::realtime, RST_CLIENT, RST_MENU, r_refdef_t::scene, r_refdef_scene_t::time, vid, r_refdef_t::view, and viddef_mode_t::width.
Referenced by MR_SetRouting().
|
static |
Definition at line 5391 of file menu.c.
References prvm_prog_t::ExecuteProgram, prvm_prog_t::fp, prvm_prog_t::globals, mp_abort, NULL, OFS_PARM0, OFS_RETURN, PRVM_menufunction, and serverlist_callbackentry.
Referenced by MR_SetRouting().
Definition at line 5429 of file menu.c.
References prvm_prog_t::begin_increase_edicts, prvm_prog_t::builtins, cmd_local, prvm_prog_t::count_edicts, prvm_prog_t::edictprivate_size, prvm_prog_t::end_increase_edicts, prvm_prog_t::error_cmd, prvm_prog_t::ExecuteProgram, prvm_prog_t::extensionstring, prvm_prog_t::free_edict, host, in_client_mouse, prvm_prog_t::init_cmd, prvm_prog_t::init_edict, prvm_prog_t::inittime, prvm_prog_t::limit_edicts, prvm_prog_t::load_edict, M_MAX_EDICTS, m_numrequiredfields, m_numrequiredglobals, m_required_fields, m_required_globals, Mem_AllocPool, menu_progs, mp_abort, MP_CheckRequiredFuncs(), MVM_begin_increase_edicts(), MVM_count_edicts(), MVM_end_increase_edicts(), MVM_error_cmd(), MVM_free_edict(), MVM_init_cmd(), MVM_init_edict(), MVM_load_edict(), MVM_reset_cmd(), prvm_prog_t::name, NULL, prvm_prog_t::num_edicts, prvm_prog_t::numbuiltins, prvm_prog_t::progs_mempool, PRVM_menufunction, PRVM_Prog_Init(), PRVM_Prog_Load(), host_static_t::realtime, prvm_prog_t::reset_cmd, cvar_t::string, vm_m_builtins, vm_m_extensions, and vm_m_numbuiltins.
Referenced by MR_SetRouting().
Definition at line 5314 of file menu.c.
References prvm_prog_t::ExecuteProgram, prvm_prog_t::fp, prvm_prog_t::globals, mp_abort, OFS_PARM0, OFS_PARM1, and PRVM_menufunction.
Referenced by MR_SetRouting().
Definition at line 5379 of file menu.c.
References prvm_prog_t::ExecuteProgram, mp_abort, and PRVM_menufunction.
Referenced by MR_SetRouting().
Definition at line 5412 of file menu.c.
References prvm_prog_t::ExecuteProgram, key_dest, key_game, prvm_prog_t::loaded, mp_abort, PRVM_menufunction, and PRVM_Prog_Reset().
Referenced by MR_SetRouting().
Definition at line 5368 of file menu.c.
References prvm_prog_t::ExecuteProgram, prvm_prog_t::fp, prvm_prog_t::globals, mode, mp_abort, OFS_PARM0, and PRVM_menufunction.
Referenced by MR_SetRouting().
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().
|
static |
Definition at line 5485 of file menu.c.
References forceqmenu, FS_FileExists(), cvar_t::integer, M_Draw(), M_GetServerListEntryCategory(), M_Init(), M_KeyEvent(), M_NewMap(), M_Shutdown(), M_ToggleMenu(), menu_progs, MP_Draw(), MP_GetServerListEntryCategory(), MP_Init(), MP_KeyEvent(), MP_NewMap(), MP_Shutdown(), MP_ToggleMenu(), MR_Draw, MR_GetServerListEntryCategory, MR_KeyEvent, MR_NewMap, MR_Shutdown, MR_ToggleMenu, and cvar_t::string.
Referenced by MR_Init(), and MVM_error_cmd().
|
static |
|
static |
Definition at line 5290 of file menu.c.
References Con_Printf(), prvm_edict_t::free, i, prvm_prog_t::num_edicts, and PRVM_EDICT_NUM.
Referenced by MP_Init().
|
static |
|
static |
Definition at line 5229 of file menu.c.
References ca_connected, cmd_state_t::cbuf, Cbuf_Clear(), cls, cmd_local, CON_ERROR, Con_Print(), Con_Printf(), dpvsnprintf(), format, key_dest, key_game, MAX_INPUTLINE, mp_abort, mp_failed, MR_SetRouting(), MR_ToggleMenu, sys_t::outfd, PRVM_Crash(), R_SelectScene(), RST_CLIENT, client_static_t::state, sys, and Sys_Error().
Referenced by MP_Init().
|
static |
|
static |
|
static |
Definition at line 1333 of file menu.c.
References bound, i, RATES, setup_rate, and setup_ratetable.
Referenced by M_Setup_Draw(), and M_Setup_Key().
|
static |
|
static |
|
static |
Definition at line 3857 of file menu.c.
|
static |
Definition at line 2556 of file menu.c.
Referenced by M_Keys_Draw(), and M_Keys_Key().
|
static |
Definition at line 2462 of file menu.c.
Referenced by M_Keys_Draw(), M_Keys_Key(), and M_Menu_Keys_f().
|
extern |
Definition at line 80 of file cl_main.c.
Referenced by CL_Beam_CalculatePositions(), CL_Init(), M_Menu_Options_Effects_AdjustSliders(), and M_Options_Effects_Draw().
|
extern |
Definition at line 81 of file cl_main.c.
Referenced by CL_Init(), CL_RelinkBeams(), M_Menu_Options_Effects_AdjustSliders(), and M_Options_Effects_Draw().
|
extern |
Definition at line 78 of file cl_main.c.
Referenced by CL_Init(), CL_RelinkBeams(), M_Menu_Options_Effects_AdjustSliders(), and M_Options_Effects_Draw().
|
extern |
Definition at line 79 of file cl_main.c.
Referenced by CL_Beam_CalculatePositions(), CL_Init(), M_Menu_Options_Effects_AdjustSliders(), and M_Options_Effects_Draw().
|
extern |
Definition at line 36 of file cl_cmd.c.
Referenced by CL_Color_c(), CL_Color_f(), CL_InitCommands(), CL_Topcolor_c(), and M_Menu_Setup_f().
|
extern |
Definition at line 75 of file cl_main.c.
Referenced by CL_Init(), M_Menu_Options_Effects_AdjustSliders(), M_Options_Effects_Draw(), Mod_Q1BSP_LoadFaces(), and Mod_VBSP_LoadFaces().
|
extern |
Definition at line 76 of file cl_main.c.
Referenced by CL_Init(), M_Menu_Options_Effects_AdjustSliders(), M_Options_Effects_Draw(), and mod_newmap().
|
extern |
Definition at line 35 of file cl_cmd.c.
Referenced by CL_Bottomcolor_c(), CL_Color_c(), CL_Color_f(), CL_InitCommands(), and M_Menu_Setup_f().
|
static |
|
static |
|
static |
|
static |
Definition at line 289 of file menu.c.
Referenced by M_Demo_Draw(), and M_Demo_Key().
|
static |
Definition at line 31 of file menu.c.
Referenced by M_Menu_Main_f(), MR_Init(), MR_Init_Commands(), and MR_SetRouting().
|
static |
Definition at line 3944 of file menu.c.
Referenced by M_Menu_GameOptions_f().
|
static |
Definition at line 3987 of file menu.c.
Referenced by M_GameOptions_Draw(), M_GameOptions_Key(), and M_NetStart_Change().
|
static |
Definition at line 3985 of file menu.c.
Referenced by M_GameOptions_Draw().
|
static |
Definition at line 3959 of file menu.c.
Referenced by M_GameOptions_Draw(), M_GameOptions_Key(), M_Menu_GameOptions_f(), and M_NetStart_Change().
|
extern |
Definition at line 236 of file r_shadow.c.
Referenced by M_Menu_Options_Graphics_AdjustSliders(), M_Options_Graphics_Draw(), and R_UpdateVariables().
|
extern |
Definition at line 29 of file gl_textures.c.
Referenced by M_Menu_Video_AdjustSliders(), M_Video_Draw(), R_PicmipForFlags(), and R_Textures_Init().
|
extern |
Definition at line 36 of file gl_textures.c.
Referenced by GL_SetupTextureParameters(), M_Menu_Video_AdjustSliders(), M_Video_Draw(), R_Textures_Frame(), and R_Textures_Init().
|
static |
Definition at line 2438 of file menu.c.
Referenced by M_Menu_Keys_f().
|
static |
|
static |
|
static |
Definition at line 3839 of file menu.c.
|
static |
Definition at line 3104 of file menu.c.
Referenced by M_Help_Draw(), M_Help_Key(), and M_Menu_Help_f().
|
static |
Definition at line 3641 of file menu.c.
|
static |
|
static |
Definition at line 3613 of file menu.c.
|
extern |
|
extern |
Definition at line 457 of file jpeg.c.
Referenced by Image_Compress(), JPEG_CloseLibrary(), JPEG_LoadImage_BGRA(), JPEG_OpenLibrary(), JPEG_SaveImage_preflipped(), and JPEG_SaveImage_to_Buffer().
|
static |
Definition at line 2555 of file menu.c.
Referenced by M_Keys_Draw(), M_Keys_Key(), and M_Menu_Keys_f().
|
static |
Definition at line 3336 of file menu.c.
Referenced by M_LanConfig_Draw(), M_LanConfig_Key(), M_Menu_LanConfig_f(), M_Menu_ServerList_f(), and M_ServerList_Key().
|
static |
|
static |
Definition at line 3342 of file menu.c.
Referenced by M_LanConfig_Draw(), and M_LanConfig_Key().
|
static |
Definition at line 3340 of file menu.c.
Referenced by M_LanConfig_Key(), and M_Menu_LanConfig_f().
|
static |
Definition at line 3341 of file menu.c.
Referenced by M_LanConfig_Draw(), M_LanConfig_Key(), and M_Menu_LanConfig_f().
|
static |
0 < load_cursor < MAX_SAVEGAMES
Definition at line 848 of file menu.c.
Referenced by M_Load_Draw(), M_Load_Key(), M_Save_Draw(), and M_Save_Key().
|
static |
Definition at line 851 of file menu.c.
Referenced by M_Load_Key(), and M_ScanSaves().
|
static |
play after drawing a frame, so caching won't disrupt the sound
Definition at line 108 of file menu.c.
Referenced by M_Draw(), M_Help_Key(), M_LanConfig_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_MultiPlayer_Key(), M_Options_ColorControl_Key(), M_Options_Key(), M_Quit_Key(), M_Reset_Key(), M_Setup_Key(), M_SinglePlayer_Key(), M_ToggleMenu(), M_Transfusion_Episode_Key(), M_Transfusion_Skill_Key(), and M_Video_Key().
|
static |
Definition at line 1039 of file menu.c.
Referenced by M_Transfusion_Episode_Draw(), M_Transfusion_Episode_Key(), and M_Transfusion_Skill_Key().
|
static |
Definition at line 850 of file menu.c.
Referenced by M_Load_Draw(), M_Save_Draw(), and M_ScanSaves().
|
static |
Definition at line 349 of file menu.c.
Referenced by M_Main_Draw(), and M_Main_Key().
Definition at line 350 of file menu.c.
Referenced by M_ChooseQuitMessage(), M_Draw(), M_Main_Draw(), M_Main_Key(), M_Menu_Main_f(), and M_Quit_Draw().
|
static |
Definition at line 1198 of file menu.c.
Referenced by M_MultiPlayer_Draw(), and M_MultiPlayer_Key().
|
static |
|
static |
|
static |
Definition at line 1637 of file menu.c.
Referenced by M_Options_ColorControl_Draw(), M_Options_Draw(), M_Options_Effects_Draw(), M_Options_Graphics_Draw(), M_Options_PrintCheckbox(), M_Options_PrintCommand(), and M_Options_PrintSlider().
|
static |
Definition at line 1635 of file menu.c.
Referenced by M_Options_ColorControl_Draw(), M_Options_Draw(), M_Options_Effects_Draw(), M_Options_Graphics_Draw(), M_Options_PrintCheckbox(), M_Options_PrintCommand(), and M_Options_PrintSlider().
|
static |
Definition at line 1636 of file menu.c.
Referenced by M_Options_ColorControl_Draw(), M_Options_Draw(), M_Options_Effects_Draw(), M_Options_Graphics_Draw(), M_Options_PrintCheckbox(), M_Options_PrintCommand(), and M_Options_PrintSlider().
|
static |
Definition at line 3181 of file menu.c.
Referenced by M_Quit_Draw(), and M_QuitMessage().
|
static |
Definition at line 3182 of file menu.c.
Referenced by M_Menu_Quit_f(), and M_Quit_Key().
|
static |
Definition at line 5067 of file menu.c.
Referenced by MP_Init().
|
static |
Definition at line 5146 of file menu.c.
Referenced by MP_Init().
Definition at line 3964 of file menu.c.
Referenced by M_GameOptions_Draw(), and M_NetStart_Change().
|
static |
Definition at line 3965 of file menu.c.
Referenced by M_GameOptions_Draw(), and M_NetStart_Change().
|
static |
Definition at line 738 of file menu.c.
Referenced by M_SinglePlayer_Draw(), and M_SinglePlayer_Key().
|
static |
Definition at line 1097 of file menu.c.
Referenced by M_Transfusion_Skill_Draw(), and M_Transfusion_Skill_Key().
enum m_state_e m_state |
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().
|
static |
Definition at line 352 of file menu.c.
Referenced by M_Main_Draw(), M_Main_Key(), and M_Menu_Main_f().
|
static |
Definition at line 3963 of file menu.c.
Referenced by M_GameOptions_Draw(), M_GameOptions_Key(), M_Menu_GameOptions_f(), and M_NetStart_Change().
|
static |
Definition at line 159 of file menu.c.
Referenced by M_Background(), M_ModList_Draw(), M_Options_ColorControl_Draw(), M_Options_Draw(), M_Options_Effects_Draw(), M_Options_Graphics_Draw(), and M_ServerList_Draw().
|
static |
Definition at line 2110 of file menu.c.
Referenced by M_Options_ColorControl_Draw(), and MR_Init_Commands().
Definition at line 32 of file menu.c.
Referenced by MP_Init(), MR_Init_Commands(), and MR_SetRouting().
|
static |
Definition at line 2849 of file menu.c.
Referenced by M_Menu_Video_AdjustSliders(), M_Menu_Video_FindResolution(), M_Video_Draw(), and M_Video_Key().
|
static |
Definition at line 2854 of file menu.c.
Referenced by M_Menu_Video_AdjustSliders(), M_Menu_Video_FindResolution(), M_Video_Draw(), and M_Video_Key().
|
static |
Definition at line 2855 of file menu.c.
Referenced by M_Menu_Video_AdjustSliders(), and M_Menu_Video_FindResolution().
|
static |
Definition at line 2856 of file menu.c.
Referenced by M_Menu_Video_FindResolution(), M_Video_Draw(), and MR_Init().
|
static |
Definition at line 159 of file menu.c.
Referenced by M_Background().
|
static |
Definition at line 159 of file menu.c.
Referenced by M_Background(), M_DrawCharacter(), M_DrawPic(), M_ItemPrint(), M_ModList_Draw(), M_Options_ColorControl_Draw(), M_Options_PrintCheckbox(), M_Options_PrintCommand(), M_Options_PrintSlider(), M_Print(), M_PrintColored(), M_PrintRed(), and M_ServerList_Draw().
|
static |
Definition at line 159 of file menu.c.
Referenced by M_Background(), M_DrawCharacter(), M_DrawPic(), M_ItemPrint(), M_ModList_Draw(), M_Options_ColorControl_Draw(), M_Options_PrintCheckbox(), M_Options_PrintCommand(), M_Options_PrintSlider(), M_Print(), M_PrintColored(), M_PrintRed(), and M_ServerList_Draw().
|
static |
Definition at line 1305 of file menu.c.
Referenced by M_Setup_Draw().
|
static |
Definition at line 1305 of file menu.c.
Referenced by M_Setup_Draw().
|
static |
Definition at line 1305 of file menu.c.
Referenced by M_Init(), and M_Setup_Draw().
|
static |
Definition at line 1306 of file menu.c.
Referenced by M_Init(), and M_Setup_Draw().
|
static |
Definition at line 1305 of file menu.c.
Referenced by M_Setup_Draw().
|
static |
Definition at line 1307 of file menu.c.
Referenced by M_Setup_Draw().
|
static |
Definition at line 1305 of file menu.c.
Referenced by M_Setup_Draw().
|
static |
Definition at line 4547 of file menu.c.
Referenced by M_Menu_ModList_AdjustSliders(), M_ModList_Draw(), ModList_Enable(), and ModList_RebuildList().
|
static |
Definition at line 4546 of file menu.c.
Referenced by M_ModList_Draw(), M_ModList_Key(), ModList_Enable(), and ModList_RebuildList().
|
static |
Definition at line 4543 of file menu.c.
Referenced by M_Menu_ModList_AdjustSliders(), M_Menu_ModList_f(), M_ModList_Draw(), and M_ModList_Key().
|
static |
Definition at line 4531 of file menu.c.
Referenced by M_Menu_ModList_AdjustSliders(), M_ModList_Draw(), and ModList_RebuildList().
jmp_buf mp_abort |
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().
|
static |
Definition at line 424 of file menu.c.
Referenced by M_Main_Draw(), and MVM_error_cmd().
Definition at line 5479 of file menu.c.
Referenced by MR_SetRouting(), and SCR_DrawScreen().
int(* MR_GetServerListEntryCategory) (const serverlist_entry_t *entry) | ( | const serverlist_entry_t * | entry | ) |
Definition at line 5483 of file menu.c.
Referenced by MR_SetRouting().
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().
|
static |
Definition at line 121 of file menu.c.
Referenced by M_Demo_Draw(), and M_Demo_Key().
|
static |
Definition at line 3707 of file menu.c.
|
static |
|
static |
Definition at line 3684 of file menu.c.
|
static |
Definition at line 34 of file menu.c.
Referenced by M_Main_Draw(), M_Main_Key(), and M_Menu_Main_f().
|
static |
Definition at line 2461 of file menu.c.
Referenced by M_Keys_Draw(), M_Keys_Key(), and M_Menu_Keys_f().
|
static |
|
static |
|
static |
Definition at line 3873 of file menu.c.
|
static |
Definition at line 2107 of file menu.c.
Referenced by M_Menu_Options_ColorControl_AdjustSliders(), M_Options_ColorControl_Draw(), and M_Options_ColorControl_Key().
|
static |
Definition at line 1582 of file menu.c.
Referenced by M_Menu_Options_AdjustSliders(), M_Options_Draw(), and M_Options_Key().
|
static |
Definition at line 1814 of file menu.c.
Referenced by M_Menu_Options_Effects_AdjustSliders(), M_Options_Effects_Draw(), and M_Options_Effects_Key().
|
static |
Definition at line 1977 of file menu.c.
Referenced by M_Menu_Options_Graphics_AdjustSliders(), M_Options_Graphics_Draw(), and M_Options_Graphics_Key().
|
static |
|
static |
|
static |
|
static |
Definition at line 2357 of file menu.c.
Referenced by M_Menu_Keys_f().
|
static |
Definition at line 3601 of file menu.c.
|
static |
Definition at line 3553 of file menu.c.
|
extern |
Definition at line 208 of file gl_rmain.c.
Referenced by GL_Main_Init(), M_Menu_Options_Graphics_AdjustSliders(), M_Options_Graphics_Draw(), and R_Bloom_StartFrame().
|
extern |
Definition at line 212 of file gl_rmain.c.
Referenced by GL_Main_Init(), M_Menu_Options_Graphics_AdjustSliders(), M_Options_Graphics_Draw(), R_Bloom_MakeTexture(), and R_Bloom_StartFrame().
|
extern |
Definition at line 211 of file gl_rmain.c.
Referenced by GL_Main_Init(), M_Menu_Options_Graphics_AdjustSliders(), M_Options_Graphics_Draw(), and R_Bloom_MakeTexture().
|
extern |
Definition at line 214 of file gl_rmain.c.
Referenced by GL_Main_Init(), M_Menu_Options_Graphics_AdjustSliders(), M_Options_Graphics_Draw(), and R_Bloom_MakeTexture().
|
extern |
Definition at line 209 of file gl_rmain.c.
Referenced by GL_Main_Init(), M_Menu_Options_Graphics_AdjustSliders(), M_Options_Graphics_Draw(), and R_Bloom_MakeTexture().
|
extern |
Definition at line 215 of file gl_rmain.c.
Referenced by GL_Main_Init(), M_Menu_Options_Graphics_AdjustSliders(), M_Options_Graphics_Draw(), and R_BlendView().
|
extern |
Definition at line 213 of file gl_rmain.c.
Referenced by GL_Main_Init(), M_Menu_Options_Graphics_AdjustSliders(), M_Options_Graphics_Draw(), and R_Bloom_StartFrame().
|
extern |
Definition at line 233 of file r_shadow.c.
Referenced by M_Menu_Options_Graphics_AdjustSliders(), M_Options_Graphics_Draw(), R_Shadow_DrawCoronas(), and R_Shadow_Init().
|
extern |
Definition at line 58 of file r_explosion.c.
Referenced by M_Menu_Options_Effects_AdjustSliders(), M_Options_Effects_Draw(), R_Explosion_Init(), and R_NewExplosion().
|
extern |
Definition at line 219 of file gl_rmain.c.
Referenced by GL_Main_Init(), M_Menu_Options_Graphics_AdjustSliders(), M_Options_Graphics_Draw(), and R_SetupShader_Surface().
|
extern |
Definition at line 1999 of file menu.c.
Referenced by GL_Main_Init(), M_Menu_Options_AdjustSliders(), M_Menu_Options_Graphics_AdjustSliders(), M_Options_Draw(), M_Options_Graphics_Draw(), and R_RenderView().
|
extern |
Definition at line 10 of file r_lightning.c.
Referenced by CL_Beam_AddQuad(), M_Menu_Options_Effects_AdjustSliders(), M_Options_Effects_Draw(), and R_LightningBeams_Init().
|
extern |
Definition at line 9 of file r_lightning.c.
Referenced by CL_Beam_AddQuad(), M_Menu_Options_Effects_AdjustSliders(), M_Options_Effects_Draw(), and R_LightningBeams_Init().
|
extern |
Definition at line 8 of file r_lightning.c.
Referenced by CL_Beam_AddQuad(), M_Menu_Options_Effects_AdjustSliders(), M_Options_Effects_Draw(), and R_LightningBeams_Init().
|
extern |
Definition at line 11 of file r_lightning.c.
Referenced by CL_Beam_AddPolygons(), CL_Beams_SetupExternalTexture(), M_Menu_Options_Effects_AdjustSliders(), M_Options_Effects_Draw(), and R_LightningBeams_Init().
|
extern |
Definition at line 7 of file r_lightning.c.
Referenced by CL_Beam_AddPolygons(), M_Menu_Options_Effects_AdjustSliders(), M_Options_Effects_Draw(), and R_LightningBeams_Init().
|
extern |
Definition at line 6 of file r_lightning.c.
Referenced by CL_Beam_AddPolygons(), M_Menu_Options_Effects_AdjustSliders(), M_Options_Effects_Draw(), and R_LightningBeams_Init().
|
extern |
Definition at line 5 of file r_lightning.c.
Referenced by CL_Beam_AddPolygons(), M_Menu_Options_Effects_AdjustSliders(), M_Options_Effects_Draw(), and R_LightningBeams_Init().
|
extern |
Definition at line 147 of file r_shadow.c.
Referenced by M_Menu_Options_Graphics_AdjustSliders(), M_Options_Graphics_Draw(), R_GetCurrentTexture(), and R_SetupShader_DeferredLight().
|
extern |
Definition at line 159 of file r_shadow.c.
Referenced by M_Menu_Options_Graphics_AdjustSliders(), M_Options_Graphics_Draw(), R_UpdateVariables(), and R_Water_ProcessPlanes().
|
extern |
Definition at line 160 of file r_shadow.c.
Referenced by M_Menu_Options_Graphics_AdjustSliders(), M_Options_Graphics_Draw(), and R_UpdateVariables().
|
extern |
Definition at line 163 of file r_shadow.c.
Referenced by M_Menu_Options_Graphics_AdjustSliders(), M_Options_Graphics_Draw(), R_UpdateVariables(), and R_Water_ProcessPlanes().
|
extern |
Definition at line 165 of file r_shadow.c.
Referenced by M_Menu_Options_Graphics_AdjustSliders(), M_Options_Graphics_Draw(), and R_UpdateVariables().
|
extern |
Definition at line 166 of file r_shadow.c.
Referenced by M_Menu_Options_Graphics_AdjustSliders(), M_Options_Graphics_Draw(), and R_UpdateVariables().
|
extern |
Definition at line 53 of file gl_draw.c.
Referenced by DrawQ_String_Scale(), and GL_Draw_Init().
|
static |
|
static |
Definition at line 3676 of file menu.c.
|
static |
|
static |
Definition at line 3653 of file menu.c.
const serverlist_entry_t* serverlist_callbackentry = NULL |
Definition at line 5390 of file menu.c.
Referenced by MP_GetServerListEntryCategory(), VM_M_getserverlistnumber(), and VM_M_getserverliststring().
|
static |
Definition at line 1285 of file menu.c.
Referenced by M_Menu_Setup_f(), M_Setup_Draw(), and M_Setup_Key().
|
static |
Definition at line 1278 of file menu.c.
Referenced by M_Setup_Draw(), and M_Setup_Key().
|
static |
|
static |
Definition at line 1281 of file menu.c.
Referenced by M_Menu_Setup_f(), M_Setup_Draw(), and M_Setup_Key().
|
static |
Definition at line 1283 of file menu.c.
Referenced by M_Menu_Setup_f(), and M_Setup_Key().
|
static |
Definition at line 1287 of file menu.c.
Referenced by M_Setup_Key().
|
static |
Definition at line 1282 of file menu.c.
Referenced by M_Menu_Setup_f(), and M_Setup_Key().
|
static |
Definition at line 1286 of file menu.c.
Referenced by M_Menu_Setup_f(), M_Setup_Draw(), M_Setup_Key(), and setup_rateindex().
|
static |
Definition at line 1317 of file menu.c.
Referenced by M_Setup_Draw(), M_Setup_Key(), and setup_rateindex().
|
static |
Definition at line 1284 of file menu.c.
Referenced by M_Menu_Setup_f(), M_Setup_Draw(), and M_Setup_Key().
|
static |
|
static |
Definition at line 4400 of file menu.c.
Referenced by M_Menu_ServerList_f(), M_ServerList_Draw(), and M_ServerList_Key().
|
static |
Definition at line 4401 of file menu.c.
Referenced by M_ServerList_Draw(), and M_ServerList_Key().
|
static |
Definition at line 3961 of file menu.c.
Referenced by M_GameOptions_Draw(), M_GameOptions_Key(), and M_NetStart_Change().
|
static |
Definition at line 3962 of file menu.c.
Referenced by M_GameOptions_Draw(), M_GameOptions_Key(), and M_NetStart_Change().
|
static |
Definition at line 2380 of file menu.c.
Referenced by M_Menu_Keys_f().
|
static |
Definition at line 3824 of file menu.c.
|
static |
|
static |
Definition at line 3716 of file menu.c.
|
static |
Definition at line 2847 of file menu.c.
Referenced by M_Menu_Video_AdjustSliders(), M_Video_Draw(), and M_Video_Key().
|
static |
Definition at line 2848 of file menu.c.
Referenced by M_Video_Draw().
video_resolution_t* video_resolutions |
Definition at line 2851 of file menu.c.
Referenced by M_Menu_Video_FindResolution(), MR_Init(), and VM_M_getresolution().
int video_resolutions_count |
Definition at line 2852 of file menu.c.
Referenced by M_Menu_Video_FindResolution(), MR_Init(), and VM_M_getresolution().
video_resolution_t video_resolutions_hardcoded[] |
Definition at line 2782 of file menu.c.
Referenced by M_Menu_Video_FindResolution(), MR_Init(), and VM_M_getresolution().
int video_resolutions_hardcoded_count = sizeof(video_resolutions_hardcoded) / sizeof(*video_resolutions_hardcoded) - 1 |
Definition at line 2844 of file menu.c.
Referenced by M_Menu_Video_FindResolution(), and VM_M_getresolution().
|
static |
Definition at line 3183 of file menu.c.
Referenced by M_Menu_Quit_f(), and M_Quit_Key().