![]() |
DarkPlaces
Game engine based on the Quake 1 engine by id Software, developed by LadyHavoc
|
|
#include "quakedef.h"
#include "cl_collision.h"
#include "cl_video.h"
#include "image.h"
#include "csprogs.h"
#include "r_shadow.h"
#include "libcurl.h"
#include "snd_main.h"
#include "cdaudio.h"
Go to the source code of this file.
Variables | |
client_state_t | cl |
cvar_t | cl_areagrid_link_SOLID_NOT = {CF_CLIENT, "cl_areagrid_link_SOLID_NOT", "1", "set to 0 to prevent SOLID_NOT entities from being linked to the area grid, and unlink any that are already linked (in the code paths that would otherwise link them), for better performance"} |
cvar_t | cl_autodemo = {CF_CLIENT | CF_ARCHIVE, "cl_autodemo", "0", "records every game played, using the date/time and map name to name the demo file" } |
cvar_t | cl_autodemo_delete = {CF_CLIENT, "cl_autodemo_delete", "0", "3: automatically delete every newly recorded demo unless this cvar is set to 2 during a game, in case something interesting happened (cvar will be automatically set back to 3); 0: keep every newly recorded demo unless this cvar is set to 1 during a game, in case nothing interesting happened (cvar will be automatically set back to 0). Technically speaking, the value is a bitmask: bit 1 defines behaviour for all demos, bit 0 overrides behaviour for the demo currently being recorded" } |
cvar_t | cl_autodemo_nameformat = {CF_CLIENT | CF_ARCHIVE, "cl_autodemo_nameformat", "autodemos/%Y-%m-%d_%H-%M", "The format of the cl_autodemo filename, followed by the map name (the date is encoded using strftime escapes)" } |
cvar_t | cl_beams_instantaimhack = {CF_CLIENT | CF_ARCHIVE, "cl_beams_instantaimhack", "0", "makes your lightning gun aiming update instantly"} |
cvar_t | cl_beams_lightatend = {CF_CLIENT | CF_ARCHIVE, "cl_beams_lightatend", "0", "make a light at the end of the beam"} |
cvar_t | cl_beams_polygons = {CF_CLIENT | CF_ARCHIVE, "cl_beams_polygons", "1","use beam polygons instead of models"} |
cvar_t | cl_beams_quakepositionhack = {CF_CLIENT | CF_ARCHIVE, "cl_beams_quakepositionhack", "1", "makes your lightning gun appear to fire from your waist (as in Quake and QuakeWorld)"} |
cvar_t | cl_bottomcolor |
cvar_t | cl_deathfade = {CF_CLIENT | CF_ARCHIVE, "cl_deathfade", "0", "fade screen to dark red when dead, value represents how fast the fade is (higher is faster)"} |
cvar_t | cl_deathnoviewmodel = {CF_CLIENT, "cl_deathnoviewmodel", "1", "hides gun model when dead"} |
cvar_t | cl_dlights_decaybrightness = {CF_CLIENT | CF_ARCHIVE, "cl_dlights_decaybrightness", "1", "reduces brightness of light flashes over time"} |
cvar_t | cl_dlights_decayradius = {CF_CLIENT | CF_ARCHIVE, "cl_dlights_decayradius", "1", "reduces size of light flashes over time"} |
cvar_t | cl_explosions_alpha_end = {CF_CLIENT | CF_ARCHIVE, "cl_explosions_alpha_end", "0","end alpha of an explosion shell (just before it disappears)"} |
cvar_t | cl_explosions_alpha_start = {CF_CLIENT | CF_ARCHIVE, "cl_explosions_alpha_start", "1.5","starting alpha of an explosion shell"} |
cvar_t | cl_explosions_lifetime = {CF_CLIENT | CF_ARCHIVE, "cl_explosions_lifetime", "0.5","how long an explosion shell lasts"} |
cvar_t | cl_explosions_size_end = {CF_CLIENT | CF_ARCHIVE, "cl_explosions_size_end", "128","ending alpha of an explosion shell (just before it disappears)"} |
cvar_t | cl_explosions_size_start = {CF_CLIENT | CF_ARCHIVE, "cl_explosions_size_start", "16","starting size of an explosion shell"} |
cvar_t | cl_gameplayfix_nudgeoutofsolid_separation = {CF_CLIENT, "cl_gameplayfix_nudgeoutofsolid_separation", "0.03125", "keep objects this distance apart to prevent collision issues on seams"} |
cvar_t | cl_itembobheight = {CF_CLIENT, "cl_itembobheight", "0","how much items bob up and down (try 8)"} |
cvar_t | cl_itembobspeed = {CF_CLIENT, "cl_itembobspeed", "0.5","how frequently items bob up and down"} |
cvar_t | cl_lerpanim_maxdelta_framegroups = {CF_CLIENT, "cl_lerpanim_maxdelta_framegroups", "0.1","maximum frame delta for smoothing between framegroups (when 0, one network frame)"} |
cvar_t | cl_lerpanim_maxdelta_server = {CF_CLIENT, "cl_lerpanim_maxdelta_server", "0.1","maximum frame delta for smoothing between server-controlled animation frames (when 0, one network frame)"} |
cvar_t | cl_lerpexcess = {CF_CLIENT, "cl_lerpexcess", "0","maximum allowed lerp excess (hides, not fixes, some packet loss)"} |
cvar_t | cl_locs_enable = {CF_CLIENT | CF_ARCHIVE, "locs_enable", "1", "enables replacement of certain % codes in chat messages: %l (location), %d (last death location), %h (health), %a (armor), %x (rockets), %c (cells), %r (rocket launcher status), %p (powerup status), %w (weapon status), %t (current time in level)"} |
cvar_t | cl_locs_show = {CF_CLIENT, "locs_show", "0", "shows defined locations for editing purposes"} |
cvar_t | cl_maxfps = {CF_CLIENT | CF_ARCHIVE, "cl_maxfps", "0", "maximum fps cap, 0 = unlimited, if game is running faster than this it will wait before running another frame (useful to make cpu time available to other programs)"} |
cvar_t | cl_maxfps_alwayssleep = {CF_CLIENT | CF_ARCHIVE, "cl_maxfps_alwayssleep", "0", "gives up some processing time to other applications each frame, value in milliseconds, disabled if a timedemo is running"} |
cvar_t | cl_maxidlefps = {CF_CLIENT | CF_ARCHIVE, "cl_maxidlefps", "20", "maximum fps cap when the game is not the active window (makes cpu time available to other programs"} |
entity_t | cl_meshentities [NUM_MESHENTITIES] |
model_t | cl_meshentitymodels [NUM_MESHENTITIES] |
const char * | cl_meshentitynames [NUM_MESHENTITIES] |
cvar_t | cl_minfps = {CF_CLIENT | CF_ARCHIVE, "cl_minfps", "40", "minimum fps target - while the rendering performance is below this, it will drift toward lower quality"} |
cvar_t | cl_minfps_fade = {CF_CLIENT | CF_ARCHIVE, "cl_minfps_fade", "1", "how fast the quality adapts to varying framerate"} |
cvar_t | cl_minfps_force = {CF_CLIENT, "cl_minfps_force", "0", "also apply quality reductions in timedemo/capturevideo"} |
cvar_t | cl_minfps_qualityhysteresis = {CF_CLIENT | CF_ARCHIVE, "cl_minfps_qualityhysteresis", "0.05", "reduce all quality increments by this to reduce flickering"} |
cvar_t | cl_minfps_qualitymax = {CF_CLIENT | CF_ARCHIVE, "cl_minfps_qualitymax", "1", "highest allowed drawdistance multiplier"} |
cvar_t | cl_minfps_qualitymin = {CF_CLIENT | CF_ARCHIVE, "cl_minfps_qualitymin", "0.25", "lowest allowed drawdistance multiplier"} |
cvar_t | cl_minfps_qualitymultiply = {CF_CLIENT | CF_ARCHIVE, "cl_minfps_qualitymultiply", "0.2", "multiplier for quality changes in quality change per second render time (1 assumes linearity of quality and render time)"} |
cvar_t | cl_minfps_qualitystepmax = {CF_CLIENT | CF_ARCHIVE, "cl_minfps_qualitystepmax", "0.1", "maximum quality change in a single frame"} |
cvar_t | cl_nolerp = {CF_CLIENT, "cl_nolerp", "0","network update smoothing"} |
cvar_t | cl_noplayershadow = {CF_CLIENT | CF_ARCHIVE, "cl_noplayershadow", "0","hide player shadow"} |
cvar_t | cl_prydoncursor = {CF_CLIENT, "cl_prydoncursor", "0", "enables a mouse pointer which is able to click on entities in the world, useful for point and click mods, see PRYDON_CLIENTCURSOR extension in dpextensions.qc"} |
cvar_t | cl_prydoncursor_notrace = {CF_CLIENT, "cl_prydoncursor_notrace", "0", "disables traceline used in prydon cursor reporting to the game, saving some cpu time"} |
cvar_t | cl_shownet = {CF_CLIENT, "cl_shownet","0","1 = print packet size, 2 = print packet message list"} |
cvar_t | cl_stainmaps = {CF_CLIENT | CF_ARCHIVE, "cl_stainmaps", "0","stains lightmaps, much faster than decals but blurred"} |
cvar_t | cl_stainmaps_clearonload = {CF_CLIENT | CF_ARCHIVE, "cl_stainmaps_clearonload", "1","clear stainmaps on map restart"} |
cvar_t | cl_startdemos = {CF_CLIENT | CF_ARCHIVE, "cl_startdemos", "1", "1 enables the `startdemos` loop used in Quake and some mods, 0 goes straight to the menu"} |
cvar_t | cl_topcolor |
client_static_t | cls |
cvar_t | csqc_lowres = {CF_CLIENT, "csqc_lowres", "0", "make EXT_CSQC functions CSQC_UpdateView(), setproperty(), getproperty() use the virtual 2D resolution (FTEQW/QSS behaviour) instead of the real resolution (DP behaviour); this mode is always used for the CSQC_SIMPLE (aka hud-only) CSQC_DrawHud() parameters; see cvars vid_conheight and vid_conwidth"} |
cvar_t | csqc_polygons_defaultmaterial_nocullface = {CF_CLIENT, "csqc_polygons_defaultmaterial_nocullface", "0", "use 'cull none' behavior in the default shader for rendering R_PolygonBegin - warning: enabling this is not consistent with FTEQW behavior on this feature"} |
cvar_t | csqc_progcrc = {CF_CLIENT | CF_READONLY, "csqc_progcrc","-1","CRC of csprogs.dat file to load (-1 is none), only used during level changes and then reset to -1"} |
cvar_t | csqc_progname = {CF_CLIENT | CF_SERVER, "csqc_progname","csprogs.dat","name of csprogs.dat file to load"} |
cvar_t | csqc_progsize = {CF_CLIENT | CF_READONLY, "csqc_progsize","-1","file size of csprogs.dat file to load (-1 is none), only used during level changes and then reset to -1"} |
cvar_t | csqc_usedemoprogs = {CF_CLIENT, "csqc_usedemoprogs","1","use csprogs stored in demos"} |
cvar_t | freelook = {CF_CLIENT | CF_ARCHIVE, "freelook", "1","mouse controls pitch instead of forward/back"} |
cvar_t | host_framerate |
cvar_t | host_speeds |
cvar_t | lookspring = {CF_CLIENT | CF_ARCHIVE, "lookspring","0","returns pitch to level with the floor when no longer holding a pitch key"} |
cvar_t | lookstrafe = {CF_CLIENT | CF_ARCHIVE, "lookstrafe","0","move instead of turning"} |
cvar_t | m_forward = {CF_CLIENT | CF_ARCHIVE, "m_forward","1","mouse forward speed multiplier"} |
cvar_t | m_pitch = {CF_CLIENT | CF_ARCHIVE, "m_pitch","0.022","mouse pitch speed multiplier"} |
cvar_t | m_side = {CF_CLIENT | CF_ARCHIVE, "m_side","0.8","mouse side speed multiplier"} |
cvar_t | m_yaw = {CF_CLIENT | CF_ARCHIVE, "m_yaw","0.022","mouse yaw speed multiplier"} |
static const vec3_t | muzzleflashorigin = {18, 0, 0} |
cvar_t | qport = {CF_CLIENT, "qport", "0", "identification key for playing on qw servers (allows you to maintain a connection to a quakeworld server even if your port changes)"} |
cvar_t | r_draweffects = {CF_CLIENT, "r_draweffects", "1","renders temporary sprite effects"} |
cvar_t | r_fullbright_directed |
cvar_t | r_fullbright_directed_ambient |
cvar_t | r_fullbright_directed_diffuse |
cvar_t | r_fullbright_directed_pitch |
cvar_t | r_fullbright_directed_pitch_relative |
cvar_t | r_hdr_glowintensity |
cvar_t | r_overheadsprites_pushback |
cvar_t | rcon_secure |
cvar_t | sensitivity = {CF_CLIENT | CF_ARCHIVE, "sensitivity","3","mouse speed multiplier"} |
uint8_t | serverlist_querystage |
bitfield because in theory we could be doing QW & DP simultaneously | |
qbool | vid_opened = false |
matrix4x4_t | viewmodelmatrix_nobob |
matrix4x4_t | viewmodelmatrix_withbob |
Definition at line 1002 of file cl_main.c.
References entity_render_t::alpha, cl, CL_GetModelByIndex(), CL_NewTempEntity(), CL_UpdateRenderEntity(), entity_render_t::colormod, f, frame, framegroupblend_t::frame, entity_render_t::framegroupblend, entity_render_t::glowmod, entity_render_t::matrix, Matrix4x4_Concat(), Matrix4x4_CreateFromQuakeEntity(), entity_render_t::model, client_state_t::qw_modelindex_flag, entity_t::render, entity_render_t::shadertime, skin, entity_render_t::skinnum, and VectorSet.
Referenced by CL_UpdateNetworkEntityTrail().
void CL_AllocLightFlash | ( | entity_render_t * | ent, |
matrix4x4_t * | matrix, | ||
float | radius, | ||
float | red, | ||
float | green, | ||
float | blue, | ||
float | decay, | ||
float | lifetime, | ||
char * | cubemapname, | ||
int | style, | ||
int | shadowenable, | ||
vec_t | corona, | ||
vec_t | coronasizescale, | ||
vec_t | ambientscale, | ||
vec_t | diffusescale, | ||
vec_t | specularscale, | ||
int | flags ) |
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().
|
static |
Definition at line 2188 of file cl_main.c.
References cl, client_state_t::world, and World_PrintAreaStats().
Referenced by CL_Init().
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().
|
static |
Definition at line 546 of file cl_main.c.
References CL_EstablishConnection(), cmd(), Cmd_Argc(), Cmd_Argv(), Con_Print(), Cvar_SetQuick(), cvar_t::integer, rcon_password, and rcon_secure.
Referenced by CL_Init().
Definition at line 902 of file cl_main.c.
References bound, cl, cl_dlights_decaybrightness, cl_dlights_decayradius, dlight_t::color, dlight_t::decay, dlight_t::die, client_state_t::dlights, i, dlight_t::initialcolor, dlight_t::initialradius, cvar_t::integer, dlight_t::intensity, client_state_t::num_dlights, client_state_t::oldtime, dlight_t::radius, client_state_t::time, time, VectorCopy, and VectorScale.
Referenced by CL_UpdateWorld().
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 617 of file cl_main.c.
References ca_disconnected, CL_EstablishConnection(), cls, and client_static_t::state.
Referenced by CL_Init().
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().
|
static |
Definition at line 2110 of file cl_main.c.
References cmd(), Cmd_Argc(), Cmd_Argv(), Con_Printf(), 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_red, r_refdef_t::fog_start, and r_refdef.
Referenced by CL_Init().
|
static |
Definition at line 2143 of file cl_main.c.
References cmd(), Cmd_Argc(), Cmd_Argv(), Con_Printf(), 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, and r_refdef.
Referenced by CL_Init().
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 1994 of file cl_main.c.
References cl, cls, client_static_t::demoplayback, client_state_t::fixangle, i, client_state_t::mpunchangle, client_state_t::mpunchvector, client_state_t::mvelocity, client_state_t::mviewangles, client_state_t::mviewzoom, client_state_t::punchangle, client_state_t::punchvector, client_state_t::velocity, client_state_t::viewangles, and client_state_t::viewzoom.
Referenced by CL_UpdateWorld().
Definition at line 763 of file cl_main.c.
References bound, cl, cl_lerpexcess, cl_nettimesyncboundmode, f, cvar_t::integer, client_state_t::mtime, client_state_t::time, and cvar_t::value.
Referenced by CL_UpdateWorld().
Definition at line 1543 of file cl_main.c.
References entity_state_t::active, entity_render_t::alpha, cl, CL_ParticleTrail(), CL_TraceLine(), collision_extendmovelength, color, client_state_t::csqc_server2csqcentitynumber, client_state_t::csqcrenderentities, EF_BLUE, EF_BRIGHTFIELD, EF_BRIGHTLIGHT, EF_DIMLIGHT, EF_FLAME, EF_GIB, EF_GRENADE, EF_NODRAW, EF_RED, EF_ROCKET, EF_STARDUST, EF_TRACER, EF_TRACER2, EF_TRACER3, EF_ZOMGIB, EFFECT_EF_FLAME, EFFECT_EF_STARDUST, EFFECT_NONE, EFFECT_TR_BLOOD, EFFECT_TR_GLOWTRAIL, EFFECT_TR_GRENADE, EFFECT_TR_KNIGHTSPIKE, EFFECT_TR_NEHAHRASMOKE, EFFECT_TR_NEXUIZPLASMA, EFFECT_TR_ROCKET, EFFECT_TR_SLIGHTBLOOD, EFFECT_TR_VORESPIKE, EFFECT_TR_WIZSPIKE, entity_render_t::effects, trace_t::endpos, client_state_t::entities, r_refdef_scene_t::entities, entity_render_t::entitynumber, entity_render_t::flags, gamemode, entity_state_t::glowcolor, entity_state_t::glowsize, IS_NEXUIZ_DERIVED, entity_state_t::light, LIGHTFLAG_NORMALMODE, LIGHTFLAG_REALTIMEMODE, entity_state_t::lightpflags, r_refdef_scene_t::lights, entity_state_t::lightstyle, entity_render_t::matrix, Matrix4x4_Normalize(), Matrix4x4_OriginFromMatrix(), Matrix4x4_Scale(), Matrix4x4_SetOrigin(), Matrix4x4_Transform(), max, MAX_DLIGHTS, r_refdef_scene_t::maxentities, entity_render_t::model, MOVE_NOMONSTERS, entity_persistent_t::muzzleflash, muzzleflashorigin, model_t::normalmaxs, model_t::normalmins, NULL, client_state_t::num_entities, r_refdef_scene_t::numentities, r_refdef_scene_t::numlights, origin, palette_rgb, entity_t::persistent, PFLAGS_CORONA, PFLAGS_FULLDYNAMIC, PFLAGS_NOSHADOW, r_refdef, R_RTLight_Update(), entity_t::render, RENDER_GLOWTRAIL, RENDER_VIEWMODEL, r_refdef_t::scene, entity_state_t::skin, model_t::soundfromcenter, entity_t::state_current, SUPERCONTENTS_SKY, SUPERCONTENTS_SOLID, entity_state_t::tagentity, r_refdef_scene_t::templights, entity_state_t::traileffectnum, v2, va(), cvar_t::value, vec3_origin, VectorMA, VectorMAM, VectorScale, and VectorSet.
Referenced by CL_RelinkNetworkEntities(), and CSQC_RelinkAllEntities().
|
static |
Definition at line 2263 of file cl_main.c.
References CL_Locs_AddNode(), cmd(), Cmd_Argc(), Cmd_Argv(), Con_Printf(), maxs, and mins.
Referenced by CL_Init().
Definition at line 2244 of file cl_main.c.
References cl, cls, int(), client_static_t::levelmempool, client_state_t::locnodes, max, cl_locnode_t::maxs, maxs, Mem_Alloc, min, cl_locnode_t::mins, mins, cl_locnode_t::name, name, cl_locnode_t::next, pointer, strlen(), and VectorSet.
Referenced by CL_Locs_Add_f(), and CL_Locs_Reload_f().
|
static |
Definition at line 2295 of file cl_main.c.
References cl, CL_Locs_FreeNode(), and client_state_t::locnodes.
Referenced by CL_Init(), and CL_Locs_Reload_f().
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().
|
static |
Definition at line 2228 of file cl_main.c.
References cl, Con_Printf(), client_state_t::locnodes, Mem_Free, cl_locnode_t::next, and pointer.
Referenced by CL_Locs_Clear_f(), and CL_Locs_RemoveNearest_f().
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().
|
static |
Definition at line 2285 of file cl_main.c.
References CL_Locs_FindNearest(), CL_Locs_FreeNode(), Con_Printf(), r_refdef_view_t::origin, r_refdef, and r_refdef_t::view.
Referenced by CL_Init().
|
static |
Definition at line 2301 of file cl_main.c.
References ca_connected, cl, cls, Con_Printf(), CON_WARN, dpsnprintf(), engineversion, FS_Close(), FS_OpenRealFile(), FS_Printf(), int(), client_state_t::locnodes, MAX_INPUTLINE, MAX_QPATH, cl_locnode_t::maxs, cl_locnode_t::mins, cl_locnode_t::name, name, cl_locnode_t::next, NULL, outfile, client_static_t::state, Sys_TimeString(), VectorCompare, client_state_t::worldmodel, and client_state_t::worldnamenoextension.
Referenced by CL_Init().
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 2521 of file cl_main.c.
References cl_meshentities, cl_meshentitynames, i, Mod_Mesh_Create(), Mod_Mesh_Destroy(), entity_render_t::model, NUM_MESHENTITIES, and entity_t::render.
Referenced by CL_MeshEntities_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 2544 of file cl_main.c.
References cl_meshentities, i, Mod_Mesh_Destroy(), entity_render_t::model, NUM_MESHENTITIES, and entity_t::render.
Referenced by CL_MeshEntities_Init(), and CL_Shutdown().
Definition at line 2533 of file cl_main.c.
References cl_meshentities, cl_meshentitynames, i, Mod_Mesh_Create(), entity_render_t::model, NUM_MESHENTITIES, and entity_t::render.
Referenced by CL_MeshEntities_Init().
|
static |
Definition at line 656 of file cl_main.c.
References CL_GetModelByIndex(), Con_Printf(), i, MAX_MODELS, and model.
Referenced by CL_Init().
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().
|
static |
Definition at line 629 of file cl_main.c.
References entity_state_t::active, entity_render_t::alpha, entity_state_t::angles, cl, Con_Printf(), client_state_t::entities, framegroupblend_t::frame, entity_render_t::framegroupblend, i, entity_render_t::model, model_t::name, client_state_t::num_entities, entity_state_t::origin, entity_t::render, entity_render_t::scale, and entity_t::state_current.
Referenced by CL_Init().
|
static |
Definition at line 491 of file cl_main.c.
References ca_connected, CL_EstablishConnection(), cls, cmd(), Cmd_Argc(), Con_Print(), Con_Printf(), CON_WARN, InfoString_GetValue(), netconn_t::message, MSG_WriteChar(), MSG_WriteString(), client_static_t::netcon, client_static_t::protocol, PROTOCOL_QUAKEWORLD, qw_clc_stringcmd, client_static_t::qw_downloadmemory, S_StopAllSounds(), client_static_t::signon, client_static_t::state, and client_static_t::userinfo.
Referenced by CL_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 1789 of file cl_main.c.
References cl_effect_t::active, entity_render_t::alpha, cl, CL_NewTempEntity(), CL_UpdateRenderEntity(), entity_render_t::colormod, client_state_t::effects, cl_effect_t::endframe, cl_effect_t::frame, frame, framegroupblend_t::frame, cl_effect_t::frame1time, cl_effect_t::frame2time, entity_render_t::framegroupblend, cl_effect_t::framerate, entity_render_t::glowmod, i, int(), cvar_t::integer, framegroupblend_t::lerp, entity_render_t::matrix, Matrix4x4_CreateFromQuakeEntity(), cl_effect_t::model, entity_render_t::model, client_state_t::num_effects, cl_effect_t::origin, r_draweffects, framegroupblend_t::start, cl_effect_t::startframe, cl_effect_t::starttime, client_state_t::time, and VectorSet.
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().
Definition at line 1770 of file cl_main.c.
References entity_state_t::active, cl, CL_LinkNetworkEntity(), client_state_t::entities, client_state_t::entities_active, i, client_state_t::num_entities, and entity_t::state_current.
Referenced by CSQC_RelinkAllEntities().
Definition at line 1968 of file cl_main.c.
References entity_render_t::alpha, cl, CL_GetModelByIndex(), CL_NewTempEntity(), CL_UpdateRenderEntity(), entity_render_t::colormod, entity_render_t::glowmod, i, entity_render_t::matrix, Matrix4x4_CreateFromQuakeEntity(), entity_render_t::model, client_state_t::qw_modelindex_spike, client_state_t::qw_nails, client_state_t::qw_num_nails, v, and VectorSet.
Referenced by CSQC_RelinkAllEntities().
Definition at line 1737 of file cl_main.c.
References entity_render_t::allowdecals, entity_render_t::alpha, cl, CL_GetModelByIndex(), CL_UpdateRenderEntity(), entity_render_t::colormod, EF_ADDITIVE, EF_FULLBRIGHT, EF_NODEPTHTEST, EF_NOSHADOW, entity_render_t::effects, r_refdef_scene_t::entities, entity_render_t::flags, entity_render_t::frameblend, entity_render_t::framegroupblend, entity_render_t::glowmod, i, cvar_t::integer, r_refdef_scene_t::maxentities, entity_render_t::model, entity_state_t::modelindex, client_state_t::num_static_entities, r_refdef_scene_t::numentities, r_fullbright, r_refdef, entity_t::render, RENDER_LIGHT, RENDER_SHADOW, r_refdef_t::scene, entity_t::state_baseline, client_state_t::static_entities, client_state_t::time, VectorSet, and VM_FrameBlendFromFrameGroupBlend().
Referenced by CSQC_RelinkAllEntities().
Definition at line 1717 of file cl_main.c.
References entity_render_t::allowdecals, model_t::brush, cl, CL_UpdateRenderEntity(), entity_render_t::colormod, client_state_t::entities, entity_render_t::flags, framegroupblend_t::frame, entity_render_t::framegroupblend, entity_render_t::glowmod, identitymatrix, int(), cvar_t::integer, model_brush_t::isq2bsp, entity_render_t::matrix, entity_render_t::model, r_fullbright, r_refdef, entity_t::render, RENDER_LIGHT, RENDER_SHADOW, r_refdef_t::scene, client_state_t::time, VectorSet, r_refdef_scene_t::worldentity, client_state_t::worldmodel, and r_refdef_scene_t::worldmodel.
Referenced by CSQC_RelinkAllEntities().
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().
|
static |
Definition at line 684 of file cl_main.c.
References cl, Con_Printf(), i, MAX_SOUNDS, sfx_t::name, and client_state_t::sound_precache.
Referenced by CL_Init().
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().
|
static |
Definition at line 2171 of file cl_main.c.
References CL_UpdateScreen(), Con_Printf(), i, r_refdef_view_t::matrix, Matrix4x4_CreateFromQuakeEntity(), r_refdef_view_t::origin, r_refdef_view_t::quality, r_refdef, Sys_DirtyTime(), and r_refdef_t::view.
Referenced by CL_Init().
Definition at line 349 of file cl_main.c.
References key_dest, key_game, key_menu, key_menu_grabbed, and MR_ToggleMenu.
Referenced by CL_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().
|
static |
Definition at line 2642 of file cl_main.c.
References a, r_refdef_scene_t::ambientintensity, texture_t::basematerialflags, model_t::brush, model_t::brushq3, cl, CL_UpdateEntityShading_GetDirectedFullbright(), entity_render_t::colormod, entity_render_t::custommodellight_ambient, entity_render_t::custommodellight_diffuse, entity_render_t::custommodellight_lightdir, entity_render_t::custommodellight_origin, model_t::data_textures, dir, client_state_t::entities, client_state_t::entities_active, entity_render_t::entitynumber, entnum, entity_render_t::flags, entity_render_t::glowmod, cvar_t::integer, entity_render_t::inversematrix, model_brushq3_t::lightgridtexture, r_refdef_scene_t::lightmapintensity, model_brush_t::LightPoint, model_t::lit, LP_DYNLIGHT, LP_LIGHTMAP, LP_RTWORLD, MATERIALFLAG_FULLBRIGHT, entity_render_t::matrix, Matrix4x4_OriginFromMatrix(), Matrix4x4_Transform3x3(), mod_q3bsp_lightgrid_bsp_surfaces, mod_q3bsp_lightgrid_texture, mod_q3bsp_lightgrid_world_surfaces, mod_sprite, entity_render_t::model, client_state_t::num_entities, R_CompleteLightPoint(), r_fullbright, r_fullbright_directed, r_hdr_glowintensity, r_overheadsprites_pushback, r_refdef, entity_t::render, RENDER_CUSTOMIZEDMODELLIGHT, entity_render_t::render_fullbright, entity_render_t::render_glowmod, RENDER_LIGHT, entity_render_t::render_lightgrid, 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_forced, entity_render_t::render_modellight_lightdir_local, entity_render_t::render_modellight_lightdir_world, entity_render_t::render_modellight_specular, entity_render_t::render_rtlight_diffuse, entity_render_t::render_rtlight_disabled, entity_render_t::render_rtlight_specular, r_refdef_t::scene, SPR_OVERHEAD, model_t::sprite, model_sprite_t::sprnum_type, entity_t::state_current, entity_state_t::tagentity, model_t::type, cvar_t::value, VectorLength2, VectorNormalize, VectorSet, and r_refdef_scene_t::worldmodel.
Referenced by CL_UpdateEntityShading().
|
static |
Definition at line 2621 of file cl_main.c.
References angles, AngleVectors(), cl, cvar_t::integer, NULL, PITCH, r_fullbright_directed_ambient, r_fullbright_directed_diffuse, r_fullbright_directed_pitch, r_fullbright_directed_pitch_relative, cvar_t::value, VectorCopy, VectorNegate, VectorSet, and client_state_t::viewangles.
Referenced by CL_UpdateEntityShading_Entity().
Definition at line 1454 of file cl_main.c.
References entity_state_t::active, client_state_t::brushmodel_entities, cl, CL_UpdateNetworkEntity(), client_state_t::entities, client_state_t::entities_active, i, client_state_t::maxclients, entity_render_t::model, model_t::name, client_state_t::num_brushmodel_entities, client_state_t::num_entities, entity_t::render, entity_t::state_current, and model_t::TraceBox.
Referenced by CL_UpdateWorld().
Definition at line 1481 of file cl_main.c.
References entity_state_t::active, cl, CL_UpdateNetworkEntity(), CL_UpdateNetworkEntityTrail(), entity_render_t::decalsystem, client_state_t::entities, client_state_t::entities_active, entity_render_t::flags, i, client_state_t::num_entities, R_DecalSystem_Reset(), entity_t::render, RENDER_VIEWMODEL, and entity_t::state_current.
Referenced by CL_UpdateWorld().
Definition at line 1079 of file cl_main.c.
References entity_state_t::active, entity_render_t::allowdecals, entity_render_t::alpha, entity_state_t::alpha, ANGLEMOD, angles, AnglesFromVectors(), AngleVectors(), model_t::animscenes, bound, cl, CL_GetModelByIndex(), cl_itembobheight, cl_itembobspeed, cl_lerpanim_maxdelta_framegroups, cl_lerpanim_maxdelta_server, cl_lerpexcess, cl_nolerp, cl_noplayershadow, CL_SetEntityColormapColors(), CL_UpdateNetworkEntity(), CL_UpdateRenderEntity(), cls, client_state_t::cmd, entity_state_t::colormap, entity_render_t::colormod, entity_state_t::colormod, scoreboard_t::colors, cos(), client_state_t::csqc_server2csqcentitynumber, client_state_t::csqcrenderentities, usercmd_t::cursor_entitynumber, EF_ADDITIVE, EF_DOUBLESIDED, EF_DYNAMICMODELLIGHT, EF_FULLBRIGHT, EF_NODEPTHTEST, EF_NOGUNBOB, EF_NOSELFSHADOW, EF_NOSHADOW, EF_ROTATE, EF_SELECTABLE, entity_render_t::effects, entity_state_t::effects, model_t::effects, client_state_t::entities, entity_render_t::entitynumber, client_state_t::fixangle, entity_render_t::flags, entity_state_t::flags, entity_state_t::frame, frame, framegroupblend_t::frame, animscene_t::framecount, entity_render_t::framegroupblend, entity_state_t::framegroupblend, GAME_TENEBRAE, gamemode, entity_render_t::glowmod, entity_state_t::glowmod, identitymatrix, cvar_t::integer, client_state_t::intermission, framegroupblend_t::lerp, entity_persistent_t::lerpdeltatime, entity_persistent_t::lerpstarttime, entity_state_t::lightpflags, M_PI, entity_render_t::matrix, Matrix4x4_Concat(), Matrix4x4_CreateFromQuakeEntity(), Matrix4x4_OriginFromMatrix(), max, client_state_t::maxclients, min, mod_alias, Mod_Alias_GetTagMatrix(), mod_sprite, entity_render_t::model, skeleton_t::model, entity_state_t::modelindex, client_state_t::movement_origin, client_state_t::movement_predicted, client_state_t::mtime, entity_persistent_t::newangles, entity_persistent_t::neworigin, NULL, client_state_t::num_entities, entity_state_t::number, model_t::numframes, model_t::numskins, entity_persistent_t::oldangles, entity_persistent_t::oldorigin, origin, entity_t::persistent, PFLAGS_FULLDYNAMIC, client_state_t::playerentity, client_static_t::protocol, PROTOCOL_NEHAHRAMOVIE, r, r_fullbright, skeleton_t::relativetransforms, entity_t::render, RENDER_ADDITIVE, RENDER_COLORMAPPED, RENDER_COMPLEXANIMATION, RENDER_DOUBLESIDED, RENDER_DYNAMICMODELLIGHT, RENDER_EXTERIORMODEL, RENDER_LIGHT, RENDER_NODEPTHTEST, RENDER_NOSELFSHADOW, RENDER_SHADOW, RENDER_VIEWMODEL, entity_render_t::scale, entity_state_t::scale, client_state_t::scores, entity_render_t::skeleton, entity_state_t::skeletonobject, entity_state_t::skin, entity_render_t::skinnum, framegroupblend_t::start, entity_t::state_current, entity_state_t::tagentity, entity_state_t::tagindex, client_state_t::time, client_static_t::timedemo, model_t::type, cvar_t::value, VectorCopy, VectorLerp, VectorMA, VectorMAM, VectorScale, VectorSet, VectorSubtract, client_state_t::viewangles, client_state_t::viewentity, viewmodelmatrix_nobob, and viewmodelmatrix_withbob.
Referenced by CL_UpdateNetworkCollisionEntities(), CL_UpdateNetworkEntities(), CL_UpdateNetworkEntity(), CL_UpdateViewEntities(), CL_UpdateViewModel(), and CL_UpdateWorld().
Definition at line 1339 of file cl_main.c.
References entity_render_t::alpha, bound, cl, CL_AddQWCTFFlagModel(), CL_EntityParticles(), CL_ParticleTrail(), EF_BRIGHTFIELD, EF_FLAME, EF_GIB, EF_GRENADE, EF_ROCKET, EF_STARDUST, EF_TRACER, EF_TRACER2, EF_TRACER3, EF_ZOMGIB, EFFECT_EF_FLAME, EFFECT_EF_STARDUST, EFFECT_NONE, EFFECT_TR_BLOOD, EFFECT_TR_GLOWTRAIL, EFFECT_TR_GRENADE, EFFECT_TR_KNIGHTSPIKE, EFFECT_TR_NEHAHRASMOKE, EFFECT_TR_NEXUIZPLASMA, EFFECT_TR_ROCKET, EFFECT_TR_SLIGHTBLOOD, EFFECT_TR_VORESPIKE, EFFECT_TR_WIZSPIKE, entity_render_t::effects, entity_render_t::flags, gamemode, entity_state_t::glowcolor, INTEF_FLAG1QW, INTEF_FLAG2QW, entity_render_t::internaleffects, IS_NEXUIZ_DERIVED, entity_render_t::matrix, Matrix4x4_OriginFromMatrix(), Matrix4x4_Transform(), entity_render_t::model, entity_persistent_t::muzzleflash, model_t::normalmaxs, model_t::normalmins, NULL, client_state_t::oldtime, entity_state_t::origin, origin, entity_t::persistent, entity_t::render, RENDER_GLOWTRAIL, RENDER_VIEWMODEL, model_t::soundfromcenter, entity_t::state_current, entity_t::state_previous, client_state_t::time, entity_state_t::time, entity_persistent_t::trail_allowed, entity_persistent_t::trail_origin, entity_state_t::traileffectnum, vec3_origin, VectorCopy, VectorMAM, VectorScale, and VectorSubtract.
Referenced by CL_UpdateNetworkEntities().
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 1508 of file cl_main.c.
References entity_state_t::active, entity_state_t::alpha, cl, cl_deathnoviewmodel, CL_UpdateNetworkEntity(), defaultstate, EF_ADDITIVE, EF_FULLBRIGHT, EF_NODEPTHTEST, EF_NOGUNBOB, EF_NOSHADOW, entity_state_t::effects, client_state_t::entities, entity_state_t::flags, entity_state_t::frame, framegroupblend_t::frame, entity_render_t::framegroupblend, GAME_TRANSFUSION, gamemode, cvar_t::integer, client_state_t::intermission, IT_INVISIBILITY, framegroupblend_t::lerp, entity_state_t::modelindex, entity_state_t::number, entity_t::render, RENDER_VIEWMODEL, framegroupblend_t::start, STAT_HEALTH, STAT_ITEMS, STAT_WEAPON, STAT_WEAPONFRAME, entity_t::state_current, entity_t::state_previous, client_state_t::stats, client_state_t::time, entity_state_t::time, client_state_t::viewent, and client_state_t::viewentity.
Referenced by CL_UpdateWorld().
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().
Definition at line 2021 of file cl_main.c.
References cl, CL_LinkNetworkEntity(), CL_MeshEntities_Scene_AddRenderEntity(), CL_RelinkBeams(), CL_RelinkEffects(), CL_RelinkLightFlashes(), CL_RelinkNetworkEntities(), CL_RelinkQWNails(), CL_RelinkStaticEntities(), CL_RelinkWorld(), drawmask, ENTMASK_ENGINE, ENTMASK_ENGINEVIEWMODELS, V_CalcViewBlend(), and client_state_t::viewent.
Referenced by CL_UpdateWorld(), and VM_CL_R_AddEntities().
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().
cvar_t cl_areagrid_link_SOLID_NOT = {CF_CLIENT, "cl_areagrid_link_SOLID_NOT", "1", "set to 0 to prevent SOLID_NOT entities from being linked to the area grid, and unlink any that are already linked (in the code paths that would otherwise link them), for better performance"} |
Definition at line 112 of file cl_main.c.
Referenced by CL_Init(), and CL_LinkEdict().
cvar_t cl_autodemo = {CF_CLIENT | CF_ARCHIVE, "cl_autodemo", "0", "records every game played, using the date/time and map name to name the demo file" } |
Definition at line 62 of file cl_main.c.
Referenced by CL_Demo_Init(), CL_ParseServerInfo(), and CL_Stop_f().
cvar_t cl_autodemo_delete = {CF_CLIENT, "cl_autodemo_delete", "0", "3: automatically delete every newly recorded demo unless this cvar is set to 2 during a game, in case something interesting happened (cvar will be automatically set back to 3); 0: keep every newly recorded demo unless this cvar is set to 1 during a game, in case nothing interesting happened (cvar will be automatically set back to 0). Technically speaking, the value is a bitmask: bit 1 defines behaviour for all demos, bit 0 overrides behaviour for the demo currently being recorded" } |
Definition at line 64 of file cl_main.c.
Referenced by CL_Demo_Init(), CL_ParseServerInfo(), and CL_Stop_f().
cvar_t cl_autodemo_nameformat = {CF_CLIENT | CF_ARCHIVE, "cl_autodemo_nameformat", "autodemos/%Y-%m-%d_%H-%M", "The format of the cl_autodemo filename, followed by the map name (the date is encoded using strftime escapes)" } |
Definition at line 63 of file cl_main.c.
Referenced by CL_Demo_Init(), and CL_ParseServerInfo().
cvar_t cl_beams_instantaimhack = {CF_CLIENT | CF_ARCHIVE, "cl_beams_instantaimhack", "0", "makes your lightning gun aiming update instantly"} |
Definition at line 80 of file cl_main.c.
Referenced by CL_Beam_CalculatePositions(), CL_Init(), M_Menu_Options_Effects_AdjustSliders(), and M_Options_Effects_Draw().
cvar_t cl_beams_lightatend = {CF_CLIENT | CF_ARCHIVE, "cl_beams_lightatend", "0", "make a light at the end of the beam"} |
Definition at line 81 of file cl_main.c.
Referenced by CL_Init(), CL_RelinkBeams(), M_Menu_Options_Effects_AdjustSliders(), and M_Options_Effects_Draw().
cvar_t cl_beams_polygons = {CF_CLIENT | CF_ARCHIVE, "cl_beams_polygons", "1","use beam polygons instead of models"} |
Definition at line 78 of file cl_main.c.
Referenced by CL_Init(), CL_RelinkBeams(), M_Menu_Options_Effects_AdjustSliders(), and M_Options_Effects_Draw().
cvar_t cl_beams_quakepositionhack = {CF_CLIENT | CF_ARCHIVE, "cl_beams_quakepositionhack", "1", "makes your lightning gun appear to fire from your waist (as in Quake and QuakeWorld)"} |
Definition at line 79 of file cl_main.c.
Referenced by CL_Beam_CalculatePositions(), CL_Init(), M_Menu_Options_Effects_AdjustSliders(), and M_Options_Effects_Draw().
|
extern |
Definition at line 36 of file cl_cmd.c.
Referenced by CL_SetInfo().
cvar_t cl_deathfade = {CF_CLIENT | CF_ARCHIVE, "cl_deathfade", "0", "fade screen to dark red when dead, value represents how fast the fade is (higher is faster)"} |
Definition at line 83 of file cl_main.c.
Referenced by CL_Init(), and V_CalcViewBlend().
cvar_t cl_dlights_decaybrightness = {CF_CLIENT | CF_ARCHIVE, "cl_dlights_decaybrightness", "1", "reduces brightness of light flashes over time"} |
Definition at line 88 of file cl_main.c.
Referenced by CL_DecayLightFlashes(), and CL_Init().
cvar_t cl_dlights_decayradius = {CF_CLIENT | CF_ARCHIVE, "cl_dlights_decayradius", "1", "reduces size of light flashes over time"} |
Definition at line 87 of file cl_main.c.
Referenced by CL_DecayLightFlashes(), and CL_Init().
cvar_t cl_explosions_alpha_end = {CF_CLIENT | CF_ARCHIVE, "cl_explosions_alpha_end", "0","end alpha of an explosion shell (just before it disappears)"} |
Definition at line 70 of file cl_main.c.
Referenced by CL_Init(), and R_NewExplosion().
cvar_t cl_explosions_alpha_start = {CF_CLIENT | CF_ARCHIVE, "cl_explosions_alpha_start", "1.5","starting alpha of an explosion shell"} |
Definition at line 69 of file cl_main.c.
Referenced by CL_Init(), and R_NewExplosion().
cvar_t cl_explosions_lifetime = {CF_CLIENT | CF_ARCHIVE, "cl_explosions_lifetime", "0.5","how long an explosion shell lasts"} |
cvar_t cl_explosions_size_end = {CF_CLIENT | CF_ARCHIVE, "cl_explosions_size_end", "128","ending alpha of an explosion shell (just before it disappears)"} |
Definition at line 72 of file cl_main.c.
Referenced by CL_Init(), and R_NewExplosion().
cvar_t cl_explosions_size_start = {CF_CLIENT | CF_ARCHIVE, "cl_explosions_size_start", "16","starting size of an explosion shell"} |
cvar_t cl_gameplayfix_nudgeoutofsolid_separation = {CF_CLIENT, "cl_gameplayfix_nudgeoutofsolid_separation", "0.03125", "keep objects this distance apart to prevent collision issues on seams"} |
Definition at line 113 of file cl_main.c.
Referenced by CL_Init(), and PHYS_NudgeOutOfSolid().
cvar_t cl_itembobheight = {CF_CLIENT, "cl_itembobheight", "0","how much items bob up and down (try 8)"} |
cvar_t cl_itembobspeed = {CF_CLIENT, "cl_itembobspeed", "0.5","how frequently items bob up and down"} |
cvar_t cl_lerpanim_maxdelta_framegroups = {CF_CLIENT, "cl_lerpanim_maxdelta_framegroups", "0.1","maximum frame delta for smoothing between framegroups (when 0, one network frame)"} |
Definition at line 46 of file cl_main.c.
Referenced by CL_Init(), and CL_UpdateNetworkEntity().
cvar_t cl_lerpanim_maxdelta_server = {CF_CLIENT, "cl_lerpanim_maxdelta_server", "0.1","maximum frame delta for smoothing between server-controlled animation frames (when 0, one network frame)"} |
Definition at line 45 of file cl_main.c.
Referenced by CL_Init(), and CL_UpdateNetworkEntity().
cvar_t cl_lerpexcess = {CF_CLIENT, "cl_lerpexcess", "0","maximum allowed lerp excess (hides, not fixes, some packet loss)"} |
Definition at line 44 of file cl_main.c.
Referenced by CL_Init(), CL_LerpPoint(), CL_NetworkTimeReceived(), and CL_UpdateNetworkEntity().
cvar_t cl_locs_enable = {CF_CLIENT | CF_ARCHIVE, "locs_enable", "1", "enables replacement of certain % codes in chat messages: %l (location), %d (last death location), %h (health), %a (armor), %x (rockets), %c (cells), %r (rocket launcher status), %p (powerup status), %w (weapon status), %t (current time in level)"} |
Definition at line 97 of file cl_main.c.
Referenced by CL_ForwardToServer(), and CL_Init().
cvar_t cl_maxfps = {CF_CLIENT | CF_ARCHIVE, "cl_maxfps", "0", "maximum fps cap, 0 = unlimited, if game is running faster than this it will wait before running another frame (useful to make cpu time available to other programs)"} |
Definition at line 108 of file cl_main.c.
Referenced by CL_Frame(), and CL_Init().
cvar_t cl_maxfps_alwayssleep = {CF_CLIENT | CF_ARCHIVE, "cl_maxfps_alwayssleep", "0", "gives up some processing time to other applications each frame, value in milliseconds, disabled if a timedemo is running"} |
Definition at line 109 of file cl_main.c.
Referenced by CL_Frame(), and CL_Init().
cvar_t cl_maxidlefps = {CF_CLIENT | CF_ARCHIVE, "cl_maxidlefps", "20", "maximum fps cap when the game is not the active window (makes cpu time available to other programs"} |
Definition at line 110 of file cl_main.c.
Referenced by CL_Frame(), and CL_Init().
entity_t cl_meshentities[NUM_MESHENTITIES] |
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().
model_t cl_meshentitymodels[NUM_MESHENTITIES] |
Definition at line 2514 of file cl_main.c.
Referenced by CL_MeshEntities_Init().
const char* cl_meshentitynames[NUM_MESHENTITIES] |
Definition at line 2515 of file cl_main.c.
Referenced by CL_MeshEntities_Init(), CL_MeshEntities_Restart(), and CL_MeshEntities_Start().
cvar_t cl_minfps = {CF_CLIENT | CF_ARCHIVE, "cl_minfps", "40", "minimum fps target - while the rendering performance is below this, it will drift toward lower quality"} |
Definition at line 100 of file cl_main.c.
Referenced by CL_Init(), and CL_UpdateScreen().
cvar_t cl_minfps_fade = {CF_CLIENT | CF_ARCHIVE, "cl_minfps_fade", "1", "how fast the quality adapts to varying framerate"} |
Definition at line 101 of file cl_main.c.
Referenced by CL_Init(), and CL_UpdateScreen().
cvar_t cl_minfps_force = {CF_CLIENT, "cl_minfps_force", "0", "also apply quality reductions in timedemo/capturevideo"} |
cvar_t cl_minfps_qualityhysteresis = {CF_CLIENT | CF_ARCHIVE, "cl_minfps_qualityhysteresis", "0.05", "reduce all quality increments by this to reduce flickering"} |
Definition at line 105 of file cl_main.c.
Referenced by CL_Init(), and CL_UpdateScreen().
cvar_t cl_minfps_qualitymax = {CF_CLIENT | CF_ARCHIVE, "cl_minfps_qualitymax", "1", "highest allowed drawdistance multiplier"} |
Definition at line 102 of file cl_main.c.
Referenced by CL_Init(), and CL_UpdateScreen().
cvar_t cl_minfps_qualitymin = {CF_CLIENT | CF_ARCHIVE, "cl_minfps_qualitymin", "0.25", "lowest allowed drawdistance multiplier"} |
Definition at line 103 of file cl_main.c.
Referenced by CL_Init(), and CL_UpdateScreen().
cvar_t cl_minfps_qualitymultiply = {CF_CLIENT | CF_ARCHIVE, "cl_minfps_qualitymultiply", "0.2", "multiplier for quality changes in quality change per second render time (1 assumes linearity of quality and render time)"} |
Definition at line 104 of file cl_main.c.
Referenced by CL_Init(), and CL_UpdateScreen().
cvar_t cl_minfps_qualitystepmax = {CF_CLIENT | CF_ARCHIVE, "cl_minfps_qualitystepmax", "0.1", "maximum quality change in a single frame"} |
Definition at line 106 of file cl_main.c.
Referenced by CL_Init(), and CL_UpdateScreen().
cvar_t cl_noplayershadow = {CF_CLIENT | CF_ARCHIVE, "cl_noplayershadow", "0","hide player shadow"} |
Definition at line 85 of file cl_main.c.
Referenced by CL_Init(), CL_UpdateNetworkEntity(), and CSQC_AddRenderEdict().
cvar_t cl_prydoncursor = {CF_CLIENT, "cl_prydoncursor", "0", "enables a mouse pointer which is able to click on entities in the world, useful for point and click mods, see PRYDON_CLIENTCURSOR extension in dpextensions.qc"} |
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().
cvar_t cl_prydoncursor_notrace = {CF_CLIENT, "cl_prydoncursor_notrace", "0", "disables traceline used in prydon cursor reporting to the game, saving some cpu time"} |
Definition at line 93 of file cl_main.c.
Referenced by CL_Init(), and CL_UpdatePrydonCursor().
cvar_t cl_shownet = {CF_CLIENT, "cl_shownet","0","1 = print packet size, 2 = print packet message list"} |
cvar_t cl_stainmaps = {CF_CLIENT | CF_ARCHIVE, "cl_stainmaps", "0","stains lightmaps, much faster than decals but blurred"} |
Definition at line 75 of file cl_main.c.
Referenced by CL_Init(), M_Menu_Options_Effects_AdjustSliders(), M_Options_Effects_Draw(), Mod_Q1BSP_LoadFaces(), and Mod_VBSP_LoadFaces().
cvar_t cl_stainmaps_clearonload = {CF_CLIENT | CF_ARCHIVE, "cl_stainmaps_clearonload", "1","clear stainmaps on map restart"} |
Definition at line 76 of file cl_main.c.
Referenced by CL_Init(), M_Menu_Options_Effects_AdjustSliders(), M_Options_Effects_Draw(), and mod_newmap().
cvar_t cl_startdemos = {CF_CLIENT | CF_ARCHIVE, "cl_startdemos", "1", "1 enables the `startdemos` loop used in Quake and some mods, 0 goes straight to the menu"} |
Definition at line 65 of file cl_main.c.
Referenced by CL_Demo_Init(), and CL_Startdemos_f().
|
extern |
client_static_t cls |
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().
cvar_t csqc_lowres = {CF_CLIENT, "csqc_lowres", "0", "make EXT_CSQC functions CSQC_UpdateView(), setproperty(), getproperty() use the virtual 2D resolution (FTEQW/QSS behaviour) instead of the real resolution (DP behaviour); this mode is always used for the CSQC_SIMPLE (aka hud-only) CSQC_DrawHud() parameters; see cvars vid_conheight and vid_conwidth"} |
Definition at line 40 of file cl_main.c.
Referenced by CL_Init(), CL_VM_UpdateView(), and VM_CL_R_SetView().
cvar_t csqc_polygons_defaultmaterial_nocullface = {CF_CLIENT, "csqc_polygons_defaultmaterial_nocullface", "0", "use 'cull none' behavior in the default shader for rendering R_PolygonBegin - warning: enabling this is not consistent with FTEQW behavior on this feature"} |
Definition at line 39 of file cl_main.c.
Referenced by CL_Init(), and VM_CL_R_PolygonEnd().
cvar_t csqc_progcrc = {CF_CLIENT | CF_READONLY, "csqc_progcrc","-1","CRC of csprogs.dat file to load (-1 is none), only used during level changes and then reset to -1"} |
Definition at line 36 of file cl_main.c.
Referenced by CL_BeginDownloads(), CL_DisconnectEx(), CL_VM_Init(), CL_VM_Parse_StuffCmd(), and SV_Init().
cvar_t csqc_progname = {CF_CLIENT | CF_SERVER, "csqc_progname","csprogs.dat","name of csprogs.dat file to load"} |
Definition at line 35 of file cl_main.c.
Referenced by CL_BeginDownloads(), CL_StopDownload(), CL_VM_Init(), PRVM_Prog_Load(), SV_Init(), and SV_Prepare_CSQC().
cvar_t csqc_progsize = {CF_CLIENT | CF_READONLY, "csqc_progsize","-1","file size of csprogs.dat file to load (-1 is none), only used during level changes and then reset to -1"} |
Definition at line 37 of file cl_main.c.
Referenced by CL_BeginDownloads(), CL_DisconnectEx(), CL_VM_Init(), CL_VM_Parse_StuffCmd(), and SV_Init().
cvar_t freelook = {CF_CLIENT | CF_ARCHIVE, "freelook", "1","mouse controls pitch instead of forward/back"} |
|
extern |
|
extern |
cvar_t lookspring = {CF_CLIENT | CF_ARCHIVE, "lookspring","0","returns pitch to level with the floor when no longer holding a pitch key"} |
Definition at line 51 of file cl_main.c.
Referenced by CL_Init(), and IN_MLookUp().
cvar_t lookstrafe = {CF_CLIENT | CF_ARCHIVE, "lookstrafe","0","move instead of turning"} |
cvar_t m_forward = {CF_CLIENT | CF_ARCHIVE, "m_forward","1","mouse forward speed multiplier"} |
cvar_t m_pitch = {CF_CLIENT | CF_ARCHIVE, "m_pitch","0.022","mouse pitch speed multiplier"} |
Definition at line 55 of file cl_main.c.
Referenced by CL_Init(), CL_Input(), M_Menu_Options_AdjustSliders(), and M_Options_Draw().
cvar_t m_side = {CF_CLIENT | CF_ARCHIVE, "m_side","0.8","mouse side speed multiplier"} |
cvar_t m_yaw = {CF_CLIENT | CF_ARCHIVE, "m_yaw","0.022","mouse yaw speed multiplier"} |
|
static |
cvar_t qport = {CF_CLIENT, "qport", "0", "identification key for playing on qw servers (allows you to maintain a connection to a quakeworld server even if your port changes)"} |
Definition at line 90 of file cl_main.c.
Referenced by CL_Init(), and NetConn_ClientParsePacket().
|
extern |
Definition at line 114 of file gl_rmain.c.
Referenced by CL_UpdateEntityShading_Entity(), GL_Main_Init(), and RSurf_ActiveModelEntity().
|
extern |
Definition at line 115 of file gl_rmain.c.
Referenced by CL_UpdateEntityShading_GetDirectedFullbright(), and GL_Main_Init().
|
extern |
Definition at line 116 of file gl_rmain.c.
Referenced by CL_UpdateEntityShading_GetDirectedFullbright(), and GL_Main_Init().
|
extern |
Definition at line 117 of file gl_rmain.c.
Referenced by CL_UpdateEntityShading_GetDirectedFullbright(), and GL_Main_Init().
|
extern |
Definition at line 118 of file gl_rmain.c.
Referenced by CL_UpdateEntityShading_GetDirectedFullbright(), and GL_Main_Init().
|
extern |
Definition at line 219 of file gl_rmain.c.
Referenced by CL_UpdateEntityShading_Entity().
|
extern |
Definition at line 32 of file model_sprite.c.
Referenced by CL_UpdateEntityShading_Entity().
|
extern |
cvar_t sensitivity = {CF_CLIENT | CF_ARCHIVE, "sensitivity","3","mouse speed multiplier"} |
Definition at line 53 of file cl_main.c.
Referenced by CL_Init(), CL_Input(), M_Menu_Options_AdjustSliders(), and M_Options_Draw().
|
extern |
bitfield because in theory we could be doing QW & DP simultaneously
Definition at line 129 of file netconn.c.
Referenced by CL_Frame().
Definition at line 2785 of file cl_main.c.
Referenced by CL_StartVideo(), and Mod_ForName().
matrix4x4_t viewmodelmatrix_nobob |
Definition at line 1057 of file cl_main.c.
Referenced by CL_UpdateNetworkEntity(), CSQC_R_RecalcView(), V_CalcIntermissionRefdef(), V_CalcRefdef(), and V_CalcRefdefUsing().
matrix4x4_t viewmodelmatrix_withbob |
Definition at line 1056 of file cl_main.c.
Referenced by CL_UpdateNetworkEntity(), CSQC_R_RecalcView(), V_CalcIntermissionRefdef(), V_CalcRefdef(), and V_CalcRefdefUsing().