![]() |
DarkPlaces
Game engine based on the Quake 1 engine by id Software, developed by LadyHavoc
|
|
Go to the source code of this file.
Macros | |
#define | CACHEPICHASHSIZE 256 |
number of hash buckets for accelerating 2D pic name lookups | |
#define | CL_MAX_USERCMDS 128 |
max number of predicted input packets in queue | |
#define | CMD_TOKENIZELENGTH (MAX_INPUTLINE + MAX_ARGS) |
maximum tokenizable commandline length (counting trailing 0) | |
#define | CMDBUFSIZE 655360 |
maximum script size that can be loaded by the exec command (8192 in Quake) | |
#define | CON_MAXLINES 16384 |
max scrollback buffer lines in console | |
#define | CON_TEXTSIZE 1048576 |
max scrollback buffer characters in console | |
#define | CRYPTO_HOSTKEY_HASHSIZE 8192 |
number of hash buckets for accelerating host key lookups | |
#define | CVAR_HASHSIZE 65536 |
number of hash buckets for accelerating cvar name lookups | |
#define | DOUBLE_IS_TRUE_FOR_INT(x) |
#define | DOUBLE_LOSSLESS_FORMAT "%.17g" |
#define | DOUBLE_VECTOR_LOSSLESS_FORMAT "%.17g %.17g %.17g" |
#define | DP_FUNC_ALWAYS_INLINE inline |
#define | DP_FUNC_NORETURN |
#define | DP_FUNC_PRINTF(n) |
#define | DP_FUNC_PURE |
#define | FLOAT_IS_TRUE_FOR_INT(x) |
#define | FLOAT_LOSSLESS_FORMAT "%.9g" |
#define | FLOAT_VECTOR_LOSSLESS_FORMAT "%.9g %.9g %.9g" |
#define | HIST_MAXLINES 4096 |
max command history buffer lines in console | |
#define | HIST_TEXTSIZE 262144 |
max command history buffer characters in console | |
#define | INT_LOSSLESS_FORMAT_CONVERT_S(x) |
#define | INT_LOSSLESS_FORMAT_CONVERT_U(x) |
#define | INT_LOSSLESS_FORMAT_SIZE "j" |
#define | INTOVERFLOW_ADD(a, b) |
#define | INTOVERFLOW_DIV(a, b) |
#define | INTOVERFLOW_MAX 2147483647 |
#define | INTOVERFLOW_MUL(a, b) |
#define | INTOVERFLOW_NORMALIZE(a) |
#define | INTOVERFLOW_SUB(a, b) |
#define | ISCOMMENT(ch, pos) |
#define | ISWHITESPACE(ch) |
#define | ISWHITESPACEORCONTROL(ch) |
#define | M_MAX_EDICTS 32768 |
max objects in menu vm | |
#define | MAX_ALIAS_NAME 32 |
#define | MAX_ARGS 80 |
maximum number of parameters to a console command or alias | |
#define | MAX_BEAMS 256 |
limit on size of cl.beams | |
#define | MAX_BINDMAPS 8 |
#define | MAX_CACHED_PICS 2048 |
max number of 2D pics loaded at once | |
#define | MAX_CHANNELS (8192 + 4) |
#define | MAX_CLIENTNETWORKEYES 16 |
max number of locations that can be added to pvs when culling network entities (must be at least 2 for prediction) | |
#define | MAX_CUBEMAPS 1024 |
max number of cubemap textures loaded for light filters | |
#define | MAX_DECALSYSTEM_QUEUE 1024 |
#define | MAX_DEMONAME 32 |
max demo name length for demos command | |
#define | MAX_DEMOS 8 |
max demos provided to demos command | |
#define | MAX_DLIGHTS 256 |
max number of dynamic lights (rocket flashes, etc) in scene at once | |
#define | MAX_DYNAMIC_CHANNELS 512 |
#define | MAX_DYNAMIC_TEXTURE_COUNT 64 |
maximum number of dynamic textures (web browsers, playvideo, etc) | |
#define | MAX_EDICTS 32768 |
max number of objects in game world at once (32768 protocol limit) | |
#define | MAX_EFFECTS 256 |
limit on size of cl.effects | |
#define | MAX_ENTITIES_INITIAL 256 |
initial size of cl.entities | |
#define | MAX_EXPLOSIONS 64 |
max number of explosion shell effects active at once (not particle related) | |
#define | MAX_FAVORITESERVERS 256 |
#define | MAX_INPUTLINE 16384 |
maximum size of console commandline, QuakeC strings, and many other text processing buffers | |
#define | MAX_LEVELNETWORKEYES 512 |
max number of locations that can be added to pvs when culling network entities (must be at least 2 for prediction) | |
#define | MAX_LIGHTSTYLES 256 |
max flickering light styles in level (note: affects savegame format) | |
#define | MAX_LOCALINFO_STRING 32768 |
max length of server-local infostring for PROTOCOL_QUAKEWORLD (32768 in QuakeWorld) | |
#define | MAX_MODELS 8192 |
max number of models loaded at once (including during level transitions) | |
#define | MAX_NETWM_ICON 352822 |
#define | MAX_NUM_ARGVS 50 |
#define | MAX_OCCLUSION_QUERIES 4096 |
max number of query objects that can be used in one frame | |
#define | MAX_OSPATH 1024 |
max length of a filesystem pathname | |
#define | MAX_PACKETFRAGMENT 1024 |
max length of packet fragment | |
#define | MAX_PARTICLEEFFECTINFO 8192 |
maximum number of unique particle effects (each name may associate with several of these) | |
#define | MAX_PARTICLEEFFECTNAME 4096 |
maximum number of unique names of particle effects (for particleeffectnum) | |
#define | MAX_PARTICLES 1048576 |
upper limit on cl.particles size | |
#define | MAX_PARTICLES_INITIAL 8192 |
initial allocation for cl.particles | |
#define | MAX_PARTICLETEXTURES 256 |
maximum number of unique particle textures in the particle font | |
#define | MAX_QPATH 128 |
max length of a quake game pathname | |
#define | MAX_SAVEGAMES 12 |
max savegames listed in savegame menu | |
#define | MAX_SCOREBOARD 255 |
max number of players in game at once (255 protocol limit) | |
#define | MAX_SCOREBOARDNAME 128 |
max length of player name in game | |
#define | MAX_SERVERINFO_STRING 1280 |
max length of server infostring for PROTOCOL_QUAKEWORLD (512 in QuakeWorld) | |
#define | MAX_SOUNDS 4096 |
max number of sounds loaded at once | |
#define | MAX_STATICENTITIES 4096 |
limit on size of cl.static_entities | |
#define | MAX_STYLESTRING 64 |
max length of flicker pattern for light style | |
#define | MAX_TEMPENTITIES 4096 |
max number of temporary models visible per frame (certain sprite effects, certain types of CSQC entities also use this) | |
#define | MAX_USERINFO_STRING 1280 |
max length of infostring for PROTOCOL_QUAKEWORLD (196 in QuakeWorld) | |
#define | MAX_WATERPLANES 16 |
max number of water planes visible (each one causes additional view renders) | |
#define | MAXCLVIDEOS 65 |
maximum number of video streams being played back at once (1 is reserved for the playvideo command) | |
#define | MAXTRACKS 256 |
max CD track index | |
#define | MODLIST_TOTALSIZE 256 |
#define | NET_MAXMESSAGE 65536 |
max reliable packet size (sent as multiple fragments of MAX_PACKETFRAGMENT) | |
#define | NET_MINRATE 1000 |
limits "rate" and "sv_maxrate" cvars | |
#define | ON_EPSILON 0.1 |
point on plane side epsilon | |
#define | PAINTBUFFER_SIZE 2048 |
#define | SAVEGAME_COMMENT_LENGTH 39 |
max comment length of savegame in menu | |
#define | SERVERLIST_ANDMASKCOUNT 16 |
max items in server list AND mask | |
#define | SERVERLIST_ORMASKCOUNT 16 |
max items in server list OR mask | |
#define | SERVERLIST_TOTALSIZE 2048 |
max servers in the server list | |
#define CACHEPICHASHSIZE 256 |
number of hash buckets for accelerating 2D pic name lookups
Definition at line 134 of file qdefs.h.
Referenced by Draw_CachePic_Flags(), Draw_FreePic(), and Draw_NewPic().
#define CL_MAX_USERCMDS 128 |
max number of predicted input packets in queue
Definition at line 115 of file qdefs.h.
Referenced by CL_ClientMovement_Replay(), CL_RotateMoves(), CL_SendMove(), SV_ReadClientMove(), and VM_CL_getinputstate().
#define CMD_TOKENIZELENGTH (MAX_INPUTLINE + MAX_ARGS) |
maximum tokenizable commandline length (counting trailing 0)
Definition at line 166 of file qdefs.h.
Referenced by Cmd_TokenizeString().
#define CMDBUFSIZE 655360 |
maximum script size that can be loaded by the exec command (8192 in Quake)
Definition at line 100 of file qdefs.h.
Referenced by Cmd_Init().
#define CON_MAXLINES 16384 |
max scrollback buffer lines in console
Definition at line 96 of file qdefs.h.
Referenced by Con_Init().
#define CON_TEXTSIZE 1048576 |
max scrollback buffer characters in console
Definition at line 95 of file qdefs.h.
Referenced by Con_Init(), Con_PrintToHistory(), and Key_Parse_CommonKeys().
#define CRYPTO_HOSTKEY_HASHSIZE 8192 |
number of hash buckets for accelerating host key lookups
Definition at line 126 of file qdefs.h.
Referenced by Crypto_ClearHostKey(), Crypto_ClearHostKeys(), Crypto_HostKeys_f(), Crypto_InitHostKeys(), Crypto_RetrieveHostKey(), and Crypto_StoreHostKey().
#define CVAR_HASHSIZE 65536 |
number of hash buckets for accelerating cvar name lookups
Definition at line 116 of file qdefs.h.
Referenced by Cvar_FindVar(), Cvar_FindVarLink(), Cvar_Link(), and Cvar_RegisterVirtual().
#define FLOAT_IS_TRUE_FOR_INT | ( | x | ) |
#define HIST_MAXLINES 4096 |
max command history buffer lines in console
Definition at line 98 of file qdefs.h.
Referenced by Key_History_f(), Key_History_Find_All(), Key_History_Find_Backwards(), Key_History_Find_Forwards(), and Key_History_Init().
#define HIST_TEXTSIZE 262144 |
max command history buffer characters in console
Definition at line 97 of file qdefs.h.
Referenced by Key_History_Init().
#define INT_LOSSLESS_FORMAT_CONVERT_S | ( | x | ) |
#define INT_LOSSLESS_FORMAT_CONVERT_U | ( | x | ) |
#define INT_LOSSLESS_FORMAT_SIZE "j" |
Definition at line 204 of file qdefs.h.
Referenced by VM_sprintf().
Definition at line 220 of file qdefs.h.
Referenced by R_LoadTextureDDSFile().
Definition at line 222 of file qdefs.h.
Referenced by R_LoadTextureDDSFile().
#define INTOVERFLOW_NORMALIZE | ( | a | ) |
#define ISCOMMENT | ( | ch, | |
pos ) |
#define ISWHITESPACE | ( | ch | ) |
Definition at line 184 of file qdefs.h.
Referenced by Cbuf_ParseText(), CL_IPLog_Load(), CL_Locs_Reload_f(), CL_SetInfo(), Cmd_GetDirectCvarValue(), Cmd_PreprocessAndExecuteString(), Cmd_TokenizeString(), COM_ParseToken_Console(), COM_ParseToken_QuakeC(), COM_ParseToken_Simple(), COM_ParseToken_VM_Tokenize(), COM_ReadAndTokenizeLine(), Cvar_UpdateAutoCvar(), GetMapList(), ModList_RebuildList(), NetConn_BuildStatusResponse(), NetConn_ServerParsePacket(), PRVM_ED_ParseEpair(), PRVM_Prog_Load(), SV_Status_f(), VM_CheckEmptyString(), VM_tokenize(), and VM_tokenize_console().
#define ISWHITESPACEORCONTROL | ( | ch | ) |
Definition at line 187 of file qdefs.h.
Referenced by SV_Savegame_to().
#define M_MAX_EDICTS 32768 |
#define MAX_ALIAS_NAME 32 |
Definition at line 99 of file qdefs.h.
Referenced by Cmd_Alias_f().
#define MAX_ARGS 80 |
maximum number of parameters to a console command or alias
Definition at line 101 of file qdefs.h.
Referenced by Cmd_TokenizeString().
#define MAX_BEAMS 256 |
#define MAX_BINDMAPS 8 |
Definition at line 152 of file qdefs.h.
Referenced by Key_FindKeysForCommand(), Key_GetBind(), Key_In_Bind_f(), Key_In_BindList_f(), Key_In_Bindmap_f(), Key_In_Unbind_f(), Key_SetBinding(), Key_SetBindMap(), Key_Unbindall_f(), Key_WriteBindings(), VM_findkeysforcommand(), VM_getkeybind(), and VM_setkeybind().
#define MAX_CACHED_PICS 2048 |
max number of 2D pics loaded at once
Definition at line 133 of file qdefs.h.
Referenced by Draw_CachePic_Flags(), and Draw_NewPic().
#define MAX_CHANNELS (8192 + 4) |
Definition at line 147 of file qdefs.h.
Referenced by S_Init(), S_StaticSound(), and S_StopAllSounds().
#define MAX_CLIENTNETWORKEYES 16 |
#define MAX_CUBEMAPS 1024 |
max number of cubemap textures loaded for light filters
Definition at line 130 of file qdefs.h.
Referenced by R_GetCubemap().
#define MAX_DECALSYSTEM_QUEUE 1024 |
Definition at line 150 of file qdefs.h.
Referenced by R_DecalSystem_SplatEntities().
#define MAX_DEMONAME 32 |
#define MAX_DEMOS 8 |
max demos provided to demos command
Definition at line 118 of file qdefs.h.
Referenced by CL_NextDemo(), and CL_Startdemos_f().
#define MAX_DLIGHTS 256 |
max number of dynamic lights (rocket flashes, etc) in scene at once
Definition at line 132 of file qdefs.h.
Referenced by CL_ClearState(), CL_LinkNetworkEntity(), CL_NewParticlesFromEffectinfo(), CL_ParticleEffect_Fallback(), CL_RelinkBeams(), CL_RelinkLightFlashes(), and VM_CL_R_AddDynamicLight().
#define MAX_DYNAMIC_CHANNELS 512 |
Definition at line 146 of file qdefs.h.
Referenced by S_Init(), S_StartSound_StartPosition_Flags(), S_StopAllSounds(), S_StopSound(), S_Update(), and SND_PickChannel().
#define MAX_DYNAMIC_TEXTURE_COUNT 64 |
#define MAX_EDICTS 32768 |
max number of objects in game world at once (32768 protocol limit)
Definition at line 105 of file qdefs.h.
Referenced by animatemodel(), CL_Cache_TraceLineSurfaces(), CL_ClearState(), CL_ExpandCSQCRenderEntities(), CL_ExpandEntities(), CL_Init(), CL_NewBeam(), CL_ParseBeam(), CL_ParseServerMessage(), CL_ParseStartSoundPacket(), CL_ParseTrailParticles(), CL_TraceBox(), CL_TraceLine(), CL_TracePoint(), CL_VM_GetEntitySoundOrigin(), CL_VM_GetViewEntity(), CSQC_AddRenderEdict(), EntityFrame5_LostFrame(), EntityFrame_CL_ReadFrame(), EntityFrameCSQC_LostFrame(), EntityFrameQuake_ReadEntity(), EntityState5_ReadUpdate(), MVM_init_cmd(), R_GetCurrentTexture(), R_Mod_DrawAddWaterPlanes(), R_Shadow_DrawLightShadowMaps(), R_Shadow_PrepareLight(), R_Water_ProcessPlanes(), SND_Spatialize_WithSfx(), SV_CanSeeBox(), SV_LinkEdict_TouchAreaGrid(), SV_Loadgame_f(), SV_PointSuperContents(), SV_PushMove(), SV_TraceBox(), SV_TraceLine(), SV_TracePoint(), SV_VM_Setup(), VM_CL_findbox(), VM_CL_findradius(), VM_CL_pointsound(), VM_CL_skel_build(), VM_CL_skel_copybones(), VM_CL_skel_create(), VM_CL_skel_delete(), VM_CL_skel_find_bone(), VM_CL_skel_get_boneabs(), VM_CL_skel_get_bonename(), VM_CL_skel_get_boneparent(), VM_CL_skel_get_bonerel(), VM_CL_skel_get_numbones(), VM_CL_skel_mul_bone(), VM_CL_skel_mul_bones(), VM_CL_skel_set_bone(), VM_CL_sound(), VM_getsoundtime(), VM_SV_findbox(), VM_SV_findradius(), VM_SV_skel_build(), VM_SV_skel_copybones(), VM_SV_skel_create(), VM_SV_skel_delete(), VM_SV_skel_find_bone(), VM_SV_skel_get_boneabs(), VM_SV_skel_get_bonename(), VM_SV_skel_get_boneparent(), VM_SV_skel_get_bonerel(), VM_SV_skel_get_numbones(), VM_SV_skel_mul_bone(), VM_SV_skel_mul_bones(), VM_SV_skel_set_bone(), and VM_UpdateEdictSkeleton().
#define MAX_EFFECTS 256 |
#define MAX_ENTITIES_INITIAL 256 |
#define MAX_EXPLOSIONS 64 |
max number of explosion shell effects active at once (not particle related)
Definition at line 131 of file qdefs.h.
Referenced by R_NewExplosion().
#define MAX_INPUTLINE 16384 |
maximum size of console commandline, QuakeC strings, and many other text processing buffers
Definition at line 94 of file qdefs.h.
Referenced by CL_ExaminePrintString(), CL_ForwardToServer_f(), CL_IPLog_Load(), CL_Locs_Reload_f(), CL_Locs_Save_f(), CL_NextDemo(), CL_ParseEntityLump(), Cmd_Alias_f(), Cmd_ExecuteAlias(), Cmd_GetCvarValue(), Cmd_PreprocessAndExecuteString(), Cmd_StuffCmds_f(), COM_Init_Commands(), Con_CenterPrintf(), Con_CompleteCommandLine(), Con_DPrintf(), Con_DrawInput(), Con_Init(), Con_MaskPrint(), Con_MaskPrintf(), Con_Printf(), ConBuffer_GetLine(), Crypto_ClientParsePacket(), Crypto_ServerParsePacket(), Crypto_ServerParsePacket_Internal(), CSQC_AddPrintText(), Cvar_SetValue(), Cvar_SetValueQuick(), Cvar_WriteVariables(), dpvsnprintf(), FS_ListDirectory(), FS_Rescan(), FS_VPrintf(), GL_Backend_CompileProgram(), GL_Backend_CompileShader(), GL_CheckExtension(), Host_Error(), InfoString_Print(), InfoString_SetValue(), Key_AddChar(), Key_Bind_f(), Key_History_Init(), Key_In_Bind_f(), Key_Parse_CommonKeys(), Key_PrintBindList(), Key_WriteBindings(), M_Keys_Draw(), Mod_Q3BSP_LoadEntities(), MVM_error_cmd(), NetConn_ClientParsePacket(), NetConn_ServerParsePacket(), PRVM_ED_EdictGet_f(), PRVM_ED_GlobalGet_f(), PRVM_ED_ParseGlobals(), PRVM_ED_Print(), PRVM_ED_Write(), PRVM_ED_WriteGlobals(), PRVM_Fields_f(), PRVM_Global_f(), PRVM_GlobalString(), PRVM_PO_Load(), PRVM_PrintStatement(), PRVM_Prog_Load(), R_LoadSkyBox(), R_Shadow_EditLights_Edit_f(), R_Shadow_LoadWorldLightsFromMap_LightArghliteTyrlite(), R_Shadow_SaveWorldLights(), RCon_Authenticate(), SCR_Centerprint_f(), SV_BroadcastPrintf(), SV_ClientCommands(), SV_ClientPrintf(), SV_Savegame_to(), SV_Tell_f(), Sys_ConsoleInput(), Sys_Error(), Sys_Printf(), Sys_SDL_GetClipboardData(), VM_getentityfieldstring(), VM_sprintf(), VM_tokenizebyseparator(), and VM_Warning().
#define MAX_LEVELNETWORKEYES 512 |
#define MAX_LIGHTSTYLES 256 |
max flickering light styles in level (note: affects savegame format)
Definition at line 108 of file qdefs.h.
Referenced by CL_ClearState(), R_Shadow_BounceGrid_AssignPhotons_Task(), R_Shadow_PrepareLight(), R_Shadow_PrepareLights(), SV_Loadgame_f(), SV_Savegame_to(), SV_Spawn_f(), VM_CL_R_AddDynamicLight(), and VM_SV_lightstyle().
#define MAX_LOCALINFO_STRING 32768 |
#define MAX_MODELS 8192 |
max number of models loaded at once (including during level transitions)
Definition at line 106 of file qdefs.h.
Referenced by CL_GetModelByIndex(), CL_ModelIndexList_f(), CL_ParseServerInfo(), CL_ParseServerMessage(), CL_ValidateState(), QW_CL_ParseModelList(), QW_CL_RequestNextDownload(), SV_GetModelByIndex(), SV_GetModelFromEdict(), SV_GetTagIndex(), SV_GetTagMatrix(), SV_LinkEdict(), SV_Loadgame_f(), SV_ModelIndex(), SV_PrepareEntityForSending(), SV_PushMove(), SV_Savegame_to(), SV_SendServerinfo(), SV_SpawnServer(), VM_CL_precache_model(), VM_CL_setmodel(), VM_SV_modelnameforindex(), and VM_SV_setmodelindex().
#define MAX_NUM_ARGVS 50 |
Definition at line 24 of file qdefs.h.
Referenced by COM_Init_Commands().
#define MAX_OCCLUSION_QUERIES 4096 |
max number of query objects that can be used in one frame
Definition at line 124 of file qdefs.h.
Referenced by R_Shadow_DrawCoronas().
#define MAX_OSPATH 1024 |
max length of a filesystem pathname
Definition at line 175 of file qdefs.h.
Referenced by adddirentry(), CL_ParseServerInfo(), CL_Record_f(), COM_InitGameType(), Curl_Begin(), FS_AddPack(), FS_ChooseUserDir(), FS_FileType(), FS_FindFile(), FS_OpenReadFile(), FS_OpenRealFile(), FS_Search(), LibAvW_OpenVideo(), listdirectory(), M_ScanSaves(), SV_SendServerinfo(), Sys_FindExecutableName(), and Sys_LoadDependency().
#define MAX_PACKETFRAGMENT 1024 |
max length of packet fragment
Definition at line 104 of file qdefs.h.
Referenced by NetConn_ReceivedMessage(), NetConn_SendUnreliableMessage(), SV_StartEffect(), SV_StartParticle(), SV_StartPointSound(), and SV_StartSound().
#define MAX_PARTICLEEFFECTINFO 8192 |
maximum number of unique particle effects (each name may associate with several of these)
Definition at line 136 of file qdefs.h.
Referenced by CL_NewParticlesFromEffectinfo(), and CL_Particles_ParseEffectInfo().
#define MAX_PARTICLEEFFECTNAME 4096 |
maximum number of unique names of particle effects (for particleeffectnum)
Definition at line 135 of file qdefs.h.
Referenced by CL_NewParticlesFromEffectinfo(), CL_ParticleEffectIndexForName(), CL_ParticleEffectNameForIndex(), CL_Particles_ParseEffectInfo(), and SV_ParticleEffectIndex().
#define MAX_PARTICLES 1048576 |
upper limit on cl.particles size
Definition at line 154 of file qdefs.h.
Referenced by R_DrawParticles().
#define MAX_PARTICLES_INITIAL 8192 |
initial allocation for cl.particles
Definition at line 153 of file qdefs.h.
Referenced by CL_ClearState().
#define MAX_PARTICLETEXTURES 256 |
maximum number of unique particle textures in the particle font
Definition at line 137 of file qdefs.h.
Referenced by R_InitParticleTexture().
#define MAX_QPATH 128 |
max length of a quake game pathname
Definition at line 169 of file qdefs.h.
Referenced by CDAudio_Play_byName(), CDAudio_StartPlaylist(), CL_BeginDownloads(), CL_Locs_Reload_f(), CL_Locs_Save_f(), CL_ParseServerInfo(), CL_Particles_LoadEffectInfo(), CL_PlayDemo(), CL_PlayVideo_f(), CL_ReadPointFile_f(), CL_StopDownload(), CompressedImageCache_Add(), Con_CompleteCommandLine(), Font_LoadFile(), Font_LoadMap(), FS_OpenReadFile(), GetMapList(), gl_main_newmap(), Image_FixTransparentPixels_f(), Image_GetStockPicSize(), LoadFont(), LoadFont_f(), loadimagepixelsbgra(), LoadSubtitles(), Mod_BuildAliasSkinsFromSkinFiles(), Mod_Decompile_f(), Mod_Decompile_OBJ(), Mod_IDP0_Load(), Mod_IDS2_Load(), Mod_LoadSkinFiles(), Mod_OBJ_Load(), Mod_PSKMODEL_Load(), Mod_Q1BSP_LoadLighting(), Mod_Q1BSP_LoadMapBrushes(), Mod_Q1BSP_LoadTextures(), Mod_Q2BSP_LoadTexinfo(), Mod_Q3BSP_LoadLightmaps(), Mod_Sprite_SharedSetup(), Mod_UnloadModel(), QW_CL_ParseModelList(), QW_CL_ParseSoundList(), R_Envmap_f(), R_InitParticleTexture(), R_InitShaderModeInfo(), R_LoadQWSkin(), R_ResetSkyBox(), R_Shadow_LoadLightsFile(), R_Shadow_LoadWorldLights(), R_Shadow_SaveWorldLights(), R_SkinFrame_Find(), R_SkinFrame_FindNextByName(), R_SkinFrame_LoadExternal_SkinFrame(), S_LoadSound(), S_Play_Common(), Sbar_ShowFPS(), SCR_DrawScreen(), SCR_ScreenShot_f(), SV_Download_f(), SV_Loadgame_f(), SV_ModelIndex(), SV_ParticleEffectIndex(), SV_Savegame_f(), SV_SendServerinfo(), SV_SoundIndex(), SV_StartDemoRecording(), and VM_loadfont().
#define MAX_SAVEGAMES 12 |
max savegames listed in savegame menu
Definition at line 120 of file qdefs.h.
Referenced by M_Load_Draw(), M_Load_Key(), M_Save_Draw(), M_Save_Key(), and M_ScanSaves().
#define MAX_SCOREBOARD 255 |
max number of players in game at once (255 protocol limit)
Definition at line 110 of file qdefs.h.
Referenced by CL_ParseServerInfo(), M_Menu_GameOptions_f(), M_NetStart_Change(), Sbar_PrintScoreboardItem(), SV_MaxPlayers_f(), and SV_ServerOptions().
#define MAX_SCOREBOARDNAME 128 |
max length of player name in game
Definition at line 111 of file qdefs.h.
Referenced by CL_Name_f(), Nicks_CompleteCountPossible(), and SV_WriteNetnameIntoDemo().
#define MAX_SERVERINFO_STRING 1280 |
#define MAX_SOUNDS 4096 |
max number of sounds loaded at once
Definition at line 107 of file qdefs.h.
Referenced by CL_ParseServerInfo(), CL_ParseServerMessage(), CL_ParseStartSoundPacket(), CL_ParseStaticSound(), CL_SoundIndexList_f(), QW_CL_ParseSoundList(), QW_CL_RequestNextDownload(), S_FindName(), SV_Loadgame_f(), SV_Savegame_to(), SV_SendServerinfo(), and SV_SoundIndex().
#define MAX_STATICENTITIES 4096 |
limit on size of cl.static_entities
Definition at line 156 of file qdefs.h.
Referenced by CL_ClearState().
#define MAX_STYLESTRING 64 |
max length of flicker pattern for light style
Definition at line 109 of file qdefs.h.
Referenced by CL_ParseServerMessage(), and VM_CL_lightstyle().
#define MAX_TEMPENTITIES 4096 |
#define MAX_USERINFO_STRING 1280 |
#define MAX_WATERPLANES 16 |
max number of water planes visible (each one causes additional view renders)
Definition at line 129 of file qdefs.h.
Referenced by R_Water_StartFrame().
#define MAXCLVIDEOS 65 |
maximum number of video streams being played back at once (1 is reserved for the playvideo command)
Definition at line 138 of file qdefs.h.
Referenced by FindUnusedVid().
#define MAXTRACKS 256 |
max CD track index
Definition at line 142 of file qdefs.h.
Referenced by CD_f(), CDAudio_Init(), and CDAudio_Play_byName().
#define MODLIST_TOTALSIZE 256 |
Definition at line 148 of file qdefs.h.
Referenced by ModList_RebuildList().
#define NET_MAXMESSAGE 65536 |
max reliable packet size (sent as multiple fragments of MAX_PACKETFRAGMENT)
Definition at line 103 of file qdefs.h.
Referenced by CL_ParseDownload(), CL_VM_Init(), NetConn_ClientFrame(), NetConn_ClientParsePacket(), NetConn_ReceivedMessage(), NetConn_SendUnreliableMessage(), NetConn_ServerFrame(), NetConn_ServerParsePacket(), SV_SendClientDatagram(), and SV_SendServerinfo().
#define NET_MINRATE 1000 |
limits "rate" and "sv_maxrate" cvars
Definition at line 180 of file qdefs.h.
Referenced by M_NetStart_Change(), and SV_SendClientDatagram().
#define ON_EPSILON 0.1 |
point on plane side epsilon
Definition at line 178 of file qdefs.h.
Referenced by SV_SetIdealPitch().
#define PAINTBUFFER_SIZE 2048 |
Definition at line 151 of file qdefs.h.
Referenced by S_MixToBuffer(), and SCR_CaptureVideo_Avi_SoundFrame().
#define SAVEGAME_COMMENT_LENGTH 39 |
max comment length of savegame in menu
Definition at line 121 of file qdefs.h.
Referenced by M_ScanSaves(), and SV_Savegame_to().
#define SERVERLIST_ANDMASKCOUNT 16 |
max items in server list AND mask
Definition at line 161 of file qdefs.h.
Referenced by VM_M_setserverlistmasknumber(), and VM_M_setserverlistmaskstring().
#define SERVERLIST_ORMASKCOUNT 16 |
max items in server list OR mask
Definition at line 162 of file qdefs.h.
Referenced by VM_M_setserverlistmasknumber(), and VM_M_setserverlistmaskstring().
#define SERVERLIST_TOTALSIZE 2048 |
max servers in the server list
Definition at line 160 of file qdefs.h.
Referenced by NetConn_ClientParsePacket().