![]() |
DarkPlaces
Game engine based on the Quake 1 engine by id Software, developed by LadyHavoc
|
|
#include "quakedef.h"
#include "cdaudio.h"
#include "cl_collision.h"
#include "csprogs.h"
#include "libcurl.h"
#include "utf8lib.h"
#include "cl_video.h"
#include "float.h"
Go to the source code of this file.
Data Structures | |
struct | cl_iplog_item_t |
Macros | |
#define | LOADPROGRESSWEIGHT_MODEL 4.0 |
#define | LOADPROGRESSWEIGHT_SOUND 1.0 |
#define | LOADPROGRESSWEIGHT_WORLDMODEL 30.0 |
#define | LOADPROGRESSWEIGHT_WORLDMODEL_INIT 2.0 |
#define | RIC_GUNSHOT 1 |
#define | RIC_GUNSHOTQUAD 2 |
#define | SHOWNET(x) |
Variables | |
cvar_t | cl_bottomcolor |
cvar_t | cl_gameplayfix_soundsmovewithentities = {CF_CLIENT, "cl_gameplayfix_soundsmovewithentities", "1", "causes sounds made by lifts, players, projectiles, and any other entities, to move with the entity, so for example a rocket noise follows the rocket rather than staying at the starting position"} |
static cl_iplog_item_t * | cl_iplog_items |
static qbool | cl_iplog_loaded = false |
static int | cl_iplog_maxitems = 0 |
cvar_t | cl_iplog_name = {CF_CLIENT | CF_ARCHIVE, "cl_iplog_name", "darkplaces_iplog.txt", "name of iplog file containing player addresses for iplog_list command and automatic ip logging when parsing status command"} |
static int | cl_iplog_numitems = 0 |
cvar_t | cl_joinbeforedownloadsfinish = {CF_CLIENT | CF_ARCHIVE, "cl_joinbeforedownloadsfinish", "1", "if non-zero the game will begin after the map is loaded before other downloads finish"} |
cvar_t | cl_lerpexcess |
cvar_t | cl_nettimesyncboundmode = {CF_CLIENT | CF_ARCHIVE, "cl_nettimesyncboundmode", "6", "method of restricting client time to valid values, 0 = no correction, 1 = tight bounding (jerky with packet loss), 2 = loose bounding (corrects it if out of bounds), 3 = leniant bounding (ignores temporary errors due to varying framerate), 4 = slow adjustment method from Quake3, 5 = slightly nicer version of Quake3 method, 6 = tight bounding + mode 5, 7 = jitter compensated dynamic adjustment rate"} |
cvar_t | cl_nettimesyncboundtolerance = {CF_CLIENT | CF_ARCHIVE, "cl_nettimesyncboundtolerance", "0.25", "how much error is tolerated by bounding check, as a fraction of frametime, 0.25 = up to 25% margin of error tolerated, 1 = use only new time, 0 = use only old time (same effect as setting cl_nettimesyncfactor to 1) (only affects bound modes 2 and 3)"} |
cvar_t | cl_nettimesyncfactor = {CF_CLIENT | CF_ARCHIVE, "cl_nettimesyncfactor", "0", "rate at which client time adapts to match server time, 1 = instantly, 0.125 = slowly, 0 = not at all (only applied in bound modes 0, 1, 2, 3)"} |
cvar_t | cl_readpicture_force = {CF_CLIENT, "cl_readpicture_force", "0", "when enabled, the low quality pictures read by ReadPicture() are preferred over the high quality pictures on the file system"} |
cvar_t | cl_serverextension_download = {CF_CLIENT, "cl_serverextension_download", "0", "indicates whether the server supports the download command"} |
cvar_t | cl_sound_hknighthit = {CF_CLIENT, "cl_sound_hknighthit", "hknight/hit.wav", "sound to play during TE_KNIGHTSPIKE (empty cvar disables sound)"} |
cvar_t | cl_sound_r_exp3 = {CF_CLIENT, "cl_sound_r_exp3", "weapons/r_exp3.wav", "sound to play during TE_EXPLOSION and related effects (empty cvar disables sound)"} |
cvar_t | cl_sound_ric1 = {CF_CLIENT, "cl_sound_ric1", "weapons/ric1.wav", "sound to play with 5% chance during TE_SPIKE/TE_SUPERSPIKE (empty cvar disables sound)"} |
cvar_t | cl_sound_ric2 = {CF_CLIENT, "cl_sound_ric2", "weapons/ric2.wav", "sound to play with 5% chance during TE_SPIKE/TE_SUPERSPIKE (empty cvar disables sound)"} |
cvar_t | cl_sound_ric3 = {CF_CLIENT, "cl_sound_ric3", "weapons/ric3.wav", "sound to play with 10% chance during TE_SPIKE/TE_SUPERSPIKE (empty cvar disables sound)"} |
cvar_t | cl_sound_ric_gunshot = {CF_CLIENT, "cl_sound_ric_gunshot", "0", "specifies if and when the related cl_sound_ric and cl_sound_tink sounds apply to TE_GUNSHOT/TE_GUNSHOTQUAD, 0 = no sound, 1 = TE_GUNSHOT, 2 = TE_GUNSHOTQUAD, 3 = TE_GUNSHOT and TE_GUNSHOTQUAD"} |
cvar_t | cl_sound_tink1 = {CF_CLIENT, "cl_sound_tink1", "weapons/tink1.wav", "sound to play with 80% chance during TE_SPIKE/TE_SUPERSPIKE (empty cvar disables sound)"} |
cvar_t | cl_sound_wizardhit = {CF_CLIENT, "cl_sound_wizardhit", "wizard/hit.wav", "sound to play during TE_WIZSPIKE (empty cvar disables sound)"} |
cvar_t | cl_topcolor |
cvar_t | cl_worldbasename = {CF_CLIENT | CF_READONLY, "cl_worldbasename", "", "name of current worldmodel without maps/ prefix or extension"} |
cvar_t | cl_worldmessage = {CF_CLIENT | CF_READONLY, "cl_worldmessage", "", "title of current level"} |
cvar_t | cl_worldname = {CF_CLIENT | CF_READONLY, "cl_worldname", "", "name of current worldmodel"} |
cvar_t | cl_worldnamenoextension = {CF_CLIENT | CF_READONLY, "cl_worldnamenoextension", "", "name of current worldmodel without extension"} |
cvar_t | con_chatsound_team_file |
static const vec3_t | defaultmaxs = {4096, 4096, 4096} |
static const vec3_t | defaultmins = {-4096, -4096, -4096} |
cvar_t | developer_networkentities = {CF_CLIENT, "developer_networkentities", "0", "prints received entities, value is 0-10 (higher for more info, 10 being the most verbose)"} |
cvar_t | host_timescale |
static unsigned char | olddata [NET_MAXMESSAGE] |
int | parsingerror = false |
const char * | qw_svc_strings [128] |
cvar_t | snd_cdautopause = {CF_CLIENT | CF_ARCHIVE, "snd_cdautopause", "1", "pause the CD track while the game is paused"} |
const char * | svc_strings [128] |
#define LOADPROGRESSWEIGHT_MODEL 4.0 |
Definition at line 1084 of file cl_parse.c.
Referenced by CL_BeginDownloads().
#define LOADPROGRESSWEIGHT_SOUND 1.0 |
Definition at line 1083 of file cl_parse.c.
Referenced by CL_BeginDownloads().
#define LOADPROGRESSWEIGHT_WORLDMODEL 30.0 |
Definition at line 1085 of file cl_parse.c.
Referenced by CL_BeginDownloads().
#define LOADPROGRESSWEIGHT_WORLDMODEL_INIT 2.0 |
Definition at line 1086 of file cl_parse.c.
Referenced by CL_BeginDownloads().
#define RIC_GUNSHOT 1 |
Definition at line 183 of file cl_parse.c.
Referenced by CL_ParseTempEntity().
#define RIC_GUNSHOTQUAD 2 |
Definition at line 184 of file cl_parse.c.
Referenced by CL_ParseTempEntity().
#define SHOWNET | ( | x | ) |
Definition at line 3427 of file cl_parse.c.
Referenced by CL_ParseServerMessage().
Definition at line 1088 of file cl_parse.c.
References server_t::active, cl, CL_ForwardToServer(), cl_joinbeforedownloadsfinish, CL_KeepaliveMessage(), cl_serverextension_download, CL_SetupWorldModel(), cls, Con_Printf(), csqc_progcrc, csqc_progname, csqc_progsize, Curl_Have_forthismap(), Curl_Register_predownload(), Cvar_SetValueQuick(), client_state_t::downloadcsqc, client_state_t::downloadmodel_current, client_state_t::downloadsound_current, dpsnprintf(), FS_CRCFile(), FS_FileExists(), FS_HasZlib(), gamemode, cvar_t::integer, IS_NEXUIZ_DERIVED, client_state_t::loadbegun, client_state_t::loadfinished, client_state_t::loadmodel_current, client_state_t::loadmodel_total, LOADPROGRESSWEIGHT_MODEL, LOADPROGRESSWEIGHT_SOUND, LOADPROGRESSWEIGHT_WORLDMODEL, LOADPROGRESSWEIGHT_WORLDMODEL_INIT, client_state_t::loadsound_current, client_state_t::loadsound_total, MAX_QPATH, Mem_CheckSentinelsGlobal, Mod_ForName(), Mod_FreeQ3Shaders(), client_state_t::model_name, client_state_t::model_precache, server_t::models, client_static_t::netcon, NULL, client_static_t::protocol, PROTOCOL_QUAKEWORLD, client_static_t::qw_downloadname, S_IsSoundPrecached(), S_PrecacheSound(), SCR_PopLoadingScreen(), SCR_PushLoadingScreen(), client_state_t::sound_name, client_state_t::sound_precache, cvar_t::string, sv, and va().
Referenced by CL_BeginDownloads_f(), CL_DownloadFinished_f(), CL_StopDownload(), and CL_StopDownload_f().
|
static |
Definition at line 1374 of file cl_parse.c.
References cl, CL_BeginDownloads(), Con_Printf(), and client_state_t::loadbegun.
Referenced by CL_Parse_Init().
|
static |
Definition at line 1517 of file cl_parse.c.
References CL_ForwardToServer(), CL_StopDownload(), cls, cmd(), Cmd_Argc(), Cmd_Argv(), Con_Printf(), dp_strlcpy, FS_CheckNastyPath(), Mem_Alloc, client_static_t::permanentmempool, client_static_t::qw_download_deflate, client_static_t::qw_downloadmemory, client_static_t::qw_downloadmemorymaxsize, client_static_t::qw_downloadname, client_static_t::qw_downloadnumber, and size.
Referenced by CL_Parse_Init().
|
static |
Definition at line 1561 of file cl_parse.c.
References CL_BeginDownloads(), CL_StopDownload(), cmd(), Cmd_Argc(), Cmd_Argv(), and Con_Printf().
Referenced by CL_Parse_Init().
|
static |
Definition at line 3142 of file cl_parse.c.
References bound, cl, CL_IPLog_Add(), CL_PARSETEXTMODE_NONE, CL_PARSETEXTMODE_PING, CL_PARSETEXTMODE_STATUS, CL_PARSETEXTMODE_STATUS_PLAYERID, CL_PARSETEXTMODE_STATUS_PLAYERIP, cls, Con_DPrintf(), Con_Printf(), client_static_t::demoplayback, MAX_INPUTLINE, client_state_t::maxclients, scoreboard_t::name, client_state_t::parsingtextexpectingpingforscores, client_state_t::parsingtextmode, client_state_t::parsingtextplayerindex, ping, scoreboard_t::qw_ping, and client_state_t::scores.
Referenced by CL_ParseServerMessage().
|
static |
Definition at line 2994 of file cl_parse.c.
References cl_iplog_item_t::address, cl_iplog_items, CL_IPLog_Load(), cl_iplog_loaded, cl_iplog_maxitems, cl_iplog_name, cl_iplog_numitems, cls, Con_DPrintf(), developer_extra, dp_strlcpy, i, cvar_t::integer, Log_Printf(), max, Mem_Alloc, Mem_Free, cl_iplog_item_t::name, name, client_static_t::permanentmempool, cvar_t::string, and strlen().
Referenced by CL_ExaminePrintString(), and CL_IPLog_Load().
|
static |
Definition at line 3100 of file cl_parse.c.
References cl_iplog_items, CL_IPLog_Load(), cl_iplog_loaded, cl_iplog_numitems, cmd(), Cmd_Argc(), Cmd_Argv(), Con_Printf(), i, name, and strlen().
Referenced by CL_Parse_Init().
Definition at line 3053 of file cl_parse.c.
References CL_IPLog_Add(), cl_iplog_loaded, cl_iplog_name, Con_Printf(), FS_LoadFile(), i, ISWHITESPACE, MAX_INPUTLINE, NULL, cvar_t::string, and tempmempool.
Referenced by CL_IPLog_Add(), and CL_IPLog_List_f().
Definition at line 314 of file cl_parse.c.
References server_t::active, buf, ca_dedicated, cl_message, clc_nop, cls, Con_Print(), sizebuf_t::cursize, sizebuf_t::data, sizebuf_t::maxsize, MSG_WriteChar(), client_static_t::netcon, NetConn_ClientFrame(), NetConn_SendUnreliableMessage(), olddata, client_static_t::protocol, PROTOCOL_QUAKEWORLD, client_static_t::signon, SIGNONS, client_static_t::state, sv, and Sys_DirtyTime().
Referenced by CL_BeginDownloads(), CL_ParseServerMessage(), CL_SetupWorldModel(), loadimagepixelsbgra(), Mod_Q2BSP_LoadBrushes(), Mod_Q3BSP_Load(), Mod_Q3BSP_LoadBrushes(), Mod_ShadowMesh_AddMesh(), Mod_ShadowMesh_Begin(), Mod_ShadowMesh_Finish(), and R_LoadTextureDDSFile().
Definition at line 1991 of file cl_parse.c.
References entity_state_t::active, entity_state_t::angles, bound, cl, DotProduct, EF_MUZZLEFLASH, EF_RESTARTANIM_BIT, EF_TELEPORT_BIT, entity_state_t::effects, client_state_t::fixangle, entity_state_t::flags, entity_state_t::frame, framegroupblend_t::frame, entity_render_t::framegroupblend, framegroupblend_t::lerp, entity_persistent_t::lerpdeltatime, entity_persistent_t::lerpstarttime, entity_state_t::modelindex, client_state_t::mtime, entity_persistent_t::muzzleflash, entity_persistent_t::newangles, entity_persistent_t::neworigin, entity_persistent_t::oldangles, entity_persistent_t::oldorigin, entity_state_t::origin, entity_t::persistent, entity_t::render, RENDER_STEP, entity_render_t::shadertime, framegroupblend_t::start, entity_t::state_current, entity_t::state_previous, entity_state_t::tagentity, entity_state_t::tagindex, client_state_t::time, entity_state_t::time, entity_persistent_t::trail_allowed, VectorCopy, and VectorSubtract.
Referenced by EntityFrame4_CL_ReadFrame(), EntityFrame5_CL_ReadFrame(), EntityFrame_CL_ReadFrame(), EntityFrameQuake_ReadEntity(), EntityFrameQW_CL_ReadFrame(), and EntityStateQW_ReadPlayerUpdate().
|
static |
Definition at line 3287 of file cl_parse.c.
References bound, cl, cl_lerpexcess, cl_nettimesyncboundmode, cl_nettimesyncboundtolerance, cl_nettimesyncfactor, cls, Con_DPrintf(), CSQC_UpdateNetworkTimes(), Cvar_SetQuick(), cvar_t::defstring, client_static_t::demoplayback, developer_extra, client_state_t::entities, client_state_t::entities_active, error(), fabs(), client_state_t::fixangle, i, cvar_t::integer, entity_persistent_t::lerpdeltatime, max, client_state_t::movement_replay, client_state_t::movevars_gravity, client_state_t::movevars_ticrate, client_state_t::movevars_timescale, client_state_t::mtime, client_state_t::mviewangles, client_state_t::num_entities, NUM_TS_ERRORS, client_state_t::oldtime, client_state_t::onground, client_state_t::opt_inputs_since_update, entity_t::persistent, client_static_t::protocol, PROTOCOL_QUAKEWORLD, client_static_t::signon, SIGNONS, target, client_state_t::time, client_static_t::timedemo, client_state_t::ts_error_num, client_state_t::ts_error_stor, cvar_t::value, VectorCopy, vid_activewindow, client_state_t::world, and World_Physics_Frame().
Referenced by CL_ParseServerMessage().
Definition at line 2356 of file cl_parse.c.
References b, client_state_t::beams, cl, CL_ExpandEntities(), Con_DPrint(), Con_Printf(), i, max, client_state_t::max_beams, MAX_EDICTS, client_state_t::max_entities, client_state_t::mtime, NULL, client_state_t::num_beams, and VectorCopy.
Referenced by CL_ParseBeam(), VM_CL_te_beam(), VM_CL_te_lightning1(), VM_CL_te_lightning2(), and VM_CL_te_lightning3().
Definition at line 4308 of file cl_parse.c.
References cl_message, Con_Print(), parsingerror, and SZ_HexDumpToConsole().
Referenced by Host_Error().
Definition at line 4317 of file cl_parse.c.
References CL_StopDownload(), cmd_local, and QW_CL_StopUpload_f().
Referenced by CL_DisconnectEx(), and Host_Error().
Definition at line 4323 of file cl_parse.c.
References CF_CLIENT, CF_CLIENT_FROM_SERVER, CL_BeginDownloads_f(), CL_DownloadBegin_f(), CL_DownloadFinished_f(), cl_gameplayfix_soundsmovewithentities, CL_IPLog_List_f(), cl_iplog_name, cl_joinbeforedownloadsfinish, cl_nettimesyncboundmode, cl_nettimesyncboundtolerance, cl_nettimesyncfactor, cl_readpicture_force, cl_serverextension_download, cl_sound_hknighthit, cl_sound_r_exp3, cl_sound_ric1, cl_sound_ric2, cl_sound_ric3, cl_sound_ric_gunshot, cl_sound_tink1, cl_sound_wizardhit, CL_StopDownload_f(), cl_worldbasename, cl_worldmessage, cl_worldname, cl_worldnamenoextension, Cmd_AddCommand(), Cvar_RegisterVariable(), developer_networkentities, QW_CL_Changing_f(), QW_CL_NextUpload_f(), QW_CL_Skins_f(), QW_CL_StopUpload_f(), and snd_cdautopause.
Referenced by CL_Init().
Definition at line 2104 of file cl_parse.c.
References entity_state_t::active, entity_state_t::angles, cl_message, cls, entity_state_t::colormap, defaultstate, entity_state_t::frame, i, entity_state_t::modelindex, MSG_ReadAngle(), MSG_ReadByte, MSG_ReadCoord(), MSG_ReadShort, entity_state_t::origin, client_static_t::protocol, PROTOCOL_NEHAHRABJP, PROTOCOL_NEHAHRABJP2, PROTOCOL_NEHAHRABJP3, entity_state_t::skin, entity_t::state_baseline, entity_t::state_current, and entity_t::state_previous.
Referenced by CL_ParseServerMessage(), and CL_ParseStatic().
Definition at line 2395 of file cl_parse.c.
References cl_message, CL_NewBeam(), cls, Con_Printf(), MAX_EDICTS, MSG_ReadShort, MSG_ReadVector(), and client_static_t::protocol.
Referenced by CL_ParseTempEntity().
Definition at line 2144 of file cl_parse.c.
References cl, cl_message, cls, DEFAULT_VIEWHEIGHT, float, GAME_HIPNOTIC, GAME_QUOTH, GAME_ROGUE, gamemode, i, client_state_t::idealpitch, client_state_t::inwater, IS_OLDNEXUIZ_DERIVED, max, client_state_t::mpunchangle, client_state_t::mpunchvector, MSG_ReadAngle16i(), MSG_ReadByte, MSG_ReadChar, MSG_ReadCoord16i(), MSG_ReadCoord32f(), MSG_ReadLong, MSG_ReadShort, client_state_t::mvelocity, client_state_t::mviewzoom, client_state_t::onground, client_static_t::protocol, PROTOCOL_DARKPLACES1, PROTOCOL_DARKPLACES2, PROTOCOL_DARKPLACES3, PROTOCOL_DARKPLACES4, PROTOCOL_DARKPLACES5, PROTOCOL_NEHAHRABJP, PROTOCOL_NEHAHRABJP2, PROTOCOL_NEHAHRABJP3, PROTOCOL_NEHAHRAMOVIE, PROTOCOL_QUAKE, PROTOCOL_QUAKEDP, STAT_ACTIVEWEAPON, STAT_AMMO, STAT_ARMOR, STAT_CELLS, STAT_HEALTH, STAT_ITEMS, STAT_NAILS, STAT_ROCKETS, STAT_SHELLS, STAT_VIEWHEIGHT, STAT_VIEWZOOM, STAT_WEAPON, STAT_WEAPONFRAME, client_state_t::stats, SU_ARMOR, SU_EXTEND1, SU_EXTEND2, SU_IDEALPITCH, SU_INWATER, SU_ITEMS, SU_ONGROUND, SU_PUNCH1, SU_PUNCHVEC1, SU_VELOCITY1, SU_VIEWHEIGHT, SU_VIEWZOOM, SU_WEAPON, SU_WEAPONFRAME, and VectorCopy.
Referenced by CL_ParseServerMessage().
Definition at line 1478 of file cl_parse.c.
References bound, CL_MAX_DOWNLOADACKS, cl_message, cls, Con_Printf(), data, client_static_t::dp_downloadack, floor(), Host_Error(), i, int(), MSG_ReadBytes(), MSG_ReadLong, MSG_ReadShort, NET_MAXMESSAGE, client_static_t::qw_downloadmemory, client_static_t::qw_downloadmemorycursize, client_static_t::qw_downloadmemorymaxsize, client_static_t::qw_downloadname, client_static_t::qw_downloadpercent, client_static_t::qw_downloadspeedcount, cl_downloadack_t::size, size, and cl_downloadack_t::start.
Referenced by CL_ParseServerMessage().
Definition at line 2328 of file cl_parse.c.
References CL_Effect(), CL_GetModelByIndex(), cl_message, cls, modelindex, MSG_ReadByte, MSG_ReadVector(), and client_static_t::protocol.
Referenced by CL_ParseServerMessage().
Definition at line 2342 of file cl_parse.c.
References CL_Effect(), CL_GetModelByIndex(), cl_message, cls, modelindex, MSG_ReadByte, MSG_ReadShort, MSG_ReadVector(), and client_static_t::protocol.
Referenced by CL_ParseServerMessage().
void CL_ParseEntityLump | ( | char * | entdata | ) |
Definition at line 384 of file cl_parse.c.
References cl, COM_ParseToken_Simple(), com_token, data, dp_strlcpy, r_refdef_t::fog_alpha, r_refdef_t::fog_blue, FOG_clear(), r_refdef_t::fog_density, r_refdef_t::fog_end, r_refdef_t::fog_fadedepth, r_refdef_t::fog_green, r_refdef_t::fog_height, r_refdef_t::fog_height_texturename, r_refdef_t::fog_red, r_refdef_t::fog_start, MAX_INPUTLINE, r_refdef, R_SetSkyBox(), strlen(), value, and client_state_t::worldmodel.
Referenced by gl_main_newmap().
Definition at line 2961 of file cl_parse.c.
References cl_message, CL_ParticleEffect(), cls, count, MSG_ReadShort, MSG_ReadVector(), NULL, origin, client_static_t::protocol, and velocity.
Referenced by CL_ParseServerMessage().
Definition at line 2972 of file cl_parse.c.
References cl_message, CL_ParticleEffect(), cls, MSG_ReadShort, MSG_ReadVector(), NULL, origin, client_static_t::protocol, and vec3_origin.
Referenced by CL_ParseServerMessage().
Definition at line 1678 of file cl_parse.c.
References server_t::active, ca_connected, cl, cl_autodemo, cl_autodemo_delete, cl_autodemo_nameformat, CL_ClearState(), cl_message, cl_readstring, cl_serverextension_download, CL_SetSignonStage_WithMsg(), cl_sound_hknighthit, cl_sound_r_exp3, cl_sound_ric1, cl_sound_ric2, cl_sound_ric3, cl_sound_tink1, cl_sound_wizardhit, CL_Stop_f(), CL_VideoStop(), cl_worldbasename, cl_worldmessage, cl_worldname, cl_worldnamenoextension, cls, cmd_local, Collision_Cache_Reset(), Con_DPrint(), CON_ERROR, Con_Print(), Con_Printf(), Cvar_SetQuick(), Cvar_SetValueQuick(), client_static_t::demo_lastcsprogscrc, client_static_t::demo_lastcsprogssize, client_static_t::demofile, client_static_t::demoname, client_static_t::demoplayback, client_static_t::demorecording, client_state_t::downloadcsqc, client_state_t::downloadmodel_current, client_state_t::downloadsound_current, dp_strlcpy, dpsnprintf(), client_static_t::forcetrack, FS_ChangeGameDirs(), FS_OpenRealFile(), FS_Printf(), FS_StripExtension(), FS_UnloadPacks_dlcache(), GAME_COOP, GAME_DEATHMATCH, GAME_NEHAHRA, gamemode, client_state_t::gametype, Host_Error(), i, cvar_t::integer, client_state_t::islocalgame, client_static_t::levelmempool, client_state_t::loadbegun, client_state_t::loadcsqc, client_state_t::loadfinished, client_state_t::loadmodel_current, client_state_t::loadmodel_total, client_state_t::loadsound_current, client_state_t::loadsound_total, MAX_MODELS, MAX_OSPATH, MAX_QPATH, MAX_SCOREBOARD, MAX_SOUNDS, client_state_t::maxclients, Mem_Alloc, Mem_CheckSentinelsGlobal, netconn_t::message, Mod_ClearUsed(), Mod_FindName(), Mod_ForName(), client_state_t::model_beam, client_state_t::model_bolt, client_state_t::model_bolt2, client_state_t::model_bolt3, client_state_t::model_name, client_state_t::movevars_accelerate, client_state_t::movevars_airaccel_qw, client_state_t::movevars_airaccel_sideways_friction, client_state_t::movevars_airaccelerate, client_state_t::movevars_edgefriction, client_state_t::movevars_entgravity, client_state_t::movevars_friction, client_state_t::movevars_gravity, client_state_t::movevars_jumpvelocity, client_state_t::movevars_maxairspeed, client_state_t::movevars_maxspeed, client_state_t::movevars_spectatormaxspeed, client_state_t::movevars_stepheight, client_state_t::movevars_stopspeed, client_state_t::movevars_timescale, client_state_t::movevars_wallfriction, client_state_t::movevars_wateraccelerate, client_state_t::movevars_waterfriction, MSG_ReadByte, MSG_ReadFloat, MSG_ReadLong, MSG_ReadString(), MSG_WriteByte(), MSG_WriteString(), client_static_t::netcon, NetConn_IsLocalGame(), NULL, client_state_t::num_entities, client_state_t::playerentity, client_static_t::protocol, Protocol_EnumForNumber(), Protocol_NameForEnum(), PROTOCOL_NEHAHRAMOVIE, PROTOCOL_QUAKE, PROTOCOL_QUAKEDP, PROTOCOL_QUAKEWORLD, PROTOCOL_UNKNOWN, qw_clc_stringcmd, client_state_t::qw_servercount, client_state_t::realplayerentity, S_ClearUsed(), S_PrecacheSound(), S_StopAllSounds(), client_state_t::scores, SCR_BeginLoadingPlaque(), client_state_t::sfx_knighthit, client_state_t::sfx_r_exp3, client_state_t::sfx_ric1, client_state_t::sfx_ric2, client_state_t::sfx_ric3, client_state_t::sfx_tink1, client_state_t::sfx_wizhit, client_state_t::sound_name, client_state_t::sound_precache, client_static_t::state, cvar_t::string, strlen(), sv, Sys_TimeString(), va(), client_state_t::viewentity, client_state_t::worldbasename, client_state_t::worldmessage, client_state_t::worldname, and client_state_t::worldnamenoextension.
Referenced by CL_ParseServerMessage().
Definition at line 3435 of file cl_parse.c.
References entity_state_t::active, sizebuf_t::badread, bgmvolume, bound, CDAudio_Pause(), CDAudio_Play(), CDAudio_Resume(), client_state_t::cdtrack, cl, CL_DisconnectEx(), CL_ExaminePrintString(), CL_ExpandEntities(), CL_KeepaliveMessage(), cl_message, CL_NetworkTimeReceived(), CL_NextDemo(), CL_ParseBaseline(), CL_ParseClientdata(), CL_ParseDownload(), CL_ParseEffect(), CL_ParseEffect2(), CL_ParseParticleEffect(), CL_ParsePointParticles(), CL_ParsePointParticles1(), CL_ParseServerInfo(), CL_ParseStartSoundPacket(), CL_ParseStatic(), CL_ParseStaticSound(), CL_ParseTempEntity(), CL_ParseTrailParticles(), cl_readstring, cl_shownet, CL_SignonReply(), CL_UpdateItemsAndWeapon(), CL_UpdateMoveVars(), CL_VM_Parse_CenterPrint(), CL_VM_Parse_StuffCmd(), CL_VM_Parse_TempEntity(), CL_VM_UpdateIntermissionState(), CL_WriteDemoMessage(), cls, cmd(), Cmd_ExecuteString(), cmd_local, scoreboard_t::colors, client_state_t::completed_time, Con_DPrintf(), Con_Print(), Con_Printf(), count, CSQC_AddPrintText(), CSQC_ReadEntities(), sizebuf_t::cursize, client_static_t::demonum, client_static_t::demoplayback, client_static_t::demorecording, dp_strlcat, dp_strlcpy, dpsnprintf(), client_state_t::entities, client_state_t::entities_active, EntityFrame4_CL_ReadFrame(), EntityFrame5_CL_ReadFrame(), EntityFrame_CL_ReadFrame(), EntityFrameQuake_ISeeDeadEntities(), EntityFrameQuake_ReadEntity(), EntityFrameQW_CL_ReadFrame(), EntityStateQW_ReadPlayerUpdate(), client_state_t::fixangle, client_static_t::forcetrack, scoreboard_t::frags, GAME_NEHAHRA, GAME_TENEBRAE, gamemode, host, Host_Error(), i, netconn_t::netconn_qw_s::incoming_sequence, int(), cvar_t::integer, client_state_t::intermission, client_state_t::last_received_message, lightstyle_t::length, client_state_t::lightstyle, client_state_t::looptrack, lightstyle_t::map, MAX_CL_STATS, MAX_EDICTS, client_state_t::max_entities, client_state_t::max_lightstyle, MAX_MODELS, MAX_SOUNDS, MAX_STYLESTRING, client_state_t::maxclients, min, Mod_ForName(), model, client_state_t::model_name, client_state_t::model_precache, client_state_t::movevars_entgravity, client_state_t::movevars_maxspeed, MSG_ReadAngle(), MSG_ReadByte, MSG_ReadCoord(), MSG_ReadFloat, MSG_ReadLong, MSG_ReadShort, MSG_ReadString(), MSG_ReadString_len(), MSG_ReadVector(), entity_persistent_t::muzzleflash, client_state_t::mviewangles, scoreboard_t::name, client_static_t::netcon, NULL, client_state_t::oldtime, parsingerror, client_state_t::paused, entity_t::persistent, client_state_t::playerentity, client_static_t::protocol, PROTOCOL_DARKPLACES1, PROTOCOL_DARKPLACES2, PROTOCOL_DARKPLACES3, PROTOCOL_DARKPLACES4, PROTOCOL_DARKPLACES7, PROTOCOL_DARKPLACES8, Protocol_EnumForNumber(), PROTOCOL_NEHAHRABJP2, PROTOCOL_NEHAHRABJP3, PROTOCOL_NEHAHRAMOVIE, PROTOCOL_QUAKE, PROTOCOL_QUAKEDP, PROTOCOL_QUAKEWORLD, PROTOCOL_UNKNOWN, netconn_t::qw, QW_CL_ParseDownload(), QW_CL_ParseModelList(), QW_CL_ParseNails(), QW_CL_ParseSoundList(), QW_CL_ServerInfo(), QW_CL_SetInfo(), QW_CL_UpdateUserInfo(), scoreboard_t::qw_entertime, client_state_t::qw_intermission_angles, client_state_t::qw_intermission_origin, client_state_t::qw_num_nails, scoreboard_t::qw_packetloss, scoreboard_t::qw_ping, qw_svc_bigkick, qw_svc_cdtrack, qw_svc_centerprint, qw_svc_chokecount, qw_svc_damage, qw_svc_deltapacketentities, qw_svc_disconnect, qw_svc_download, qw_svc_entgravity, qw_svc_finale, qw_svc_foundsecret, qw_svc_intermission, qw_svc_killedmonster, qw_svc_lightstyle, qw_svc_maxspeed, qw_svc_modellist, qw_svc_muzzleflash, qw_svc_nails, qw_svc_nop, qw_svc_packetentities, qw_svc_playerinfo, qw_svc_print, qw_svc_sellscreen, qw_svc_serverdata, qw_svc_serverinfo, qw_svc_setangle, qw_svc_setinfo, qw_svc_setpause, qw_svc_smallkick, qw_svc_sound, qw_svc_soundlist, qw_svc_spawnbaseline, qw_svc_spawnstatic, qw_svc_spawnstaticsound, qw_svc_stopsound, qw_svc_strings, qw_svc_stufftext, qw_svc_temp_entity, qw_svc_updateentertime, qw_svc_updatefrags, qw_svc_updateping, qw_svc_updatepl, qw_svc_updatestat, qw_svc_updatestatlong, qw_svc_updateuserinfo, client_state_t::qw_weaponkick, R_SetSkyBox(), client_state_t::realplayerentity, host_static_t::realtime, S_PauseGameSounds(), S_PrecacheSound(), S_StopSound(), client_state_t::scores, SCR_CenterPrint(), client_static_t::servermovesequence, SHOWLMP_decodehide(), SHOWLMP_decodeshow(), SHOWNET, client_static_t::signon, SIGNONS, snd_cdautopause, snd_initialized, client_state_t::sound_precache, src_local, STAT_MONSTERS, STAT_SECRETS, entity_t::state_current, client_state_t::stats, strlen(), svc_cdtrack, svc_centerprint, svc_clientdata, svc_csqcentities, svc_cutscene, svc_damage, svc_disconnect, svc_downloaddata, svc_effect, svc_effect2, svc_entities, svc_finale, svc_foundsecret, svc_hidelmp, svc_intermission, svc_killedmonster, svc_lightstyle, svc_nop, svc_particle, svc_pointparticles, svc_pointparticles1, svc_precache, svc_print, svc_sellscreen, svc_serverinfo, svc_setangle, svc_setpause, svc_setview, svc_showlmp, svc_signonnum, svc_skybox, svc_sound, svc_spawnbaseline, svc_spawnbaseline2, svc_spawnstatic, svc_spawnstatic2, svc_spawnstaticsound, svc_spawnstaticsound2, svc_stopsound, svc_strings, svc_stufftext, svc_temp_entity, svc_time, svc_trailparticles, svc_updatecolors, svc_updatefrags, svc_updatename, svc_updatestat, svc_updatestatubyte, svc_version, client_state_t::time, V_ParseDamage(), cvar_t::value, VectorCopy, client_state_t::viewangles, client_state_t::viewentity, and void().
Referenced by CL_ReadDemoMessage(), and NetConn_ClientParsePacket().
Definition at line 214 of file cl_parse.c.
References CHANNELFLAG_NONE, cl, CL_ExpandEntities(), cl_message, CL_VM_Event_Sound(), cls, Con_Printf(), DEFAULT_SOUND_PACKET_ATTENUATION, DEFAULT_SOUND_PACKET_VOLUME, MAX_EDICTS, client_state_t::max_entities, MAX_SOUNDS, MSG_ReadByte, MSG_ReadChar, MSG_ReadShort, MSG_ReadVector(), client_static_t::protocol, PROTOCOL_NEHAHRABJP2, PROTOCOL_NEHAHRABJP3, PROTOCOL_QUAKEWORLD, S_StartSound_StartPosition_Flags(), SND_ATTENUATION, SND_LARGEENTITY, SND_LARGESOUND, SND_SPEEDUSHORT4000, SND_VOLUME, and client_state_t::sound_precache.
Referenced by CL_ParseServerMessage().
Definition at line 2265 of file cl_parse.c.
References entity_render_t::allowdecals, entity_render_t::alpha, entity_state_t::angles, cl, CL_GetModelByIndex(), CL_ParseBaseline(), CL_UpdateRenderEntity(), Con_DPrintf(), entity_render_t::effects, entity_state_t::effects, entity_state_t::frame, framegroupblend_t::frame, entity_render_t::framegroupblend, Host_Error(), framegroupblend_t::lerp, lhrandom, entity_render_t::matrix, Matrix4x4_CreateFromQuakeEntity(), client_state_t::max_static_entities, entity_render_t::model, entity_state_t::modelindex, client_state_t::num_static_entities, entity_state_t::origin, entity_t::render, entity_state_t::skin, entity_render_t::skinnum, framegroupblend_t::start, entity_t::state_baseline, and client_state_t::static_entities.
Referenced by CL_ParseServerMessage().
Definition at line 2305 of file cl_parse.c.
References cl, cl_message, cls, Con_Printf(), MAX_SOUNDS, MSG_ReadByte, MSG_ReadShort, MSG_ReadVector(), client_static_t::protocol, S_StaticSound(), and client_state_t::sound_precache.
Referenced by CL_ParseServerMessage().
Definition at line 2413 of file cl_parse.c.
References cl, CL_AllocLightFlash(), CL_Effect(), CL_FindNonSolidLocation(), CL_GetModelByIndex(), cl_message, CL_ParseBeam(), CL_ParticleCube(), CL_ParticleEffect(), CL_ParticleExplosion(), CL_ParticleExplosion2(), CL_ParticleRain(), CL_ParticleTrail(), cl_readstring, cl_sound_ric_gunshot, cls, color, count, dir, EFFECT_TE_BLOOD, EFFECT_TE_EXPLOSION, EFFECT_TE_EXPLOSIONQUAD, EFFECT_TE_FLAMEJET, EFFECT_TE_GUNSHOT, EFFECT_TE_GUNSHOTQUAD, EFFECT_TE_KNIGHTSPIKE, EFFECT_TE_LAVASPLASH, EFFECT_TE_PLASMABURN, EFFECT_TE_SMALLFLASH, EFFECT_TE_SPARK, EFFECT_TE_SPIKE, EFFECT_TE_SPIKEQUAD, EFFECT_TE_SUPERSPIKE, EFFECT_TE_SUPERSPIKEQUAD, EFFECT_TE_TAREXPLOSION, EFFECT_TE_TEI_BIGEXPLOSION, EFFECT_TE_TEI_G3, EFFECT_TE_TEI_PLASMAHIT, EFFECT_TE_TEI_SMOKE, EFFECT_TE_TELEPORT, EFFECT_TE_WIZSPIKE, Host_Error(), cvar_t::integer, LIGHTFLAG_NORMALMODE, LIGHTFLAG_REALTIMEMODE, Matrix4x4_CreateTranslate(), Mod_ForName(), client_state_t::model_beam, client_state_t::model_bolt, client_state_t::model_bolt2, client_state_t::model_bolt3, MSG_ReadByte, MSG_ReadChar, MSG_ReadCoord(), MSG_ReadShort, MSG_ReadString(), MSG_ReadVector(), NULL, palette_rgb, client_static_t::protocol, PROTOCOL_QUAKEWORLD, client_state_t::qw_modelindex_s_explod, QW_TE_BLOOD, QW_TE_EXPLOSION, QW_TE_GUNSHOT, QW_TE_KNIGHTSPIKE, QW_TE_LAVASPLASH, QW_TE_LIGHTNING1, QW_TE_LIGHTNING2, QW_TE_LIGHTNING3, QW_TE_LIGHTNINGBLOOD, QW_TE_SPIKE, QW_TE_SUPERSPIKE, QW_TE_TAREXPLOSION, QW_TE_TELEPORT, QW_TE_WIZSPIKE, RIC_GUNSHOT, RIC_GUNSHOTQUAD, S_StartSound(), client_state_t::sfx_knighthit, client_state_t::sfx_r_exp3, client_state_t::sfx_ric1, client_state_t::sfx_ric2, client_state_t::sfx_ric3, client_state_t::sfx_tink1, client_state_t::sfx_wizhit, TE_BEAM, TE_BLOOD, TE_BLOODSHOWER, TE_CUSTOMFLASH, TE_EXPLOSION, TE_EXPLOSION2, TE_EXPLOSION3, TE_EXPLOSIONQUAD, TE_EXPLOSIONRGB, TE_FLAMEJET, TE_GUNSHOT, TE_GUNSHOTQUAD, TE_KNIGHTSPIKE, TE_LAVASPLASH, TE_LIGHTNING1, TE_LIGHTNING2, TE_LIGHTNING3, TE_LIGHTNING4NEH, TE_PARTICLECUBE, TE_PARTICLERAIN, TE_PARTICLESNOW, TE_PLASMABURN, TE_SMALLFLASH, TE_SPARK, TE_SPIKE, TE_SPIKEQUAD, TE_SUPERSPIKE, TE_SUPERSPIKEQUAD, TE_TAREXPLOSION, TE_TEI_BIGEXPLOSION, TE_TEI_G3, TE_TEI_PLASMAHIT, TE_TEI_SMOKE, TE_TELEPORT, TE_WIZSPIKE, type, vec3_origin, and VectorSet.
Referenced by CL_ParseServerMessage().
Definition at line 2945 of file cl_parse.c.
References cl, CL_ExpandEntities(), cl_message, CL_ParticleTrail(), cls, client_state_t::entities, MAX_EDICTS, client_state_t::max_entities, MSG_ReadShort, MSG_ReadVector(), NULL, client_static_t::protocol, and vec3_origin.
Referenced by CL_ParseServerMessage().
Definition at line 1574 of file cl_parse.c.
References cl_bottomcolor, cl_name, cl_playermodel, cl_playerskin, cl_pmodel, cl_rate, cl_rate_burstsize, cl_topcolor, clc_stringcmd, cls, cvar_t::integer, netconn_t::message, MSG_WriteByte(), MSG_WriteString(), client_static_t::netcon, cvar_t::string, and va().
Referenced by CL_SignonReply().
Definition at line 202 of file cl_parse.c.
References cl_connect_status, cls, Con_DPrint(), dpsnprintf(), client_static_t::signon, and SIGNONS.
Referenced by CL_ParseServerInfo(), CL_SignonReply(), QW_CL_Changing_f(), QW_CL_ParseModelList(), QW_CL_ParseSoundList(), and QW_CL_RequestNextDownload().
Definition at line 479 of file cl_parse.c.
References cl, CL_GetModelByIndex(), CL_KeepaliveMessage(), CL_Locs_Reload_f(), CL_UpdateRenderEntity(), CL_VM_Init(), cl_worldbasename, cl_worldmessage, cl_worldname, cl_worldnamenoextension, CLVM_prog, cmd_local, con_chatsound_team_file, Cvar_SetQuick(), defaultmaxs, defaultmins, dp_strlcpy, client_state_t::entities, client_state_t::foundteamchatsound, FS_FileExists(), FS_StripExtension(), client_state_t::loadcsqc, Mem_CheckSentinelsGlobal, entity_render_t::model, MR_NewMap, R_Modules_NewMap(), entity_t::render, cvar_t::string, client_state_t::world, World_SetSize(), World_Start(), client_state_t::worldbasename, client_state_t::worldmessage, client_state_t::worldmodel, client_state_t::worldname, and client_state_t::worldnamenoextension.
Referenced by CL_BeginDownloads(), and QW_CL_RequestNextDownload().
Definition at line 1613 of file cl_parse.c.
References Cbuf_AddText(), CL_SendPlayerInfo(), CL_SetSignonStage_WithMsg(), clc_stringcmd, cls, cmd_local, Con_ClearNotify(), Con_DPrintf(), netconn_t::message, Mod_FreeQ3Shaders(), Mod_PurgeUnused(), MSG_WriteByte(), MSG_WriteString(), client_static_t::netcon, S_PurgeUnused(), client_static_t::signon, Sys_AllowProfiling(), and Sys_CheckParm().
Referenced by CL_ParseServerMessage().
Definition at line 1384 of file cl_parse.c.
References client_static_t::caughtcsprogsdata, client_static_t::caughtcsprogsdatasize, CL_BeginDownloads(), cls, Con_DPrintf(), Con_Printf(), CRC_Block(), csqc_progname, dpsnprintf(), FS_CRCFile(), FS_FileExists(), FS_FileExtension(), FS_Inflate(), FS_Rescan(), FS_WriteFile(), gamemode, int(), IS_NEXUIZ_DERIVED, MAX_QPATH, Mem_Alloc, Mem_Free, name, NULL, client_static_t::permanentmempool, client_static_t::qw_download_deflate, client_static_t::qw_downloadmemory, client_static_t::qw_downloadmemorycursize, client_static_t::qw_downloadmemorymaxsize, client_static_t::qw_downloadname, client_static_t::qw_downloadpercent, size, cvar_t::string, and tempmempool.
Referenced by CL_DownloadBegin_f(), CL_DownloadFinished_f(), CL_Parse_ErrorCleanUp(), and CL_StopDownload_f().
|
static |
Definition at line 1550 of file cl_parse.c.
References CL_BeginDownloads(), CL_StopDownload(), cls, Con_Printf(), Curl_CancelAll(), and client_static_t::qw_downloadname.
Referenced by CL_Parse_Init().
Definition at line 1064 of file cl_parse.c.
References client_state_t::activeweapon, cl, client_state_t::item_gettime, client_state_t::olditems, STAT_ACTIVEWEAPON, STAT_ITEMS, client_state_t::stats, client_state_t::time, and client_state_t::weapontime.
Referenced by CL_ParseServerMessage().
void CL_ValidateState | ( | entity_state_t * | s | ) |
Definition at line 1962 of file cl_parse.c.
References entity_state_t::active, cl, CL_GetModelByIndex(), entity_state_t::colormap, Con_DPrintf(), developer_extra, entity_state_t::flags, entity_state_t::frame, Host_Error(), cvar_t::integer, entity_state_t::lightpflags, MAX_MODELS, client_state_t::maxclients, model, entity_state_t::modelindex, PFLAGS_FULLDYNAMIC, RENDER_COLORMAPPED, and entity_state_t::skin.
|
static |
Definition at line 901 of file cl_parse.c.
References cl, CL_SetSignonStage_WithMsg(), cls, Con_Printf(), client_state_t::intermission, client_static_t::qw_downloadmemory, and S_StopAllSounds().
Referenced by CL_Parse_Init().
|
static |
Definition at line 540 of file cl_parse.c.
References cls, Con_Printf(), client_static_t::demorecording, dp_strlcpy, FS_Close(), FS_OpenVirtualFile(), netconn_t::message, MSG_WriteByte(), MSG_WriteString(), client_static_t::netcon, NULL, qw_clc_stringcmd, client_static_t::qw_downloadmemory, client_static_t::qw_downloadmemorycursize, client_static_t::qw_downloadmemorymaxsize, client_static_t::qw_downloadname, client_static_t::qw_downloadnumber, client_static_t::qw_downloadpercent, and va().
Referenced by QW_CL_RequestNextDownload().
|
static |
Definition at line 912 of file cl_parse.c.
References cls, cmd(), Con_DPrintf(), Con_Printf(), netconn_t::message, min, MSG_WriteByte(), MSG_WriteShort(), client_static_t::netcon, QW_CL_StopUpload_f(), qw_clc_upload, client_static_t::qw_uploaddata, client_static_t::qw_uploadpos, client_static_t::qw_uploadsize, r, size, and SZ_Write().
Referenced by CL_Parse_Init(), and QW_CL_StartUpload().
Definition at line 756 of file cl_parse.c.
References cl_message, cls, Con_Printf(), sizebuf_t::cursize, FS_WriteFile(), Host_Error(), Mem_Alloc, Mem_Free, netconn_t::message, MSG_ReadByte, MSG_ReadBytes(), MSG_ReadShort, MSG_WriteByte(), MSG_WriteString(), client_static_t::netcon, client_static_t::permanentmempool, QW_CL_RequestNextDownload(), qw_clc_stringcmd, client_static_t::qw_downloadmemory, client_static_t::qw_downloadmemorycursize, client_static_t::qw_downloadmemorymaxsize, client_static_t::qw_downloadname, client_static_t::qw_downloadpercent, client_static_t::qw_downloadspeedcount, sizebuf_t::readcount, and size.
Referenced by CL_ParseServerMessage().
Definition at line 823 of file cl_parse.c.
References cl, cl_message, cl_readstring, CL_SetSignonStage_WithMsg(), cls, dl_model, dp_strlcpy, Host_Error(), MAX_MODELS, MAX_QPATH, netconn_t::message, client_state_t::model_name, MSG_ReadByte, MSG_ReadString(), MSG_WriteByte(), MSG_WriteString(), n, client_static_t::netcon, QW_CL_RequestNextDownload(), qw_clc_stringcmd, client_static_t::qw_downloadnumber, client_static_t::qw_downloadtype, client_state_t::qw_servercount, strlen(), and va().
Referenced by CL_ParseServerMessage().
Definition at line 1042 of file cl_parse.c.
References cl, cl_message, i, MSG_ReadByte, client_state_t::qw_nails, client_state_t::qw_num_nails, and v.
Referenced by CL_ParseServerMessage().
Definition at line 858 of file cl_parse.c.
References cl, cl_message, cl_readstring, CL_SetSignonStage_WithMsg(), cls, dl_sound, dp_strlcpy, Host_Error(), MAX_QPATH, MAX_SOUNDS, netconn_t::message, MSG_ReadByte, MSG_ReadString(), MSG_WriteByte(), MSG_WriteString(), n, client_static_t::netcon, QW_CL_RequestNextDownload(), qw_clc_stringcmd, client_static_t::qw_downloadnumber, client_static_t::qw_downloadtype, client_state_t::qw_servercount, client_state_t::sound_name, strlen(), and va().
Referenced by CL_ParseServerMessage().
Definition at line 977 of file cl_parse.c.
References cl, scoreboard_t::colors, dp_strlcpy, InfoString_GetValue(), scoreboard_t::name, scoreboard_t::qw_skin, scoreboard_t::qw_spectator, scoreboard_t::qw_team, scoreboard_t::qw_userinfo, and client_state_t::scores.
Referenced by QW_CL_RequestNextDownload(), QW_CL_SetInfo(), and QW_CL_UpdateUserInfo().
Definition at line 585 of file cl_parse.c.
References server_t::active, cl, CL_SetInfo(), CL_SetSignonStage_WithMsg(), CL_SetupWorldModel(), cl_sound_hknighthit, cl_sound_r_exp3, cl_sound_ric1, cl_sound_ric2, cl_sound_ric3, cl_sound_tink1, cl_sound_wizardhit, cls, Con_Printf(), dl_model, dl_none, dl_single, dl_skin, dl_sound, FS_CRCFile(), i, client_state_t::loadfinished, MAX_MODELS, MAX_SOUNDS, client_state_t::maxclients, Mem_CheckSentinelsGlobal, Mem_Free, netconn_t::message, Mod_ClearUsed(), Mod_FindName(), Mod_ForName(), client_state_t::model_beam, client_state_t::model_bolt, client_state_t::model_bolt2, client_state_t::model_bolt3, client_state_t::model_name, client_state_t::model_precache, MSG_WriteByte(), MSG_WriteString(), scoreboard_t::name, client_static_t::netcon, NULL, QW_CL_CheckOrDownloadFile(), QW_CL_ProcessUserInfo(), qw_clc_stringcmd, client_static_t::qw_downloadmemory, client_static_t::qw_downloadname, client_static_t::qw_downloadnumber, client_static_t::qw_downloadtype, client_state_t::qw_modelindex_flag, client_state_t::qw_modelindex_player, client_state_t::qw_modelindex_s_explod, client_state_t::qw_modelindex_spike, client_state_t::qw_servercount, scoreboard_t::qw_skin, S_ClearUsed(), S_PrecacheSound(), client_state_t::scores, client_state_t::sfx_knighthit, client_state_t::sfx_r_exp3, client_state_t::sfx_ric1, client_state_t::sfx_ric2, client_state_t::sfx_ric3, client_state_t::sfx_tink1, client_state_t::sfx_wizhit, client_static_t::signon, SIGNONS, client_state_t::sound_name, client_state_t::sound_precache, cvar_t::string, sv, and va().
Referenced by QW_CL_ParseDownload(), QW_CL_ParseModelList(), QW_CL_ParseSoundList(), and QW_CL_Skins_f().
Definition at line 1029 of file cl_parse.c.
References cl, cl_message, cl_readstring, Con_DPrintf(), dp_strlcpy, InfoString_GetValue(), InfoString_SetValue(), MSG_ReadString(), client_state_t::qw_serverinfo, client_state_t::qw_teamplay, and value.
Referenced by CL_ParseServerMessage().
Definition at line 1011 of file cl_parse.c.
References cl, cl_message, cl_readstring, Con_Printf(), dp_strlcpy, InfoString_SetValue(), client_state_t::maxclients, MSG_ReadByte, MSG_ReadString(), QW_CL_ProcessUserInfo(), scoreboard_t::qw_userinfo, client_state_t::scores, and value.
Referenced by CL_ParseServerMessage().
|
static |
Definition at line 894 of file cl_parse.c.
References cls, dl_skin, QW_CL_RequestNextDownload(), client_static_t::qw_downloadnumber, and client_static_t::qw_downloadtype.
Referenced by CL_Parse_Init().
Definition at line 942 of file cl_parse.c.
References cls, cmd_local, Con_DPrintf(), data, Mem_Alloc, client_static_t::netcon, client_static_t::permanentmempool, QW_CL_NextUpload_f(), QW_CL_StopUpload_f(), client_static_t::qw_uploaddata, client_static_t::qw_uploadpos, client_static_t::qw_uploadsize, and size.
|
static |
Definition at line 968 of file cl_parse.c.
References cls, Mem_Free, NULL, client_static_t::qw_uploaddata, client_static_t::qw_uploadpos, and client_static_t::qw_uploadsize.
Referenced by CL_Parse_ErrorCleanUp(), CL_Parse_Init(), QW_CL_NextUpload_f(), and QW_CL_StartUpload().
Definition at line 994 of file cl_parse.c.
References cl, cl_message, cl_readstring, Con_Printf(), dp_strlcpy, client_state_t::maxclients, MSG_ReadByte, MSG_ReadLong, MSG_ReadString(), QW_CL_ProcessUserInfo(), scoreboard_t::qw_userid, scoreboard_t::qw_userinfo, and client_state_t::scores.
Referenced by CL_ParseServerMessage().
|
extern |
Definition at line 36 of file cl_cmd.c.
Referenced by CL_SendPlayerInfo().
cvar_t cl_gameplayfix_soundsmovewithentities = {CF_CLIENT, "cl_gameplayfix_soundsmovewithentities", "1", "causes sounds made by lifts, players, projectiles, and any other entities, to move with the entity, so for example a rocket noise follows the rocket rather than staying at the starting position"} |
Definition at line 174 of file cl_parse.c.
Referenced by CL_Parse_Init(), and SND_Spatialize_WithSfx().
|
static |
Definition at line 2991 of file cl_parse.c.
Referenced by CL_IPLog_Add(), and CL_IPLog_List_f().
Definition at line 2988 of file cl_parse.c.
Referenced by CL_IPLog_Add(), CL_IPLog_List_f(), and CL_IPLog_Load().
|
static |
Definition at line 2990 of file cl_parse.c.
Referenced by CL_IPLog_Add().
cvar_t cl_iplog_name = {CF_CLIENT | CF_ARCHIVE, "cl_iplog_name", "darkplaces_iplog.txt", "name of iplog file containing player addresses for iplog_list command and automatic ip logging when parsing status command"} |
Definition at line 194 of file cl_parse.c.
Referenced by CL_IPLog_Add(), CL_IPLog_Load(), and CL_Parse_Init().
|
static |
Definition at line 2989 of file cl_parse.c.
Referenced by CL_IPLog_Add(), and CL_IPLog_List_f().
cvar_t cl_joinbeforedownloadsfinish = {CF_CLIENT | CF_ARCHIVE, "cl_joinbeforedownloadsfinish", "1", "if non-zero the game will begin after the map is loaded before other downloads finish"} |
Definition at line 190 of file cl_parse.c.
Referenced by CL_BeginDownloads(), and CL_Parse_Init().
|
extern |
Definition at line 44 of file cl_main.c.
Referenced by CL_Init(), CL_LerpPoint(), CL_NetworkTimeReceived(), and CL_UpdateNetworkEntity().
cvar_t cl_nettimesyncboundmode = {CF_CLIENT | CF_ARCHIVE, "cl_nettimesyncboundmode", "6", "method of restricting client time to valid values, 0 = no correction, 1 = tight bounding (jerky with packet loss), 2 = loose bounding (corrects it if out of bounds), 3 = leniant bounding (ignores temporary errors due to varying framerate), 4 = slow adjustment method from Quake3, 5 = slightly nicer version of Quake3 method, 6 = tight bounding + mode 5, 7 = jitter compensated dynamic adjustment rate"} |
Definition at line 192 of file cl_parse.c.
Referenced by CL_LerpPoint(), CL_NetworkTimeReceived(), and CL_Parse_Init().
cvar_t cl_nettimesyncboundtolerance = {CF_CLIENT | CF_ARCHIVE, "cl_nettimesyncboundtolerance", "0.25", "how much error is tolerated by bounding check, as a fraction of frametime, 0.25 = up to 25% margin of error tolerated, 1 = use only new time, 0 = use only old time (same effect as setting cl_nettimesyncfactor to 1) (only affects bound modes 2 and 3)"} |
Definition at line 193 of file cl_parse.c.
Referenced by CL_NetworkTimeReceived(), and CL_Parse_Init().
cvar_t cl_nettimesyncfactor = {CF_CLIENT | CF_ARCHIVE, "cl_nettimesyncfactor", "0", "rate at which client time adapts to match server time, 1 = instantly, 0.125 = slowly, 0 = not at all (only applied in bound modes 0, 1, 2, 3)"} |
Definition at line 191 of file cl_parse.c.
Referenced by CL_NetworkTimeReceived(), and CL_Parse_Init().
cvar_t cl_readpicture_force = {CF_CLIENT, "cl_readpicture_force", "0", "when enabled, the low quality pictures read by ReadPicture() are preferred over the high quality pictures on the file system"} |
Definition at line 181 of file cl_parse.c.
Referenced by CL_Parse_Init(), and VM_CL_ReadPicture().
cvar_t cl_serverextension_download = {CF_CLIENT, "cl_serverextension_download", "0", "indicates whether the server supports the download command"} |
Definition at line 189 of file cl_parse.c.
Referenced by CL_BeginDownloads(), CL_Parse_Init(), and CL_ParseServerInfo().
cvar_t cl_sound_hknighthit = {CF_CLIENT, "cl_sound_hknighthit", "hknight/hit.wav", "sound to play during TE_KNIGHTSPIKE (empty cvar disables sound)"} |
Definition at line 176 of file cl_parse.c.
Referenced by CL_Parse_Init(), CL_ParseServerInfo(), and QW_CL_RequestNextDownload().
cvar_t cl_sound_r_exp3 = {CF_CLIENT, "cl_sound_r_exp3", "weapons/r_exp3.wav", "sound to play during TE_EXPLOSION and related effects (empty cvar disables sound)"} |
Definition at line 186 of file cl_parse.c.
Referenced by CL_Parse_Init(), CL_ParseServerInfo(), and QW_CL_RequestNextDownload().
cvar_t cl_sound_ric1 = {CF_CLIENT, "cl_sound_ric1", "weapons/ric1.wav", "sound to play with 5% chance during TE_SPIKE/TE_SUPERSPIKE (empty cvar disables sound)"} |
Definition at line 178 of file cl_parse.c.
Referenced by CL_Parse_Init(), CL_ParseServerInfo(), and QW_CL_RequestNextDownload().
cvar_t cl_sound_ric2 = {CF_CLIENT, "cl_sound_ric2", "weapons/ric2.wav", "sound to play with 5% chance during TE_SPIKE/TE_SUPERSPIKE (empty cvar disables sound)"} |
Definition at line 179 of file cl_parse.c.
Referenced by CL_Parse_Init(), CL_ParseServerInfo(), and QW_CL_RequestNextDownload().
cvar_t cl_sound_ric3 = {CF_CLIENT, "cl_sound_ric3", "weapons/ric3.wav", "sound to play with 10% chance during TE_SPIKE/TE_SUPERSPIKE (empty cvar disables sound)"} |
Definition at line 180 of file cl_parse.c.
Referenced by CL_Parse_Init(), CL_ParseServerInfo(), and QW_CL_RequestNextDownload().
cvar_t cl_sound_ric_gunshot = {CF_CLIENT, "cl_sound_ric_gunshot", "0", "specifies if and when the related cl_sound_ric and cl_sound_tink sounds apply to TE_GUNSHOT/TE_GUNSHOTQUAD, 0 = no sound, 1 = TE_GUNSHOT, 2 = TE_GUNSHOTQUAD, 3 = TE_GUNSHOT and TE_GUNSHOTQUAD"} |
Definition at line 185 of file cl_parse.c.
Referenced by CL_Parse_Init(), CL_ParseTempEntity(), VM_CL_te_gunshot(), and VM_CL_te_gunshotquad().
cvar_t cl_sound_tink1 = {CF_CLIENT, "cl_sound_tink1", "weapons/tink1.wav", "sound to play with 80% chance during TE_SPIKE/TE_SUPERSPIKE (empty cvar disables sound)"} |
Definition at line 177 of file cl_parse.c.
Referenced by CL_Parse_Init(), CL_ParseServerInfo(), and QW_CL_RequestNextDownload().
cvar_t cl_sound_wizardhit = {CF_CLIENT, "cl_sound_wizardhit", "wizard/hit.wav", "sound to play during TE_WIZSPIKE (empty cvar disables sound)"} |
Definition at line 175 of file cl_parse.c.
Referenced by CL_Parse_Init(), CL_ParseServerInfo(), and QW_CL_RequestNextDownload().
|
extern |
cvar_t cl_worldbasename = {CF_CLIENT | CF_READONLY, "cl_worldbasename", "", "name of current worldmodel without maps/ prefix or extension"} |
Definition at line 171 of file cl_parse.c.
Referenced by CL_Parse_Init(), CL_ParseServerInfo(), and CL_SetupWorldModel().
cvar_t cl_worldmessage = {CF_CLIENT | CF_READONLY, "cl_worldmessage", "", "title of current level"} |
Definition at line 168 of file cl_parse.c.
Referenced by CL_Parse_Init(), CL_ParseServerInfo(), and CL_SetupWorldModel().
cvar_t cl_worldname = {CF_CLIENT | CF_READONLY, "cl_worldname", "", "name of current worldmodel"} |
Definition at line 169 of file cl_parse.c.
Referenced by CL_Parse_Init(), CL_ParseServerInfo(), and CL_SetupWorldModel().
cvar_t cl_worldnamenoextension = {CF_CLIENT | CF_READONLY, "cl_worldnamenoextension", "", "name of current worldmodel without extension"} |
Definition at line 170 of file cl_parse.c.
Referenced by CL_Parse_Init(), CL_ParseServerInfo(), and CL_SetupWorldModel().
|
extern |
Definition at line 62 of file console.c.
Referenced by CL_SetupWorldModel(), Con_Init(), and Con_MaskPrint().
|
static |
Definition at line 478 of file cl_parse.c.
Referenced by CL_SetupWorldModel().
|
static |
Definition at line 477 of file cl_parse.c.
Referenced by CL_SetupWorldModel().
cvar_t developer_networkentities = {CF_CLIENT, "developer_networkentities", "0", "prints received entities, value is 0-10 (higher for more info, 10 being the most verbose)"} |
Definition at line 173 of file cl_parse.c.
Referenced by CL_NewFrameReceived(), CL_Parse_Init(), CL_SendMove(), EntityFrame4_AckFrame(), EntityFrame4_CL_ReadFrame(), EntityFrame4_WriteFrame(), EntityFrame5_CL_ReadFrame(), EntityFrame5_WriteFrame(), EntityFrameQW_CL_ReadFrame(), EntityState5_ReadUpdate(), EntityState_ReadFields(), EntityStateQW_ReadEntityUpdate(), and SV_ReadClientMessage().
|
extern |
|
static |
Definition at line 313 of file cl_parse.c.
Referenced by _Mem_Alloc(), AssertBufsize(), CL_KeepaliveMessage(), and GrowBuf().
Definition at line 3434 of file cl_parse.c.
Referenced by CL_Parse_DumpPacket(), and CL_ParseServerMessage().
const char* qw_svc_strings[128] |
Definition at line 108 of file cl_parse.c.
Referenced by CL_ParseServerMessage().
cvar_t snd_cdautopause = {CF_CLIENT | CF_ARCHIVE, "snd_cdautopause", "1", "pause the CD track while the game is paused"} |
Definition at line 187 of file cl_parse.c.
Referenced by CL_Parse_Init(), and CL_ParseServerMessage().
const char* svc_strings[128] |
Definition at line 34 of file cl_parse.c.
Referenced by CL_ParseServerMessage().