![]() |
DarkPlaces
Game engine based on the Quake 1 engine by id Software, developed by LadyHavoc
|
|
#include "matrixlib.h"
#include "snd_main.h"
#include "view.h"
#include "cap.h"
#include "cl_parse.h"
#include "cl_particles.h"
#include "r_stats.h"
#include "cl_screen.h"
Go to the source code of this file.
Data Structures | |
struct | beam_t |
struct | cl_clientmovement_state_t |
struct | cl_downloadack_t |
struct | cl_effect_t |
struct | cl_locnode_t |
struct | cl_soundstats_t |
struct | client_state_t |
struct | client_static_t |
struct | cshift_t |
struct | csqc_vidvars_t |
struct | decalsystem_t |
struct | dlight_t |
struct | entity_persistent_t |
struct | entity_render_t |
struct | entity_t |
struct | frameblend_t |
struct | kbutton_t |
struct | lightstyle_t |
struct | rtlight_particle_t |
struct | rtlight_t |
struct | scoreboard_t |
struct | showlmp_t |
struct | tridecal_t |
Macros | |
#define | CL_MAX_DOWNLOADACKS 4 |
#define | CL_Mesh_Scene() |
#define | CL_Mesh_UI() |
#define | CSHIFT_BONUS 2 |
#define | CSHIFT_CONTENTS 0 |
#define | CSHIFT_DAMAGE 1 |
#define | CSHIFT_POWERUP 3 |
#define | CSHIFT_VCSHIFT 4 |
#define | LATESTFRAMENUMS 32 |
#define | LIGHTFLAG_NORMALMODE 1 |
#define | LIGHTFLAG_REALTIMEMODE 2 |
#define | MAX_FRAMEBLENDS (MAX_FRAMEGROUPBLENDS * 2) |
#define | MAX_RCONS 16 |
#define | NAME_LENGTH 64 |
#define | NUM_CSHIFTS 5 |
#define | NUM_TS_ERRORS 32 |
#define | SIGNONS 4 |
Enumerations | |
enum | cactive_t { ca_uninitialized , ca_dedicated , ca_disconnected , ca_connected } |
enum | cl_parsingtextmode_t { CL_PARSETEXTMODE_NONE , CL_PARSETEXTMODE_PING , CL_PARSETEXTMODE_STATUS , CL_PARSETEXTMODE_STATUS_PLAYERID , CL_PARSETEXTMODE_STATUS_PLAYERIP } |
enum | meshname_t { MESH_SCENE , MESH_UI , NUM_MESHENTITIES } |
enum | qw_downloadtype_t { dl_none , dl_single , dl_skin , dl_model , dl_sound } |
enum | waterlevel_t { WATERLEVEL_NONE , WATERLEVEL_WETFEET , WATERLEVEL_SWIMMING , WATERLEVEL_SUBMERGED } |
#define CL_MAX_DOWNLOADACKS 4 |
Definition at line 546 of file client.h.
Referenced by CL_ParseDownload(), and CL_SendMove().
#define CL_Mesh_Scene | ( | ) |
Definition at line 1371 of file client.h.
Referenced by CL_Beam_AddPolygons(), CL_MeshEntities_Scene_Clear(), and VM_CL_R_PolygonBegin().
#define CL_Mesh_UI | ( | ) |
Definition at line 1372 of file client.h.
Referenced by DrawQ_FlushUI(), DrawQ_Line(), DrawQ_Pic(), DrawQ_RotPic(), DrawQ_String_Scale(), DrawQ_SuperPic(), R_DebugLine(), and VM_CL_R_PolygonBegin().
#define CSHIFT_BONUS 2 |
Definition at line 513 of file client.h.
Referenced by V_BonusFlash_f(), and V_FadeViewFlashs().
#define CSHIFT_CONTENTS 0 |
Definition at line 511 of file client.h.
Referenced by V_CalcViewBlend().
#define CSHIFT_DAMAGE 1 |
Definition at line 512 of file client.h.
Referenced by R_MotionBlurView(), V_FadeViewFlashs(), and V_ParseDamage().
#define CSHIFT_POWERUP 3 |
Definition at line 514 of file client.h.
Referenced by V_CalcViewBlend().
#define CSHIFT_VCSHIFT 4 |
Definition at line 515 of file client.h.
Referenced by V_CalcViewBlend().
#define LATESTFRAMENUMS 32 |
Definition at line 959 of file client.h.
Referenced by CL_NewFrameReceived(), and CL_SendMove().
#define LIGHTFLAG_NORMALMODE 1 |
Definition at line 34 of file client.h.
Referenced by CL_LinkNetworkEntity(), CL_NewParticlesFromEffectinfo(), CL_ParseTempEntity(), CL_ParticleEffect_Fallback(), CL_RelinkBeams(), R_CompleteLightPoint(), R_Shadow_BounceGrid_AssignPhotons_Task(), R_Shadow_DrawCoronas(), R_Shadow_EditLights_DrawSelectedLightProperties(), R_Shadow_EditLights_Edit_f(), R_Shadow_PrepareLights(), R_Shadow_UpdateBounceGridTexture(), VM_CL_R_AddDynamicLight(), VM_CL_te_customflash(), VM_CL_te_explosion2(), and VM_CL_te_explosionrgb().
#define LIGHTFLAG_REALTIMEMODE 2 |
Definition at line 35 of file client.h.
Referenced by CL_LinkNetworkEntity(), CL_NewParticlesFromEffectinfo(), CL_ParseTempEntity(), CL_ParticleEffect_Fallback(), CL_RelinkBeams(), R_CompleteLightPoint(), R_Shadow_BounceGrid_AssignPhotons_Task(), R_Shadow_DrawCoronas(), R_Shadow_EditLights_DrawSelectedLightProperties(), R_Shadow_EditLights_Edit_f(), R_Shadow_EditLights_Spawn_f(), R_Shadow_LoadLightsFile(), R_Shadow_LoadWorldLights(), R_Shadow_LoadWorldLightsFromMap_LightArghliteTyrlite(), R_Shadow_PrepareLights(), R_Shadow_SaveWorldLights(), R_Shadow_UpdateBounceGridTexture(), VM_CL_R_AddDynamicLight(), VM_CL_te_customflash(), VM_CL_te_explosion2(), and VM_CL_te_explosionrgb().
#define MAX_FRAMEBLENDS (MAX_FRAMEGROUPBLENDS * 2) |
Definition at line 309 of file client.h.
Referenced by Mod_Alias_CalculateBoundingBox(), Mod_Alias_GetExtendedTagInfoForIndex(), Mod_Alias_GetTagMatrix(), Mod_Alias_MorphMesh_CompileFrames(), Mod_MD3_AnimateVertices(), Mod_MDL_AnimateVertices(), Mod_Skeletal_BuildTransforms(), R_Model_Sprite_Draw_TransparentCallback(), VM_CL_skel_build(), VM_FrameBlendFromFrameGroupBlend(), and VM_SV_skel_build().
#define MAX_RCONS 16 |
Definition at line 619 of file client.h.
Referenced by CL_Rcon_f(), NetConn_ClientParsePacket(), and NetConn_UpdateSockets().
#define NUM_CSHIFTS 5 |
Definition at line 516 of file client.h.
Referenced by V_CalcViewBlend().
#define NUM_TS_ERRORS 32 |
Definition at line 874 of file client.h.
Referenced by CL_NetworkTimeReceived().
#define SIGNONS 4 |
Definition at line 525 of file client.h.
Referenced by CL_ClientMovement_Replay(), CL_KeepaliveMessage(), CL_NetworkTimeReceived(), CL_ParseServerMessage(), CL_ReadDemoMessage(), CL_SendMove(), CL_SetSignonStage_WithMsg(), CL_UpdateScreen(), CL_UpdateWorld(), QW_CL_RequestNextDownload(), SCR_DrawCurlDownload(), SCR_DrawInfobarString(), SCR_DrawQWDownload(), SCR_DrawScreen(), SCR_SetUpToDrawConsole(), V_CalcRefdef(), and V_CalcViewBlend().
enum cactive_t |
enum cl_parsingtextmode_t |
enum meshname_t |
Enumerator | |
---|---|
MESH_SCENE | |
MESH_UI | |
NUM_MESHENTITIES |
enum qw_downloadtype_t |
enum waterlevel_t |
Enumerator | |
---|---|
WATERLEVEL_NONE | |
WATERLEVEL_WETFEET | |
WATERLEVEL_SWIMMING | |
WATERLEVEL_SUBMERGED |
Definition at line 1323 of file client.h.
|
extern |
Definition at line 852 of file cl_main.c.
References dlight_t::ambientscale, blue, cl, CL_FindNonSolidLocation(), dlight_t::color, dlight_t::corona, dlight_t::coronasizescale, dlight_t::cubemapname, dlight_t::decay, dlight_t::die, dlight_t::diffusescale, client_state_t::dlights, dp_strlcpy, dlight_t::ent, dlight_t::flags, flags, green, i, dlight_t::initialcolor, dlight_t::initialradius, dlight_t::intensity, dlight_t::matrix, Matrix4x4_Normalize(), Matrix4x4_OriginFromMatrix(), Matrix4x4_SetOrigin(), max, client_state_t::max_dlights, client_state_t::num_dlights, dlight_t::origin, dlight_t::radius, dlight_t::shadow, dlight_t::specularscale, dlight_t::style, style, and client_state_t::time.
Referenced by CL_NewParticlesFromEffectinfo(), CL_ParseTempEntity(), CL_ParticleEffect_Fallback(), VM_CL_te_customflash(), VM_CL_te_explosion2(), and VM_CL_te_explosionrgb().
Definition at line 129 of file r_lightning.c.
References b, CL_Beam_AddQuad(), CL_Beam_CalculatePositions(), cl_beams_builtintexture, cl_beams_externaltexture, CL_Beams_SetupBuiltinTexture(), CL_Beams_SetupExternalTexture(), CL_Mesh_Scene, CrossProduct, texture_t::currentskinframe, DotProduct, int(), cvar_t::integer, length, mod(), Mod_Mesh_AddSurface(), NULL, offset, r_refdef_view_t::origin, r_lightningbeam_qmbtexture, r_lightningbeam_repeatdistance, r_lightningbeam_scroll, r_lightningbeam_thickness, r_refdef, right, r_refdef_t::scene, sqrt(), r_refdef_scene_t::time, up, cvar_t::value, VectorM, VectorMA, VectorMAM, VectorNormalize, VectorScale, VectorSubtract, and r_refdef_t::view.
Referenced by CL_RelinkBeams().
Definition at line 1851 of file cl_main.c.
References b, chase_active, cl, cl_beams_instantaimhack, cl_beams_quakepositionhack, dir, client_state_t::entities, cvar_t::integer, entity_render_t::matrix, r_refdef_view_t::matrix, Matrix4x4_OriginFromMatrix(), Matrix4x4_Transform(), r_refdef, entity_t::render, VectorCopy, VectorLength, VectorNormalize, VectorSet, VectorSubtract, r_refdef_t::view, and client_state_t::viewentity.
Referenced by CL_Beam_AddPolygons(), and CL_RelinkBeams().
Definition at line 125 of file cl_main.c.
References entity_state_t::active, entity_render_t::allowdecals, entity_render_t::alpha, client_state_t::beams, client_state_t::brushmodel_entities, cl, CL_Screen_NewMap(), CL_UpdateRenderEntity(), CL_VM_ShutDown(), cls, client_state_t::csqc_vidvars, client_state_t::csqcrenderentities, defaultstate, client_state_t::dlights, csqc_vidvars_t::drawcrosshair, csqc_vidvars_t::drawenginesbar, csqc_vidvars_t::drawworld, client_state_t::effects, client_state_t::entities, client_state_t::entities_active, entity_render_t::flags, gamemode, i, IN_BestWeapon_ResetData(), cvar_t::integer, IS_NEXUIZ_DERIVED, client_static_t::levelmempool, client_state_t::lightstyle, entity_render_t::matrix, Matrix4x4_CreateFromQuakeEntity(), MAX_BEAMS, client_state_t::max_beams, client_state_t::max_brushmodel_entities, client_state_t::max_csqcrenderentities, MAX_DLIGHTS, client_state_t::max_dlights, MAX_EDICTS, MAX_EFFECTS, client_state_t::max_effects, client_state_t::max_entities, MAX_ENTITIES_INITIAL, client_state_t::max_lightstyle, MAX_LIGHTSTYLES, client_state_t::max_particles, MAX_PARTICLES_INITIAL, client_state_t::max_showlmps, client_state_t::max_static_entities, MAX_STATICENTITIES, Mem_Alloc, Mem_EmptyPool, entity_render_t::model, client_state_t::mviewzoom, noclip_anglehack, NULL, client_state_t::num_beams, client_state_t::num_brushmodel_entities, client_state_t::num_dlights, client_state_t::num_effects, client_state_t::num_entities, client_state_t::num_static_entities, client_state_t::particles, client_state_t::playercrouchmaxs, client_state_t::playercrouchmins, client_state_t::playerstandmaxs, client_state_t::playerstandmins, client_state_t::qw_deltasequence, r_drawworld, R_ResetSkyBox(), entity_t::render, RENDER_LIGHT, RENDER_SHADOW, S_StopAllSounds(), client_state_t::sensitivityscale, client_state_t::showlmps, entity_t::state_baseline, entity_t::state_current, entity_t::state_previous, client_state_t::static_entities, client_state_t::stats, client_state_t::statsf, VectorSet, and client_state_t::worldmodel.
Referenced by CL_ParseServerInfo().
Definition at line 781 of file cl_main.c.
References cls, Con_Printf(), r_refdef_scene_t::expandtempentities, r_refdef_scene_t::maxtempentities, Mem_Realloc, r_refdef_scene_t::numtempentities, client_static_t::permanentmempool, r_refdef, r_refdef_t::scene, and r_refdef_scene_t::tempentities.
Referenced by CL_UpdateWorld().
void CL_ClientMovement_PlayerMove_Frame | ( | cl_clientmovement_state_t * | s | ) |
Definition at line 1586 of file cl_input.c.
References usercmd_t::canjump, CL_ClientMovement_PlayerMove(), cl_clientmovement_state_t::cmd, usercmd_t::frametime, and usercmd_t::jump.
Referenced by CL_ClientMovement_Replay(), and VM_CL_runplayerphysics().
Definition at line 1607 of file cl_input.c.
References usercmd_t::canjump, cl, CL_ClientMovement_PlayerMove_Frame(), CL_ClientMovement_UpdateStatus(), CL_MAX_USERCMDS, cl_movement, cl_movement_minping, cl_movement_replay, cls, cl_clientmovement_state_t::cmd, cl_clientmovement_state_t::crouched, client_static_t::demoplayback, client_state_t::entities, i, cvar_t::integer, client_state_t::intermission, client_state_t::movecmd, client_state_t::movement_origin, client_state_t::movement_predicted, client_state_t::movement_replay, client_state_t::movement_velocity, usercmd_t::msec, client_state_t::mvelocity, cl_clientmovement_state_t::onground, client_state_t::onground, cl_clientmovement_state_t::origin, entity_state_t::origin, client_state_t::playerentity, usercmd_t::sequence, client_static_t::servermovesequence, client_static_t::signon, SIGNONS, STAT_HEALTH, entity_t::state_current, client_state_t::stats, cvar_t::value, VectorCopy, and cl_clientmovement_state_t::velocity.
Referenced by CL_UpdateWorld().
void CL_CutDemo | ( | unsigned char ** | buf, |
fs_offset_t * | filesize ) |
Definition at line 137 of file cl_demo.c.
References buf, cls, client_static_t::demofile, client_static_t::demoname, client_static_t::forcetrack, FS_Close(), FS_LoadFile(), FS_OpenRealFile(), FS_Printf(), NULL, Sys_Error(), and tempmempool.
Referenced by CL_VM_Init().
Definition at line 737 of file cl_demo.c.
References CF_CLIENT, cl_autodemo, cl_autodemo_delete, cl_autodemo_nameformat, CL_Demos_f(), CL_PauseDemo_f(), CL_PlayDemo_f(), CL_Record_f(), cl_startdemos, CL_Startdemos_f(), CL_Stop_f(), CL_Stopdemo_f(), CL_TimeDemo_f(), Cmd_AddCommand(), and Cvar_RegisterVariable().
Referenced by CL_Init().
Definition at line 478 of file cl_main.c.
References CL_DisconnectEx(), and NULL.
Referenced by CL_Demos_f(), CL_Disconnect_f(), CL_PlayDemo(), CL_ReadDemoMessage(), CL_Record_f(), CL_Shutdown(), CL_Stopdemo_f(), Curl_Curl_f(), FS_ChangeGameDirs(), and NetConn_ConnectionEstablished().
void CL_Disconnect_f | ( | cmd_state_t * | cmd | ) |
Definition at line 559 of file cl_main.c.
References CL_Disconnect(), CL_DisconnectEx(), cmd(), Cmd_Argc(), and Cmd_Argv().
Referenced by CL_Init().
Definition at line 370 of file cl_main.c.
References buf, ca_dedicated, ca_disconnected, cl, cl_connect_status, cl_netport, CL_Parse_ErrorCleanUp(), CL_Stop_f(), CL_StopPlayback(), CL_VM_ShutDown(), clc_disconnect, cls, cmd_local, Con_DPrint(), Con_DPrintf(), Con_Printf(), client_state_t::cshifts, csqc_progcrc, csqc_progsize, Curl_Clear_forthismap(), Cvar_Callback(), Cvar_SetValueQuick(), client_static_t::demoplayback, client_static_t::demorecording, dp_strlcpy, dpsnprintf(), dpvsnprintf(), FS_UnloadPacks_dlcache(), host_static_t::hook, host, client_state_t::islocalgame, MSG_WriteByte(), MSG_WriteString(), client_static_t::netcon, NetConn_Close(), NetConn_SendUnreliableMessage(), NULL, client_state_t::parsingtextexpectingpingforscores, cshift_t::percent, client_static_t::protocol, PROTOCOL_DARKPLACES8, PROTOCOL_QUAKEWORLD, qw_clc_stringcmd, host_static_t::restless, S_StopAllSounds(), SCR_ClearLoadingScreen(), client_static_t::signon, client_static_t::state, host_static_t::SV_Shutdown, Sys_AllowProfiling(), Sys_CheckParm(), client_static_t::timedemo, vid_vsync, and client_state_t::worldmodel.
Referenced by CL_Disconnect(), CL_Disconnect_f(), CL_Init(), CL_ParseServerMessage(), CL_ReadDemoMessage(), CL_SendMove(), CL_VM_Init(), Host_Error(), and NetConn_ClientFrame().
Definition at line 816 of file cl_main.c.
References cl_effect_t::active, cl, Con_Printf(), client_state_t::effects, cl_effect_t::endframe, cl_effect_t::frame, cl_effect_t::frame1time, cl_effect_t::frame2time, cl_effect_t::framerate, i, max, client_state_t::max_effects, cl_effect_t::model, model, client_state_t::num_effects, cl_effect_t::origin, cl_effect_t::startframe, cl_effect_t::starttime, client_state_t::time, and VectorCopy.
Referenced by CL_ParseEffect(), CL_ParseEffect2(), CL_ParseTempEntity(), and VM_CL_effect().
Definition at line 574 of file cl_main.c.
References ca_dedicated, cl_connect_status, cls, Cmd_Argc(), Cmd_Argv(), cmd_local, CON_ERROR, Con_Printf(), client_static_t::connect_address, client_static_t::connect_mysocket, client_static_t::connect_nextsendtime, client_static_t::connect_remainingtries, client_static_t::connect_trying, client_static_t::connect_userinfo, dp_strlcpy, i, InfoString_SetValue(), LHNETADDRESS_FromString(), NetConn_ChooseClientSocketForAddress(), NetConn_UpdateSockets(), SCR_BeginLoadingPlaque(), client_static_t::state, and Sys_CheckParm().
Referenced by CL_Connect_f(), CL_EstablishConnection_Local(), and CL_Reconnect_f().
Definition at line 325 of file cl_main.c.
References cl, cls, client_state_t::csqcrenderentities, r_refdef_scene_t::entities, Host_Error(), i, client_static_t::levelmempool, client_state_t::max_csqcrenderentities, MAX_EDICTS, Mem_Alloc, Mem_Free, r_refdef_scene_t::numentities, r_refdef, and r_refdef_t::scene.
Referenced by CLVM_init_edict().
Definition at line 300 of file cl_main.c.
References cl, cls, defaultstate, client_state_t::entities, Host_Error(), i, client_static_t::levelmempool, MAX_EDICTS, client_state_t::max_entities, Mem_Alloc, Mem_Free, entity_t::state_baseline, entity_t::state_current, entity_t::state_previous, and Sys_Error().
Referenced by CL_NewBeam(), CL_ParseServerMessage(), CL_ParseStartSoundPacket(), CL_ParseTrailParticles(), EntityFrame4_CL_ReadFrame(), EntityFrame5_CL_ReadFrame(), EntityFrame_CL_ReadFrame(), EntityFrameQuake_ReadEntity(), and EntityFrameQW_CL_ReadFrame().
Definition at line 79 of file cl_collision.c.
References cl, and client_state_t::worldmodel.
Referenced by CL_AllocLightFlash(), CL_ParseTempEntity(), VM_CL_te_blood(), VM_CL_te_customflash(), VM_CL_te_explosion(), VM_CL_te_explosion2(), VM_CL_te_explosionquad(), VM_CL_te_explosionrgb(), VM_CL_te_flamejet(), VM_CL_te_gunshot(), VM_CL_te_gunshotquad(), VM_CL_te_knightspike(), VM_CL_te_plasmaburn(), VM_CL_te_smallflash(), VM_CL_te_spark(), VM_CL_te_spike(), VM_CL_te_spikequad(), VM_CL_te_superspike(), VM_CL_te_superspikequad(), VM_CL_te_tarexplosion(), and VM_CL_te_wizspike().
void CL_ForwardToServer | ( | const char * | s | ) |
adds the string as a clc_stringcmd to the client message.
(used when there is no reason to generate a local command to do it)
Definition at line 54 of file cl_cmd.c.
References ca_connected, cl, cl_locs_enable, CL_Locs_FindLocationName(), clc_stringcmd, cls, Con_Printf(), dp_strlcat, dpsnprintf(), floor(), cvar_t::integer, IT_GRENADE_LAUNCHER, IT_INVISIBILITY, IT_INVULNERABILITY, IT_LIGHTNING, IT_NAILGUN, IT_QUAD, IT_ROCKET_LAUNCHER, IT_SUPER_NAILGUN, IT_SUPER_SHOTGUN, client_state_t::lastdeathorigin, netconn_t::message, client_state_t::movement_origin, MSG_WriteByte(), client_static_t::netcon, client_static_t::protocol, PROTOCOL_QUAKEWORLD, qw_clc_stringcmd, STAT_ARMOR, STAT_CELLS, STAT_HEALTH, STAT_ITEMS, STAT_ROCKETS, client_static_t::state, client_state_t::stats, strlen(), SZ_Write(), and client_state_t::time.
Referenced by CL_BeginDownloads(), CL_DownloadBegin_f(), CL_ForwardToServer_f(), CL_SendCvar_f(), Key_Message(), and NetConn_ConnectionEstablished().
void CL_ForwardToServer_f | ( | cmd_state_t * | cmd | ) |
adds the current command line as a clc_stringcmd to the client message.
things like godmode, noclip, etc, are commands directed to the server, so when they are typed in at the console, they will need to be forwarded.
Definition at line 174 of file cl_cmd.c.
References CL_ForwardToServer(), cmd(), Cmd_Argc(), Cmd_Args(), Cmd_Argv(), dpsnprintf(), i, and MAX_INPUTLINE.
Referenced by CL_InitCommands(), and Cmd_CL_Callback().
double CL_Frame | ( | double | time | ) |
Definition at line 2802 of file cl_main.c.
References bound, ca_dedicated, CDAudio_Update(), cl, CL_Input(), cl_maxfps, cl_maxfps_alwayssleep, cl_maxidlefps, CL_ReadDemoMessage(), CL_SendMove(), CL_UpdateScreen(), CL_UpdateWorld(), CL_Video_Frame(), CL_VM_PreventInformationLeaks(), cls, Collision_Cache_NewFrame(), Con_Printf(), client_state_t::csqc_listenermatrix, client_state_t::csqc_usecsqclistener, client_static_t::demopaused, client_static_t::demoplayback, host, host_framerate, host_speeds, host_timescale, in_mouse_x, in_mouse_y, int(), cvar_t::integer, r_refdef_view_t::matrix, max, min, client_state_t::movevars_timescale, NetConn_ClientFrame(), client_state_t::oldtime, client_state_t::paused, host_static_t::paused, r_refdef, R_TimeReport(), client_state_t::realframetime, host_static_t::restless, S_Update(), serverlist_querystage, client_static_t::state, Sys_DirtyTime(), Sys_Sleep(), client_state_t::time, time, client_static_t::timedemo, cvar_t::value, value, vid_activewindow, and r_refdef_t::view.
Referenced by Host_Frame().
Definition at line 2988 of file cl_main.c.
References ca_dedicated, CF_CLIENT, CF_CLIENT_FROM_SERVER, CF_SERVER, cl_anglespeedkey, cl_areagrid_link_SOLID_NOT, CL_AreaStats_f(), cl_backspeed, cl_beams_instantaimhack, cl_beams_lightatend, cl_beams_polygons, cl_beams_quakepositionhack, CL_Connect_f(), cl_deathfade, cl_deathnoviewmodel, CL_Demo_Init(), CL_Disconnect_f(), CL_DisconnectEx(), cl_dlights_decaybrightness, cl_dlights_decayradius, CL_EstablishConnection_Local(), cl_explosions_alpha_end, cl_explosions_alpha_start, cl_explosions_lifetime, cl_explosions_size_end, cl_explosions_size_start, CL_Fog_f(), CL_Fog_HeightTexture_f(), cl_forwardspeed, cl_gameplayfix_nudgeoutofsolid_separation, CL_InitCommands(), CL_InitInput(), cl_itembobheight, cl_itembobspeed, cl_lerpanim_maxdelta_framegroups, cl_lerpanim_maxdelta_server, cl_lerpexcess, CL_Locs_Add_f(), CL_Locs_Clear_f(), cl_locs_enable, CL_Locs_Reload_f(), CL_Locs_RemoveNearest_f(), CL_Locs_Save_f(), cl_locs_show, cl_maxfps, cl_maxfps_alwayssleep, cl_maxidlefps, cl_minfps, cl_minfps_fade, cl_minfps_force, cl_minfps_qualityhysteresis, cl_minfps_qualitymax, cl_minfps_qualitymin, cl_minfps_qualitymultiply, cl_minfps_qualitystepmax, CL_ModelIndexList_f(), cl_movespeedkey, cl_netport, cl_nolerp, cl_noplayershadow, CL_Parse_Init(), CL_Particles_Init(), cl_pitchspeed, CL_PrintEntities_f(), cl_prydoncursor, cl_prydoncursor_notrace, CL_Reconnect_f(), CL_Screen_Init(), cl_shownet, cl_sidespeed, CL_SoundIndexList_f(), cl_stainmaps, cl_stainmaps_clearonload, CL_TimeRefresh_f(), CL_ToggleMenu_Hook(), cl_upspeed, CL_Video_Init(), cl_yawspeed, cls, Cmd_AddCommand(), Con_Printf(), host_static_t::ConnectLocal, csqc_lowres, csqc_polygons_defaultmaterial_nocullface, Cvar_Callback(), Cvar_RegisterVariable(), Cvar_SetValueQuick(), host_static_t::Disconnect, r_refdef_scene_t::entities, freelook, host_static_t::hook, host, host_isclient, Key_Init(), client_static_t::levelmempool, lookspring, lookstrafe, m_forward, m_pitch, m_side, m_yaw, MAX_EDICTS, MAX_TEMPENTITIES, r_refdef_scene_t::maxentities, r_refdef_scene_t::maxtempentities, Mem_Alloc, Mem_AllocPool, MR_Init_Commands(), NULL, Palette_Init(), client_static_t::permanentmempool, qport, r_draweffects, R_Modules_Init(), r_refdef, Render_Init(), S_Init(), r_refdef_t::scene, sensitivity, client_static_t::state, r_refdef_scene_t::tempentities, host_static_t::ToggleMenu, V_Init(), VID_Init(), and VID_Shared_Init().
Referenced by Host_Init().
Definition at line 742 of file cl_cmd.c.
References CF_CLIENT, CF_CLIENT_FROM_SERVER, CF_SHARED, cl_bottomcolor, CL_Bottomcolor_c(), cl_color, CL_Color_c(), CL_Color_f(), CL_ForwardToServer_f(), CL_FullInfo_f(), CL_FullServerinfo_f(), cl_name, CL_Name_f(), cl_noaim, CL_Packet_f(), CL_PingPLReport_f(), cl_pmodel, CL_PQRcon_f(), cl_rate, cl_rate_burstsize, CL_Rcon_f(), host_static_t::CL_SendCvar, CL_SendCvar_f(), CL_SetInfo_f(), cl_skin, cl_team, cl_topcolor, CL_Topcolor_c(), CL_User_f(), CL_Users_f(), cls, Cmd_AddCommand(), Cvar_RegisterCallback(), Cvar_RegisterVariable(), Cvar_RegisterVirtual(), dpsnprintf(), host_static_t::hook, host, Image_FixTransparentPixels_f(), r_fixtrans_auto, and client_static_t::userinfo.
Referenced by CL_Init().
Definition at line 2209 of file cl_input.c.
References CF_CLIENT, cl_csqc_generatemousemoveevents, cl_movecliptokeyboard, cl_movement, cl_movement_accelerate, cl_movement_airaccel_qw, cl_movement_airaccel_sideways_friction, cl_movement_airaccelerate, cl_movement_edgefriction, cl_movement_friction, cl_movement_jumpvelocity, cl_movement_maxairspeed, cl_movement_maxspeed, cl_movement_minping, cl_movement_nettimeout, cl_movement_replay, cl_movement_stepheight, cl_movement_stopspeed, cl_movement_track_canjump, cl_movement_wallfriction, cl_movement_wateraccelerate, cl_movement_waterfriction, cl_netfps, cl_netimmediatebuttons, cl_netrepeatinput, cl_nodelta, cl_nopred, Cmd_AddCommand(), Cvar_RegisterVariable(), IN_AttackDown(), IN_AttackUp(), IN_BackDown(), IN_BackUp(), IN_BestWeapon_f(), IN_BestWeapon_Register_f(), IN_Button10Down(), IN_Button10Up(), IN_Button11Down(), IN_Button11Up(), IN_Button12Down(), IN_Button12Up(), IN_Button13Down(), IN_Button13Up(), IN_Button14Down(), IN_Button14Up(), IN_Button15Down(), IN_Button15Up(), IN_Button16Down(), IN_Button16Up(), IN_Button3Down(), IN_Button3Up(), IN_Button4Down(), IN_Button4Up(), IN_Button5Down(), IN_Button5Up(), IN_Button6Down(), IN_Button6Up(), IN_Button7Down(), IN_Button7Up(), IN_Button8Down(), IN_Button8Up(), IN_Button9Down(), IN_Button9Up(), IN_DownDown(), IN_DownUp(), IN_ForwardDown(), IN_ForwardUp(), IN_Impulse(), IN_JumpDown(), IN_JumpUp(), IN_KLookDown(), IN_KLookUp(), IN_LeftDown(), IN_LeftUp(), IN_LookdownDown(), IN_LookdownUp(), IN_LookupDown(), IN_LookupUp(), IN_MLookDown(), IN_MLookUp(), IN_MoveleftDown(), IN_MoveleftUp(), IN_MoverightDown(), IN_MoverightUp(), in_pitch_max, in_pitch_min, IN_RightDown(), IN_RightUp(), IN_SpeedDown(), IN_SpeedUp(), IN_StrafeDown(), IN_StrafeUp(), IN_UpDown(), IN_UpUp(), IN_UseDown(), IN_UseUp(), m_accelerate, m_accelerate_filter, m_accelerate_maxspeed, m_accelerate_minspeed, m_accelerate_natural_accelsenscap, m_accelerate_natural_offset, m_accelerate_natural_strength, m_accelerate_power, m_accelerate_power_offset, m_accelerate_power_senscap, m_accelerate_power_strength, and m_filter.
Referenced by CL_Init().
Definition at line 483 of file cl_input.c.
References bound, cl, CL_AdjustAngles(), cl_backspeed, cl_csqc_generatemousemoveevents, cl_forwardspeed, cl_ignoremousemoves, CL_KeyState(), cl_movecliptokeyboard, cl_movespeedkey, cl_prydoncursor, cl_sidespeed, cl_upspeed, CL_VM_InputEvent(), CLVM_prog, client_state_t::cmd, client_state_t::csqc_wantsmousemove, usercmd_t::cursor_screen, f, fabs(), usercmd_t::forwardmove, freelook, viddef_mode_t::height, in_back, in_down, in_forward, in_klook, in_left, in_mlook, in_mouse_x, in_mouse_y, IN_Move(), in_moveleft, in_moveright, in_right, in_speed, in_strafe, in_up, in_windowmouse_x, in_windowmouse_y, cvar_t::integer, key_consoleactive, key_dest, key_game, lookstrafe, m_accelerate, m_accelerate_filter, m_accelerate_maxspeed, m_accelerate_minspeed, m_accelerate_natural_accelsenscap, m_accelerate_natural_offset, m_accelerate_natural_strength, m_accelerate_power, m_accelerate_power_offset, m_accelerate_power_senscap, m_accelerate_power_strength, m_filter, m_forward, m_pitch, m_side, m_yaw, max, viddef_t::mode, noclip_anglehack, PITCH, client_state_t::realframetime, sensitivity, client_state_t::sensitivityscale, usercmd_t::sidemove, sqrt(), kbutton_t::state, usercmd_t::upmove, v_flipped, V_StopPitchDrift(), cvar_t::value, vid, vid_conheight, vid_conwidth, client_state_t::viewangles, client_state_t::viewzoom, viddef_mode_t::width, wishspeed, and YAW.
Referenced by CL_Frame().
Definition at line 315 of file cl_input.c.
References kbutton_t::state.
Referenced by CL_AdjustAngles(), and CL_Input().
Definition at line 2218 of file cl_main.c.
References buffer, CL_Locs_FindNearest(), dp_strlcpy, dpsnprintf(), and cl_locnode_t::name.
Referenced by CL_ForwardToServer().
cl_locnode_t * CL_Locs_FindNearest | ( | const vec3_t | point | ) |
Definition at line 2193 of file cl_main.c.
References bound, cl, i, client_state_t::locnodes, cl_locnode_t::maxs, cl_locnode_t::mins, cl_locnode_t::next, NULL, and VectorDistance2.
Referenced by CL_Locs_FindLocationName(), CL_Locs_RemoveNearest_f(), R_DrawLocs(), and R_TimeReport_EndFrame().
void CL_Locs_Reload_f | ( | cmd_state_t * | cmd | ) |
Definition at line 2377 of file cl_main.c.
References ca_connected, cl, CL_Locs_AddNode(), CL_Locs_Clear_f(), cls, cmd(), Con_Printf(), dpsnprintf(), FS_LoadFile(), i, int(), ISWHITESPACE, client_static_t::levelmempool, MAX_INPUTLINE, MAX_QPATH, maxs, min, mins, name, NULL, client_static_t::state, VectorScale, client_state_t::worldbasename, client_state_t::worldmodel, and client_state_t::worldnamenoextension.
Referenced by CL_Init(), and CL_SetupWorldModel().
Definition at line 2555 of file cl_main.c.
References entity_state_t::active, entity_render_t::alpha, cl_meshentities, CL_MeshEntities_Restart(), CL_MeshEntities_Shutdown(), CL_MeshEntities_Start(), cl_meshentitymodels, cl_meshentitynames, CL_UpdateRenderEntity(), entity_render_t::colormod, entity_render_t::custommodellight_ambient, entity_render_t::custommodellight_diffuse, entity_render_t::custommodellight_lightdir, entity_render_t::flags, entity_render_t::frameblend, entity_render_t::framegroupblend, entity_render_t::glowmod, i, frameblend_t::lerp, framegroupblend_t::lerp, entity_render_t::matrix, Matrix4x4_CreateIdentity(), MESH_UI, Mod_Mesh_Create(), entity_render_t::model, NUM_MESHENTITIES, R_RegisterModule(), entity_t::render, entity_render_t::render_fullbright, entity_render_t::render_glowmod, RENDER_LIGHT, entity_render_t::render_lightmap_ambient, entity_render_t::render_lightmap_diffuse, entity_render_t::render_lightmap_specular, entity_render_t::render_modellight_ambient, entity_render_t::render_modellight_diffuse, entity_render_t::render_modellight_lightdir_local, entity_render_t::render_modellight_lightdir_world, entity_render_t::render_modellight_specular, RENDER_NOSELFSHADOW, entity_render_t::render_rtlight_diffuse, entity_render_t::render_rtlight_specular, RENDER_SHADOW, entity_t::state_current, and VectorSet.
Referenced by Render_Init().
Definition at line 2599 of file cl_main.c.
References cl_meshentities, r_refdef_scene_t::entities, MESH_SCENE, r_refdef_scene_t::numentities, r_refdef, entity_t::render, and r_refdef_t::scene.
Referenced by CSQC_RelinkAllEntities().
Definition at line 2594 of file cl_main.c.
References CL_Mesh_Scene, and Mod_Mesh_Reset().
Referenced by CL_UpdateWorld(), and VM_CL_R_ClearScene().
Definition at line 2605 of file cl_main.c.
References cl_meshentities, entity_render_t::maxs, MESH_SCENE, entity_render_t::mins, Mod_Mesh_Finalize(), entity_render_t::model, model_t::normalmaxs, model_t::normalmins, entity_t::render, and VectorCopy.
Referenced by SCR_DrawScreen(), and VM_CL_R_RenderScene().
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().
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 1737 of file cl_input.c.
References cl, client_state_t::cmd, Con_Printf(), developer_networkentities, cvar_t::integer, LATESTFRAMENUMS, client_state_t::latestframenums, client_state_t::latestframenumsposition, client_state_t::latestsendnums, and usercmd_t::sequence.
Referenced by EntityFrame4_CL_ReadFrame(), EntityFrame5_CL_ReadFrame(), and EntityFrame_CL_ReadFrame().
entity_render_t * CL_NewTempEntity | ( | double | shadertime | ) |
Definition at line 794 of file cl_main.c.
References entity_render_t::alpha, entity_render_t::colormod, r_refdef_scene_t::entities, r_refdef_scene_t::expandtempentities, entity_render_t::glowmod, r_refdef_scene_t::maxentities, r_refdef_scene_t::maxtempentities, NULL, r_refdef_scene_t::numentities, r_refdef_scene_t::numtempentities, r_refdef, r_refdef_t::scene, entity_render_t::shadertime, r_refdef_scene_t::tempentities, and VectorSet.
Referenced by CL_AddQWCTFFlagModel(), CL_RelinkBeams(), CL_RelinkEffects(), CL_RelinkQWNails(), and CSQC_AddRenderEdict().
Definition at line 50 of file cl_demo.c.
References Cbuf_InsertText(), cls, cmd_local, Con_Print(), client_static_t::demonum, client_static_t::demos, dpsnprintf(), MAX_DEMOS, and MAX_INPUTLINE.
Referenced by CL_Demos_f(), CL_ParseServerMessage(), and CL_Startdemos_f().
void CL_ParseEntityLump | ( | char * | entitystring | ) |
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().
void CL_PasteDemo | ( | unsigned char ** | buf, |
fs_offset_t * | filesize ) |
Definition at line 160 of file cl_demo.c.
References buf, cls, client_static_t::demofile, FS_Write(), Mem_Free, and NULL.
Referenced by CL_VM_Init().
void CL_PlayDemo | ( | const char * | demo | ) |
Definition at line 413 of file cl_demo.c.
References ca_connected, CL_Disconnect(), cls, CON_ERROR, Con_Printf(), client_static_t::demofile, client_static_t::demoname, client_static_t::demonum, client_static_t::demoplayback, client_static_t::demostarting, dp_strlcpy, f, client_static_t::forcetrack, FS_DefaultExtension(), FS_Getc(), FS_OpenVirtualFile(), MAX_QPATH, name, NetConn_UpdateSockets(), client_static_t::protocol, PROTOCOL_QUAKE, and client_static_t::state.
Referenced by CL_PlayDemo_f(), and CL_TimeDemo_f().
void CL_PlayDemo_f | ( | cmd_state_t * | cmd | ) |
Definition at line 468 of file cl_demo.c.
References CL_PlayDemo(), cmd(), Cmd_Argc(), Cmd_Argv(), and Con_Print().
Referenced by CL_Demo_Init().
Definition at line 187 of file cl_demo.c.
References Cbuf_Execute(), cl, CL_Disconnect(), CL_DisconnectEx(), cl_message, CL_ParseServerMessage(), cls, cmd_local, sizebuf_t::cursize, sizebuf_t::data, client_static_t::demofile, DEMOMSG_CLIENT_TO_SERVER, client_static_t::demopaused, client_static_t::demoplayback, f, FS_Read(), FS_Seek(), host, i, LittleFloat, LittleLong, client_state_t::loadcsqc, max, sizebuf_t::maxsize, min, MSG_BeginReading(), client_state_t::mtime, client_state_t::mviewangles, host_static_t::realtime, client_static_t::signon, SIGNONS, client_static_t::td_frames, client_static_t::td_onesecondavgcount, client_static_t::td_onesecondavgfps, client_static_t::td_onesecondframes, client_static_t::td_onesecondmaxfps, client_static_t::td_onesecondminfps, client_static_t::td_onesecondnexttime, client_static_t::td_onesecondrealtime, client_static_t::td_starttime, client_state_t::time, client_static_t::timedemo, and VectorCopy.
Referenced by CL_Frame().
void CL_Record_f | ( | cmd_state_t * | cmd | ) |
Definition at line 346 of file cl_demo.c.
References ca_connected, CL_Disconnect(), cls, cmd(), Cmd_Argc(), Cmd_Argv(), Cmd_ExecuteString(), CON_ERROR, Con_Print(), Con_Printf(), client_static_t::demo_lastcsprogscrc, client_static_t::demo_lastcsprogssize, client_static_t::demofile, client_static_t::demoname, client_static_t::demorecording, dp_strlcpy, dpsnprintf(), client_static_t::forcetrack, FS_DefaultExtension(), FS_OpenRealFile(), FS_Printf(), MAX_OSPATH, name, src_local, and client_static_t::state.
Referenced by CL_Demo_Init().
Definition at line 1884 of file cl_main.c.
References b, client_state_t::beams, cl, CL_Beam_AddPolygons(), CL_Beam_CalculatePositions(), cl_beams_lightatend, cl_beams_polygons, CL_NewTempEntity(), CL_UpdateRenderEntity(), forward, i, cvar_t::integer, lhrandom, LIGHTFLAG_NORMALMODE, LIGHTFLAG_REALTIMEMODE, r_refdef_scene_t::lights, M_PI, entity_render_t::matrix, Matrix4x4_CreateFromQuakeEntity(), MAX_DLIGHTS, beam_t::model, entity_render_t::model, NULL, client_state_t::num_beams, r_refdef_scene_t::numlights, r_refdef, R_RTLight_Update(), r_refdef_t::scene, sqrt(), r_refdef_scene_t::templights, client_state_t::time, VectorCopy, VectorMA, VectorNormalizeLength(), VectorSet, and VectorSubtract.
Referenced by CSQC_RelinkAllEntities().
Definition at line 935 of file cl_main.c.
References dlight_t::ambientscale, cl, dlight_t::color, dlight_t::corona, dlight_t::coronasizescale, dlight_t::cubemapname, dlight_t::diffusescale, client_state_t::dlights, f, dlight_t::flags, floor(), i, int(), cvar_t::integer, lightstyle_t::length, r_refdef_scene_t::lights, client_state_t::lightstyle, r_refdef_scene_t::lightstylevalue, lightstyle_t::map, dlight_t::matrix, Matrix4x4_Scale(), MAX_DLIGHTS, client_state_t::max_lightstyle, client_state_t::num_dlights, r_refdef_scene_t::numlights, r_dynamic, r_lerplightstyles, r_refdef, R_RTLight_Update(), dlight_t::radius, dlight_t::rtlight, r_refdef_scene_t::rtlightstylevalue, r_refdef_t::scene, dlight_t::shadow, dlight_t::specularscale, dlight_t::style, and client_state_t::time.
Referenced by CSQC_RelinkAllEntities().
void CL_RotateMoves | ( | const matrix4x4_t * | m | ) |
Definition at line 1746 of file cl_input.c.
References AnglesFromVectors(), AngleVectors(), cl, CL_MAX_USERCMDS, cls, f, i, Matrix4x4_Transform(), client_state_t::movecmd, r, usercmd_t::sequence, client_static_t::servermovesequence, v, VectorCopy, and usercmd_t::viewangles.
Referenced by VM_CL_RotateMoves().
Definition at line 1771 of file cl_input.c.
References bound, buf, usercmd_t::buttons, ca_connected, cl, CL_DisconnectEx(), CL_MAX_DOWNLOADACKS, CL_MAX_USERCMDS, cl_movement, cl_movement_nettimeout, cl_netfps, cl_netimmediatebuttons, cl_netrepeatinput, cl_nodelta, cl_nopred, cl_prydoncursor, cl_rate, cl_rate_burstsize, CL_UpdatePrydonCursor(), clc_ackdownloaddata, clc_ackframe, clc_move, cls, client_state_t::cmd, cmd(), COM_BlockSequenceCRCByteQW(), Con_Printf(), usercmd_t::crouch, sizebuf_t::cursize, usercmd_t::cursor_screen, data, client_static_t::demorecording, developer_networkentities, client_static_t::dp_downloadack, float, floor(), usercmd_t::forwardmove, usercmd_t::frametime, host, i, usercmd_t::impulse, in_attack, in_button10, in_button11, in_button12, in_button13, in_button14, in_button15, in_button16, in_button3, in_button4, in_button5, in_button6, in_button7, in_button8, in_button9, in_impulse, in_jump, in_use, netconn_t::incoming_netgraph, cvar_t::integer, usercmd_t::jump, key_consoleactive, key_dest, key_game, client_state_t::last_received_message, LATESTFRAMENUMS, client_state_t::latestframenums, client_state_t::latestframenumsposition, client_state_t::latestsendnums, max, netconn_t::message, min, client_state_t::movecmd, client_state_t::movement_replay, client_state_t::movevars_ticrate, usercmd_t::msec, MSG_WriteAngle16i(), MSG_WriteAngle32f(), MSG_WriteAngle8i(), MSG_WriteByte(), MSG_WriteCoord16i(), MSG_WriteFloat(), MSG_WriteLong(), MSG_WriteShort(), client_state_t::mtime, client_static_t::netcon, NetConn_CanSend(), NetConn_SendUnreliableMessage(), NETGRAPH_LOSTPACKET, NETGRAPH_PACKETS, nullcmd, client_state_t::opt_inputs_since_update, netconn_t::outgoing_unreliable_sequence, sizebuf_t::overflowed, usercmd_t::predicted, client_static_t::proquake_servermod, client_static_t::protocol, PROTOCOL_DARKPLACES1, PROTOCOL_DARKPLACES2, PROTOCOL_DARKPLACES3, PROTOCOL_DARKPLACES4, PROTOCOL_DARKPLACES5, PROTOCOL_DARKPLACES6, PROTOCOL_DARKPLACES7, PROTOCOL_DARKPLACES8, PROTOCOL_NEHAHRABJP, PROTOCOL_NEHAHRABJP2, PROTOCOL_NEHAHRABJP3, PROTOCOL_NEHAHRAMOVIE, PROTOCOL_QUAKE, PROTOCOL_QUAKEDP, PROTOCOL_QUAKEWORLD, PROTOCOL_UNKNOWN, qw_clc_delta, qw_clc_move, client_state_t::qw_deltasequence, QW_MSG_WriteDeltaUsercmd(), QW_UPDATE_BACKUP, QW_UPDATE_MASK, client_state_t::qw_validsequence, client_state_t::realframetime, host_static_t::realtime, usercmd_t::sequence, client_static_t::servermovesequence, usercmd_t::sidemove, client_static_t::signon, SIGNONS, cl_downloadack_t::size, cl_downloadack_t::start, client_static_t::state, kbutton_t::state, client_state_t::time, usercmd_t::time, client_state_t::timesincepacket, netgraphitem_t::unreliablebytes, usercmd_t::upmove, cvar_t::value, VectorCopy, vid_activewindow, client_state_t::viewangles, and usercmd_t::viewangles.
Referenced by CL_Frame().
void CL_SetEntityColormapColors | ( | entity_render_t * | ent, |
int | colormap ) |
Definition at line 1061 of file cl_main.c.
References colormap, entity_render_t::colormap_pantscolor, entity_render_t::colormap_shirtcolor, palette_rgb_pantscolormap, palette_rgb_shirtcolormap, VectorClear, and VectorScale.
Referenced by CL_UpdateNetworkEntity(), and CSQC_AddRenderEdict().
void CL_SetInfo | ( | const char * | key, |
const char * | value, | ||
qbool | send, | ||
qbool | allowstarkey, | ||
qbool | allowmodel, | ||
qbool | quiet ) |
Definition at line 233 of file cl_main.c.
References ca_connected, cl_bottomcolor, cl_topcolor, clc_stringcmd, cls, Con_Printf(), i, InfoString_SetValue(), cvar_t::integer, ISWHITESPACE, netconn_t::message, MSG_WriteByte(), MSG_WriteString(), client_static_t::netcon, client_static_t::protocol, PROTOCOL_QUAKEWORLD, qw_clc_stringcmd, client_static_t::state, client_static_t::userinfo, va(), and value.
Referenced by CL_FullInfo_f(), CL_SetInfo_f(), Cvar_SetQuick_Internal(), and QW_CL_RequestNextDownload().
Definition at line 2951 of file cl_main.c.
References CL_Disconnect(), CL_MeshEntities_Shutdown(), CL_Parse_Shutdown(), CL_Particles_Shutdown(), CL_Screen_Shutdown(), CL_Video_Shutdown(), cls, Key_Shutdown(), client_static_t::levelmempool, Mem_FreePool, MR_Shutdown, client_static_t::permanentmempool, R_Modules_Shutdown(), S_StopAllSounds(), S_Terminate(), and VID_Shutdown().
Referenced by Host_Shutdown().
Definition at line 2786 of file cl_main.c.
References ca_dedicated, cls, NetConn_UpdateSockets(), client_static_t::state, vid_opened, and VID_Start().
Referenced by Call_MR_ToggleMenu_f(), CD_f(), CDAudio_Play_byName(), CL_PlayVideo_f(), CL_VideoStart(), Host_Init(), Mod_ForName(), and R_Modules_Restart_f().
void CL_Stop_f | ( | cmd_state_t * | cmd | ) |
Definition at line 307 of file cl_demo.c.
References buf, cl_autodemo, cl_autodemo_delete, CL_WriteDemoMessage(), cls, Con_Print(), client_static_t::demofile, client_static_t::demorecording, FS_Close(), FS_RemoveOnClose(), cvar_t::integer, MSG_WriteByte(), NULL, svc_disconnect, and SZ_Clear().
Referenced by CL_Demo_Init(), CL_DisconnectEx(), CL_ParseServerInfo(), and Sys_Error().
Definition at line 81 of file cl_demo.c.
References CL_FinishTimeDemo(), cls, Cvar_SetQuick(), client_static_t::demofile, client_static_t::demoplayback, client_static_t::demostarting, FS_Close(), host, host_shutdown, cvar_t::integer, NULL, host_static_t::state, Sys_CheckParm(), and client_static_t::timedemo.
Referenced by CL_DisconnectEx().
void CL_TimeDemo_f | ( | cmd_state_t * | cmd | ) |
Definition at line 612 of file cl_demo.c.
References CL_PlayDemo(), cls, cmd(), Cmd_Argc(), Cmd_Argv(), Con_Print(), Cvar_Callback(), client_static_t::demonum, host, key_consoleactive, key_dest, key_game, host_static_t::restless, scr_con_current, client_static_t::td_frames, client_static_t::timedemo, and vid_vsync.
Referenced by CL_Demo_Init().
Definition at line 2777 of file cl_main.c.
References CL_UpdateEntityShading_Entity(), r_refdef_scene_t::entities, i, r_refdef_scene_t::numentities, r_refdef, r_refdef_t::scene, and r_refdef_scene_t::worldentity.
Referenced by R_Envmap_f(), SCR_DrawScreen(), and VM_CL_R_RenderScene().
Definition at line 1495 of file cl_input.c.
References cl, cl_movement_accelerate, cl_movement_airaccel_qw, cl_movement_airaccel_sideways_friction, cl_movement_airaccelerate, cl_movement_edgefriction, cl_movement_friction, cl_movement_jumpvelocity, cl_movement_maxairspeed, cl_movement_maxspeed, cl_movement_stepheight, cl_movement_stopspeed, cl_movement_wallfriction, cl_movement_wateraccelerate, cl_movement_waterfriction, cls, client_static_t::demoplayback, GAME_NEXUIZ, gamemode, host_timescale, MOVEFLAG_Q2AIRACCELERATE, MOVEFLAG_VALID, client_state_t::moveflags, client_state_t::movevars_accelerate, client_state_t::movevars_airaccel_qw, client_state_t::movevars_airaccel_qw_stretchfactor, client_state_t::movevars_airaccel_sideways_friction, client_state_t::movevars_airaccelerate, client_state_t::movevars_aircontrol, client_state_t::movevars_aircontrol_penalty, client_state_t::movevars_aircontrol_power, client_state_t::movevars_airspeedlimit_nonqw, client_state_t::movevars_airstopaccelerate, client_state_t::movevars_airstrafeaccel_qw, client_state_t::movevars_airstrafeaccelerate, 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_maxairstrafespeed, client_state_t::movevars_maxspeed, client_state_t::movevars_spectatormaxspeed, client_state_t::movevars_stepheight, client_state_t::movevars_stopspeed, client_state_t::movevars_ticrate, client_state_t::movevars_timescale, client_state_t::movevars_wallfriction, client_state_t::movevars_warsowbunny_accel, client_state_t::movevars_warsowbunny_airforwardaccel, client_state_t::movevars_warsowbunny_backtosideratio, client_state_t::movevars_warsowbunny_topspeed, client_state_t::movevars_warsowbunny_turnaccel, client_state_t::movevars_wateraccelerate, client_state_t::movevars_waterfriction, client_static_t::protocol, PROTOCOL_QUAKEWORLD, STAT_MOVEFLAGS, STAT_MOVEVARS_ACCELERATE, STAT_MOVEVARS_AIRACCEL_QW, STAT_MOVEVARS_AIRACCEL_QW_STRETCHFACTOR, STAT_MOVEVARS_AIRACCEL_SIDEWAYS_FRICTION, STAT_MOVEVARS_AIRACCELERATE, STAT_MOVEVARS_AIRCONTROL, STAT_MOVEVARS_AIRCONTROL_PENALTY, STAT_MOVEVARS_AIRCONTROL_POWER, STAT_MOVEVARS_AIRSPEEDLIMIT_NONQW, STAT_MOVEVARS_AIRSTOPACCELERATE, STAT_MOVEVARS_AIRSTRAFEACCEL_QW, STAT_MOVEVARS_AIRSTRAFEACCELERATE, STAT_MOVEVARS_EDGEFRICTION, STAT_MOVEVARS_ENTGRAVITY, STAT_MOVEVARS_FRICTION, STAT_MOVEVARS_GRAVITY, STAT_MOVEVARS_JUMPVELOCITY, STAT_MOVEVARS_MAXAIRSPEED, STAT_MOVEVARS_MAXAIRSTRAFESPEED, STAT_MOVEVARS_MAXSPEED, STAT_MOVEVARS_SPECTATORMAXSPEED, STAT_MOVEVARS_STEPHEIGHT, STAT_MOVEVARS_STOPSPEED, STAT_MOVEVARS_TICRATE, STAT_MOVEVARS_TIMESCALE, STAT_MOVEVARS_WALLFRICTION, STAT_MOVEVARS_WARSOWBUNNY_ACCEL, STAT_MOVEVARS_WARSOWBUNNY_AIRFORWARDACCEL, STAT_MOVEVARS_WARSOWBUNNY_BACKTOSIDERATIO, STAT_MOVEVARS_WARSOWBUNNY_TOPSPEED, STAT_MOVEVARS_WARSOWBUNNY_TURNACCEL, STAT_MOVEVARS_WATERACCELERATE, STAT_MOVEVARS_WATERFRICTION, client_state_t::stats, client_state_t::statsf, sv_gravity, and cvar_t::value.
Referenced by CL_ParseServerMessage().
void CL_UpdateRenderEntity | ( | entity_render_t * | ent | ) |
Definition at line 702 of file cl_main.c.
References cl, entity_render_t::frameblend, entity_render_t::framegroupblend, entity_render_t::inversematrix, matrix4x4_t::m, entity_render_t::matrix, Matrix4x4_Invert_Simple(), Matrix4x4_OriginFromMatrix(), Matrix4x4_ScaleFromMatrix(), entity_render_t::maxs, entity_render_t::mins, entity_render_t::model, model, entity_render_t::scale, scale, client_state_t::time, VectorMA, and VM_FrameBlendFromFrameGroupBlend().
Referenced by CL_AddQWCTFFlagModel(), CL_ClearState(), CL_MeshEntities_Init(), CL_ParseStatic(), CL_RelinkBeams(), CL_RelinkEffects(), CL_RelinkQWNails(), CL_RelinkStaticEntities(), CL_RelinkWorld(), CL_SetupWorldModel(), CL_UpdateNetworkEntity(), CSQC_AddRenderEdict(), and VM_CL_makestatic().
Definition at line 1432 of file cl_main.c.
References cl, CL_UpdateNetworkEntity(), client_state_t::entities, client_state_t::entities_active, entity_render_t::flags, i, client_state_t::num_entities, entity_t::render, RENDER_VIEWMODEL, entity_t::state_current, entity_state_t::tagentity, and client_state_t::viewent.
Referenced by VM_CL_R_RenderScene().
Definition at line 2052 of file cl_main.c.
References ca_connected, cl, CL_ClearTempEntities(), CL_ClientMovement_Replay(), CL_DecayLightFlashes(), CL_LerpPlayer(), CL_LerpPoint(), CL_MeshEntities_Scene_Clear(), CL_UpdateNetworkCollisionEntities(), CL_UpdateNetworkEntities(), CL_UpdateNetworkEntity(), CL_UpdateViewModel(), cls, CLVM_prog, CSQC_RelinkAllEntities(), client_state_t::entities, ENTMASK_ENGINE, ENTMASK_ENGINEVIEWMODELS, identitymatrix, r_refdef_view_t::matrix, client_state_t::num_brushmodel_entities, r_refdef_scene_t::numentities, r_refdef_scene_t::numlights, PRVM_CSQC_SIMPLE, r_refdef_view_t::quality, r_refdef, r_refdef_t::scene, client_static_t::signon, SIGNONS, client_static_t::state, client_state_t::time, r_refdef_scene_t::time, V_CalcRefdef(), V_DriftPitch(), V_FadeViewFlashs(), r_refdef_t::view, and client_state_t::viewentity.
Referenced by CL_Frame().
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.
Definition at line 110 of file cl_demo.c.
References cl, cls, client_static_t::demofile, client_static_t::demopaused, f, FS_Write(), i, LittleFloat, LittleLong, message, and client_state_t::viewangles.
Referenced by CL_ParseServerMessage(), CL_Stop_f(), and CL_VM_Init().
|
extern |
Definition at line 117 of file cl_main.c.
Referenced by CL_AddQWCTFFlagModel(), CL_AdjustAngles(), CL_AllocLightFlash(), CL_AreaStats_f(), CL_Beam_CalculatePositions(), CL_BeginDownloads(), CL_BeginDownloads_f(), CL_Cache_TraceLineSurfaces(), CL_ClearState(), CL_ClientMovement_Move(), CL_ClientMovement_Physics_CheckJump(), CL_ClientMovement_Physics_CPM_PM_Aircontrol(), CL_ClientMovement_Physics_PM_Accelerate(), CL_ClientMovement_Physics_PM_AirAccelerate(), CL_ClientMovement_Physics_Swim(), CL_ClientMovement_Physics_Walk(), CL_ClientMovement_Replay(), CL_ClientMovement_Unstick(), CL_ClientMovement_UpdateStatus(), CL_DecayLightFlashes(), CL_DisconnectEx(), CL_Effect(), CL_EntityParticles(), CL_ExaminePrintString(), CL_ExpandCSQCRenderEntities(), CL_ExpandEntities(), CL_FindNonSolidLocation(), CL_ForwardToServer(), CL_Frame(), CL_FullServerinfo_f(), CL_GetEntityLocalTagMatrix(), CL_GetModelByIndex(), CL_Input(), CL_LerpPlayer(), CL_LerpPoint(), CL_LinkEdict(), CL_LinkNetworkEntity(), CL_Locs_AddNode(), CL_Locs_Clear_f(), CL_Locs_FindNearest(), CL_Locs_FreeNode(), CL_Locs_Reload_f(), CL_Locs_Save_f(), CL_MoveLerpEntityStates(), CL_NetworkTimeReceived(), CL_NewBeam(), CL_NewFrameReceived(), CL_NewParticle(), CL_ParseClientdata(), CL_ParseEntityLump(), CL_ParseServerInfo(), CL_ParseServerMessage(), CL_ParseStartSoundPacket(), CL_ParseStatic(), CL_ParseStaticSound(), CL_ParseTempEntity(), CL_ParseTrailParticles(), CL_ParticleRain(), CL_Particles_LoadEffectInfo(), CL_PingPLReport_f(), CL_PrintEntities_f(), CL_ReadDemoMessage(), CL_ReadPointFile_f(), CL_RelinkBeams(), CL_RelinkEffects(), CL_RelinkLightFlashes(), CL_RelinkNetworkEntities(), CL_RelinkQWNails(), CL_RelinkStaticEntities(), CL_RelinkWorld(), CL_RotateMoves(), CL_SelectTraceLine(), CL_SendMove(), CL_SetupWorldModel(), CL_SoundIndexList_f(), CL_Sparks(), CL_SpawnDecalParticleForSurface(), CL_Trace_Toss(), CL_TraceBox(), CL_TraceLine(), CL_TracePoint(), CL_UpdateEntityShading_Entity(), CL_UpdateEntityShading_GetDirectedFullbright(), CL_UpdateItemsAndWeapon(), CL_UpdateMoveVars(), CL_UpdateNetworkCollisionEntities(), CL_UpdateNetworkEntities(), CL_UpdateNetworkEntity(), CL_UpdateNetworkEntityTrail(), CL_UpdatePrydonCursor(), CL_UpdateRenderEntity(), CL_UpdateScreen(), CL_UpdateViewEntities(), CL_UpdateViewModel(), CL_UpdateWorld(), CL_User_f(), CL_Users_f(), CL_ValidateState(), CL_VM_ConsoleCommand(), CL_VM_DrawHud(), CL_VM_Event_Sound(), CL_VM_GetViewEntity(), CL_VM_Init(), CL_VM_InputEvent(), CL_VM_Parse_CenterPrint(), CL_VM_Parse_Print(), CL_VM_Parse_StuffCmd(), CL_VM_Parse_TempEntity(), CL_VM_ShutDown(), CL_VM_TransformView(), CL_VM_UpdateView(), CL_WriteDemoMessage(), CLVM_begin_increase_edicts(), CLVM_free_edict(), CLVM_init_edict(), CLVM_reset_cmd(), Con_DrawNotifyRect(), Con_MaskPrint(), ConBuffer_AddLine(), ConBuffer_FixTimes(), convex_builder_add_point(), CSQC_AddPrintText(), CSQC_AddRenderEdict(), CSQC_R_RecalcView(), CSQC_ReadEntities(), CSQC_RelinkAllEntities(), CSQC_SetGlobals(), Curl_Curl_f(), EntityFrame4_CL_ReadFrame(), EntityFrame5_CL_ReadFrame(), EntityFrame_CL_ReadFrame(), EntityFrameQuake_ISeeDeadEntities(), EntityFrameQuake_ReadEntity(), EntityFrameQW_CL_ReadFrame(), EntityState5_ReadUpdate(), EntityStateQW_ReadPlayerUpdate(), Force_CenterView_f(), gl_main_newmap(), IN_BestWeapon_f(), IN_Move_TouchScreen_Quake(), IN_Move_TouchScreen_SteelStorm(), M_Menu_Main_f(), M_Menu_Save_f(), Mod_Decompile_f(), Mod_GenerateLightmaps_f(), Mod_GenerateLightmaps_SamplePoint(), Mod_Precache_f(), NetConn_IsLocalGame(), Nicks_CompleteCountPossible(), PHYS_NudgeOutOfSolid(), PRVM_GarbageCollection(), QW_CL_Changing_f(), QW_CL_ParseModelList(), QW_CL_ParseNails(), QW_CL_ParseSoundList(), QW_CL_ProcessUserInfo(), QW_CL_RequestNextDownload(), QW_CL_ServerInfo(), QW_CL_SetInfo(), QW_CL_UpdateUserInfo(), QW_TranslateEffects(), R_BuildLightMap(), R_DecalSystem_SplatEntities(), R_DrawLocs(), R_DrawModelDecals_FadeEntity(), R_DrawParticle_TransparentCallback(), R_DrawParticles(), R_GetCurrentTexture(), R_HDR_UpdateIrisAdaptation(), R_MotionBlurView(), R_MoveExplosion(), R_NewExplosion(), R_RenderScene(), R_RenderWaterPlanes(), R_ReplaceWorldTexture_f(), R_SetupShader_SetPermutationGLSL(), R_SetupShader_Surface(), R_Shadow_DrawPrepass(), R_Shadow_EditLights_Reload_f(), R_Shadow_EditLights_Save_f(), R_Shadow_LoadLightsFile(), R_Shadow_LoadWorldLights(), R_Shadow_LoadWorldLightsFromMap_LightArghliteTyrlite(), r_shadow_newmap(), R_Shadow_SaveWorldLights(), R_Stain(), R_TimeReport_EndFrame(), R_UpdateVariables(), RSurf_ActiveModelEntity(), S_FindName(), S_LocalSoundEx(), S_PaintAndSubmit(), S_SetUnderwaterIntensity(), S_StartSound_StartPosition_Flags(), S_Update(), S_UpdateAmbientSounds(), Sbar_DeathmatchOverlay(), Sbar_Draw(), Sbar_DrawFace(), Sbar_DrawFrags(), Sbar_DrawInventory(), Sbar_DrawScoreboard(), Sbar_IntermissionOverlay(), Sbar_MiniDeathmatchOverlay(), Sbar_PrintScoreboardItem(), Sbar_Score(), Sbar_ShowFPS(), Sbar_SoloScoreboard(), Sbar_SortFrags(), SCR_CenterPrint(), SCR_CheckDrawCenterString(), SCR_DrawCenterString(), SCR_DrawNet(), SCR_DrawPause(), SCR_DrawScreen(), SCR_DrawTurtle(), SCR_InfobarHeight(), SCR_ScreenShot_f(), SCR_UpdateVars(), SHOWLMP_decodehide(), SHOWLMP_decodeshow(), SHOWLMP_drawall(), SND_PickChannel(), SND_Spatialize_WithSfx(), SV_Viewframe_f(), SV_Viewmodel_f(), SV_Viewnext_f(), SV_Viewprev_f(), Sys_SDL_HandleEvents(), V_BonusFlash_f(), V_CalcIntermissionRefdef(), V_CalcRefdef(), V_CalcRefdefUsing(), V_CalcViewBlend(), V_DriftPitch(), V_FadeViewFlashs(), V_MakeViewIsometric(), V_ParseDamage(), V_StartPitchDrift(), V_StopPitchDrift(), VID_ApplyJoyState(), VID_BuildGammaTables(), VM_CL_checkpvs(), VM_CL_droptofloor(), VM_CL_findbox(), VM_CL_findradius(), VM_CL_GetEntity(), VM_CL_getinputstate(), VM_CL_getmousepos(), VM_CL_getplayerkey(), VM_CL_getstatf(), VM_CL_getstati(), VM_CL_getstats(), VM_CL_gettaginfo(), VM_CL_lightstyle(), VM_CL_makestatic(), VM_CL_precache_model(), VM_CL_R_AddEntities(), VM_CL_R_ClearScene(), VM_CL_R_SetView(), VM_CL_serverkey(), VM_CL_setcursormode(), VM_CL_setlistener(), VM_CL_setmodel(), VM_CL_setpause(), VM_CL_setsensitivityscale(), VM_CL_skel_build(), VM_CL_sound(), VM_CL_SpawnParticle(), VM_CL_SpawnParticleDelayed(), VM_CL_te_beam(), VM_CL_te_explosion(), VM_CL_te_explosion2(), VM_CL_te_explosionquad(), VM_CL_te_gunshot(), VM_CL_te_gunshotquad(), VM_CL_te_knightspike(), VM_CL_te_lightning1(), VM_CL_te_lightning2(), VM_CL_te_lightning3(), VM_CL_te_spike(), VM_CL_te_spikequad(), VM_CL_te_superspike(), VM_CL_te_superspikequad(), VM_CL_te_tarexplosion(), VM_CL_te_wizspike(), and VM_CL_V_CalcRefdef().
|
extern |
Definition at line 375 of file cl_input.c.
Referenced by CL_AdjustAngles(), and CL_Init().
|
extern |
Definition at line 112 of file cl_main.c.
Referenced by CL_Init(), and CL_LinkEdict().
|
extern |
Definition at line 62 of file cl_main.c.
Referenced by CL_Demo_Init(), CL_ParseServerInfo(), and CL_Stop_f().
|
extern |
Definition at line 64 of file cl_main.c.
Referenced by CL_Demo_Init(), CL_ParseServerInfo(), and CL_Stop_f().
|
extern |
Definition at line 63 of file cl_main.c.
Referenced by CL_Demo_Init(), and CL_ParseServerInfo().
|
extern |
|
extern |
Definition at line 366 of file cl_input.c.
Referenced by CL_Init(), CL_Input(), and M_Menu_Options_AdjustSliders().
|
extern |
Definition at line 252 of file cl_cmd.c.
Referenced by CL_Bottomcolor_c(), CL_InitCommands(), and CL_Topcolor_c().
|
extern |
Definition at line 70 of file cl_main.c.
Referenced by CL_Init(), and R_NewExplosion().
|
extern |
Definition at line 69 of file cl_main.c.
Referenced by CL_Init(), and R_NewExplosion().
|
extern |
|
extern |
Definition at line 72 of file cl_main.c.
Referenced by CL_Init(), and R_NewExplosion().
|
extern |
|
extern |
Definition at line 365 of file cl_input.c.
Referenced by CL_Init(), CL_Input(), IN_Move_TouchScreen_Quake(), IN_Move_TouchScreen_SteelStorm(), M_Menu_Options_AdjustSliders(), M_Options_Draw(), V_DriftPitch(), and VID_ApplyJoyState().
|
extern |
Definition at line 474 of file cl_input.c.
Referenced by CL_Input(), VID_Mode(), VID_SetMouse(), and VM_CL_setcursormode().
|
extern |
Definition at line 97 of file cl_main.c.
Referenced by CL_ForwardToServer(), and CL_Init().
|
extern |
Definition at line 2513 of file cl_main.c.
Referenced by CL_MeshEntities_Init(), CL_MeshEntities_Restart(), CL_MeshEntities_Scene_AddRenderEntity(), CL_MeshEntities_Scene_FinalizeRenderEntity(), CL_MeshEntities_Shutdown(), CL_MeshEntities_Start(), DrawQ_FlushUI(), and R_GetCurrentTexture().
|
extern |
Definition at line 2514 of file cl_main.c.
Referenced by CL_MeshEntities_Init().
|
extern |
Definition at line 2515 of file cl_main.c.
Referenced by CL_MeshEntities_Init(), CL_MeshEntities_Restart(), and CL_MeshEntities_Start().
|
extern |
Definition at line 369 of file cl_input.c.
Referenced by CL_Init(), and CL_Input().
|
extern |
User-visible names of these CF_USERINFO cvars must be matched in CL_SetInfo()!
Definition at line 32 of file cl_cmd.c.
Referenced by CL_InitCommands(), CL_Name_f(), CL_SendPlayerInfo(), M_Menu_Setup_f(), M_Setup_Key(), and SV_Kick_f().
|
extern |
Definition at line 192 of file cl_parse.c.
Referenced by CL_LerpPoint(), CL_NetworkTimeReceived(), and CL_Parse_Init().
|
extern |
Definition at line 193 of file cl_parse.c.
Referenced by CL_NetworkTimeReceived(), and CL_Parse_Init().
|
extern |
Definition at line 191 of file cl_parse.c.
Referenced by CL_NetworkTimeReceived(), and CL_Parse_Init().
|
extern |
|
extern |
Definition at line 373 of file cl_input.c.
Referenced by CL_AdjustAngles(), CL_Init(), IN_Move_TouchScreen_Quake(), IN_Move_TouchScreen_SteelStorm(), and VID_ApplyJoyState().
|
extern |
Definition at line 36 of file common.c.
Referenced by CL_SendPlayerInfo(), and COM_Init_Commands().
|
extern |
Definition at line 37 of file common.c.
Referenced by CL_SendPlayerInfo(), and COM_Init_Commands().
|
extern |
|
extern |
Definition at line 92 of file cl_main.c.
Referenced by CL_Init(), CL_Input(), CL_SendMove(), CL_UpdatePrydonCursor(), Sbar_Draw(), and Sys_SDL_HandleEvents().
|
extern |
Definition at line 93 of file cl_main.c.
Referenced by CL_Init(), and CL_UpdatePrydonCursor().
|
extern |
Definition at line 33 of file cl_cmd.c.
Referenced by CL_InitCommands(), CL_SendMove(), CL_SendPlayerInfo(), M_Menu_Setup_f(), NetConn_ReceivedMessage(), and SCR_DrawNetGraph().
|
extern |
Definition at line 34 of file cl_cmd.c.
Referenced by CL_InitCommands(), CL_SendMove(), CL_SendPlayerInfo(), and NetConn_ReceivedMessage().
|
extern |
|
extern |
Definition at line 367 of file cl_input.c.
Referenced by CL_Init(), CL_Input(), IN_Move_TouchScreen_Quake(), IN_Move_TouchScreen_SteelStorm(), and VID_ApplyJoyState().
|
extern |
Definition at line 75 of file cl_main.c.
|
extern |
Definition at line 65 of file cl_main.c.
Referenced by CL_Demo_Init(), and CL_Startdemos_f().
|
extern |
Definition at line 364 of file cl_input.c.
Referenced by CL_Init(), CL_Input(), and VID_ApplyJoyState().
|
extern |
Definition at line 372 of file cl_input.c.
Referenced by CL_AdjustAngles(), CL_Init(), IN_Move_TouchScreen_Quake(), IN_Move_TouchScreen_SteelStorm(), and VID_ApplyJoyState().
|
extern |
Definition at line 116 of file cl_main.c.
Referenced by CDAudio_Init(), CL_BeginDownloads(), CL_ClearState(), CL_ClearTempEntities(), CL_ClientMovement_Physics_Swim(), CL_ClientMovement_Physics_Walk(), CL_ClientMovement_Replay(), CL_CutDemo(), CL_Demos_f(), CL_DisconnectEx(), CL_DownloadBegin_f(), CL_EstablishConnection(), CL_EstablishConnection_Local(), CL_ExaminePrintString(), CL_ExpandCSQCRenderEntities(), CL_ExpandEntities(), CL_FinishTimeDemo(), CL_ForwardToServer(), CL_Frame(), CL_Init(), CL_InitCommands(), CL_IPLog_Add(), CL_KeepaliveMessage(), CL_LerpPlayer(), CL_Locs_AddNode(), CL_Locs_Reload_f(), CL_Locs_Save_f(), CL_NetworkTimeReceived(), CL_NextDemo(), CL_ParseBaseline(), CL_ParseBeam(), CL_ParseClientdata(), CL_ParseDownload(), CL_ParseEffect(), CL_ParseEffect2(), CL_ParseParticleEffect(), CL_ParsePointParticles(), CL_ParsePointParticles1(), CL_ParseServerInfo(), CL_ParseServerMessage(), CL_ParseStartSoundPacket(), CL_ParseStaticSound(), CL_ParseTempEntity(), CL_ParseTrailParticles(), CL_PasteDemo(), CL_PauseDemo_f(), CL_PlayDemo(), CL_PQRcon_f(), CL_Rcon_f(), CL_ReadDemoMessage(), CL_Reconnect_f(), CL_Record_f(), CL_RotateMoves(), CL_SendCvar_f(), CL_SendMove(), CL_SendPlayerInfo(), CL_SetInfo(), CL_SetInfo_f(), CL_SetSignonStage_WithMsg(), CL_Shutdown(), CL_SignonReply(), CL_Startdemos_f(), CL_StartVideo(), CL_Stop_f(), CL_Stopdemo_f(), CL_StopDownload(), CL_StopDownload_f(), CL_StopPlayback(), CL_TimeDemo_f(), CL_UpdateMoveVars(), CL_UpdateNetworkEntity(), CL_UpdateScreen(), CL_UpdateWorld(), CL_VM_Init(), CL_WriteDemoMessage(), Cmd_Exec(), Cmd_Init(), Con_MaskPrint(), Con_MsgCmdMode(), Crypto_ClientParsePacket(), Crypto_Shutdown(), CSQC_AddRenderEdict(), CSQC_SetGlobals(), Curl_Begin(), Curl_Curl_f(), Curl_Frame(), EntityFrame4_CL_ReadFrame(), EntityFrame5_CL_ReadFrame(), EntityFrame_CL_ReadFrame(), EntityFrameQuake_ReadEntity(), EntityFrameQW_CL_ReadFrame(), EntityState5_ReadUpdate(), EntityState_ReadFields(), EntityStateQW_ReadPlayerUpdate(), FS_ChangeGameDirs(), FS_GameDir_f(), FS_Rescan(), Host_Error(), Host_Frame(), Host_Init(), Host_SaveConfig(), Host_Shutdown(), Host_UpdateVersion(), Key_Console(), LoadSubtitles(), M_Main_Key(), M_Setup_Draw(), Mod_BuildVBOs(), Mod_IDS2_Load(), Mod_LoadTextureFromQ3Shader(), Mod_MakeSortedSurfaces(), Mod_Q1BSP_Load(), Mod_Q1BSP_LoadFaces(), Mod_Q1BSP_LoadSplitSky(), Mod_Q1BSP_LoadTextures(), Mod_Q2BSP_Load(), Mod_Q3BSP_Load(), Mod_Q3BSP_LoadFaces(), Mod_Q3BSP_LoadLightmaps(), Mod_Sprite_SharedSetup(), Mod_VBSP_LoadFaces(), ModList_Enable(), MR_Init(), MVM_error_cmd(), NetConn_CL_UpdateSockets_Callback(), NetConn_ClientFrame(), NetConn_ClientParsePacket(), NetConn_ConnectionEstablished(), NetConn_IsLocalGame(), NetConn_OpenServerPorts(), NetConn_ReceivedMessage(), NetConn_SendUnreliableMessage(), NetConn_UpdateSockets(), OpenVideo(), PrintStats(), QW_CL_Changing_f(), QW_CL_CheckOrDownloadFile(), QW_CL_NextUpload_f(), QW_CL_ParseDownload(), QW_CL_ParseModelList(), QW_CL_ParseSoundList(), QW_CL_RequestNextDownload(), QW_CL_Skins_f(), QW_CL_StartUpload(), QW_CL_StopUpload_f(), R_BuildLightMap(), R_DecalSystem_SpawnTriangle(), R_DrawDebugModel(), R_DrawParticles(), R_Envmap_f(), R_LoadTextureDDSFile(), R_LoadTextureRenderBuffer(), R_MeshQueue_AddTransparent(), R_MeshQueue_RenderTransparent(), R_SetupTexture(), R_SkinFrame_LoadExternal(), R_SkinFrame_LoadExternal_SkinFrame(), R_SkinFrame_LoadInternal8bit(), R_SkinFrame_LoadInternalBGRA(), R_SkinFrame_LoadInternalQuake(), R_SkinFrame_LoadInternalUsingTexture(), R_SkinFrame_LoadMissing(), R_SkinFrame_LoadNoTexture(), R_TimeReport_EndFrame(), RSurf_ActiveModelEntity(), S_PaintAndSubmit(), S_PlaySfxOnChannel(), S_Restart_f(), S_StartSound_StartPosition_Flags(), S_UnloadAllSounds_f(), S_Update(), Sbar_DeathmatchOverlay(), Sbar_PrintScoreboardItem(), Sbar_ShowFPS(), SCR_CaptureVideo_Avi_BeginVideo(), SCR_CaptureVideo_Avi_EndVideo(), SCR_CaptureVideo_Avi_VideoFrames(), SCR_CaptureVideo_ConvertFrame_BGRA_to_I420_flip(), SCR_CaptureVideo_Ogg_BeginVideo(), SCR_CaptureVideo_Ogg_ConvertFrame_BGRA_to_YUV(), SCR_CaptureVideo_Ogg_EndVideo(), SCR_CaptureVideo_Ogg_FlushInterleaving(), SCR_CaptureVideo_Ogg_Interleave(), SCR_CaptureVideo_Ogg_SoundFrame(), SCR_CaptureVideo_RIFF_Finish(), SCR_CaptureVideo_RIFF_Flush(), SCR_CaptureVideo_RIFF_FlushNoIncrease(), SCR_CaptureVideo_RIFF_IndexEntry(), SCR_CaptureVideo_RIFF_MakeIxChunk(), SCR_CaptureVideo_RIFF_Pop(), SCR_CaptureVideo_RIFF_WriteBytes(), SCR_DrawCurlDownload(), SCR_DrawInfobarString(), SCR_DrawNet(), SCR_DrawNetGraph(), SCR_DrawPause(), SCR_DrawQWDownload(), SCR_DrawScreen(), SCR_DrawTurtle(), SCR_InfobarHeight(), SCR_SetUpToDrawConsole(), SHOWLMP_decodeshow(), SND_Spatialize_WithSfx(), SV_Frame(), SV_Loadgame_f(), SV_ServerOptions(), SV_SpawnServer(), Sys_Error(), Sys_SDL_HandleEvents(), Sys_Sleep(), V_CalcIntermissionRefdef(), V_CalcRefdef(), V_CalcViewBlend(), V_DriftPitch(), V_ParseDamage(), VID_SetVsync_c(), VM_CL_checkpvs(), VM_CL_isdemo(), VM_CL_ReadAngle(), VM_CL_ReadCoord(), VM_CL_skel_create(), VM_clientstate(), W_GetLumpName(), W_GetTextureBGRA(), W_LoadTextureWadFile(), and WakeVideo().
|
extern |
|
extern |
Definition at line 51 of file cl_input.c.
Referenced by CL_Input(), IN_MLookDown(), and IN_MLookUp().
|
extern |
Definition at line 54 of file cl_input.c.
Referenced by CL_AdjustAngles(), CL_Input(), IN_SpeedDown(), and IN_SpeedUp().
|
extern |
Definition at line 54 of file cl_input.c.
Referenced by CL_AdjustAngles(), CL_Input(), IN_StrafeDown(), and IN_StrafeUp().
|
extern |
Definition at line 51 of file cl_main.c.
Referenced by CL_Init(), and IN_MLookUp().
|
extern |
|
extern |
|
extern |
Definition at line 55 of file cl_main.c.
Referenced by CL_Init(), CL_Input(), M_Menu_Options_AdjustSliders(), and M_Options_Draw().
|
extern |
|
extern |
|
extern |
|
extern |
Definition at line 92 of file console.c.
Referenced by CL_PQRcon_f(), CL_Rcon_f(), and Con_Init().
|
extern |
Definition at line 89 of file console.c.
Referenced by CL_Connect_f(), CL_PQRcon_f(), CL_Rcon_f(), Con_Init(), Con_RCon_ClearPassword_c(), NetConn_ClientParsePacket(), and RCon_Authenticate().
|
extern |
Definition at line 56 of file sbar.c.
Referenced by CL_VM_DrawHud(), CL_VM_UpdateShowingScoresState(), Sbar_DontShowScores_f(), Sbar_Draw(), Sbar_ShowScores_f(), and SCR_DrawCenterString().
|
extern |
Definition at line 53 of file cl_main.c.
Referenced by CL_Init(), CL_Input(), M_Menu_Options_AdjustSliders(), and M_Options_Draw().