Xonotic
|
#include "view.qh"
#include <client/announcer.qh>
#include <client/csqcmodel_hooks.qh>
#include <client/draw.qh>
#include <client/hud/_mod.qh>
#include <client/hud/panel/quickmenu.qh>
#include <client/hud/panel/scoreboard.qh>
#include <client/mapvoting.qh>
#include <client/mutators/_mod.qh>
#include <client/shownames.qh>
#include <common/anim.qh>
#include <common/animdecide.qh>
#include <common/constants.qh>
#include <common/deathtypes/all.qh>
#include <common/debug.qh>
#include <common/ent_cs.qh>
#include <common/gamemodes/_mod.qh>
#include <common/mapinfo.qh>
#include <common/mapobjects/target/music.qh>
#include <common/mapobjects/trigger/viewloc.qh>
#include <common/minigames/cl_minigames.qh>
#include <common/minigames/cl_minigames_hud.qh>
#include <common/mutators/mutator/powerups/_mod.qh>
#include <common/mutators/mutator/status_effects/_mod.qh>
#include <common/mutators/mutator/waypoints/all.qh>
#include <common/net_linked.qh>
#include <common/net_notice.qh>
#include <common/physics/player.qh>
#include <common/stats.qh>
#include <common/teams.qh>
#include <common/vehicles/all.qh>
#include <common/viewloc.qh>
#include <common/weapons/_all.qh>
#include <common/weapons/weapon/tuba.qh>
#include <common/wepent.qh>
#include <lib/csqcmodel/cl_model.qh>
#include <lib/csqcmodel/cl_player.qh>
#include <lib/warpzone/client.qh>
#include <lib/warpzone/common.qh>
Go to the source code of this file.
Macros | |
#define | avg_factor(avg_time) (1 - exp(-frametime / max(0.001, avg_time))) |
#define | highpass(value, frac, ref_store, ret) |
#define | highpass2(value, frac, ref_store, ref_out) |
#define | highpass2_limited(value, frac, limit, ref_store, ref_out) |
#define | highpass3(value, frac, ref_store, ref_out) |
#define | highpass_limited(value, frac, limit, ref_store, ret) |
#define | lowpass(value, frac, ref_store, ret) ret = ref_store = ref_store * (1 - frac) + (value) * frac; |
#define | lowpass2(value, frac, ref_store, ref_out) |
#define | lowpass3(value, frac, ref_store, ref_out) |
#define | lowpass_limited(value, frac, limit, ref_store, ret) |
Definition at line 65 of file view.qc.
Referenced by calc_followmodel_ofs(), and leanmodel_ofs().
#define highpass | ( | value, | |
frac, | |||
ref_store, | |||
ret | |||
) |
#define highpass2 | ( | value, | |
frac, | |||
ref_store, | |||
ref_out | |||
) |
Definition at line 90 of file view.qc.
Referenced by leanmodel_ofs().
#define highpass2_limited | ( | value, | |
frac, | |||
limit, | |||
ref_store, | |||
ref_out | |||
) |
Definition at line 95 of file view.qc.
Referenced by leanmodel_ofs().
#define highpass3 | ( | value, | |
frac, | |||
ref_store, | |||
ref_out | |||
) |
Definition at line 106 of file view.qc.
Referenced by calc_followmodel_ofs().
#define highpass_limited | ( | value, | |
frac, | |||
limit, | |||
ref_store, | |||
ret | |||
) |
#define lowpass | ( | value, | |
frac, | |||
ref_store, | |||
ret | |||
) | ret = ref_store = ref_store * (1 - frac) + (value) * frac; |
#define lowpass2 | ( | value, | |
frac, | |||
ref_store, | |||
ref_out | |||
) |
Definition at line 85 of file view.qc.
Referenced by leanmodel_ofs().
#define lowpass3 | ( | value, | |
frac, | |||
ref_store, | |||
ref_out | |||
) |
Definition at line 100 of file view.qc.
Referenced by calc_followmodel_ofs().
#define lowpass_limited | ( | value, | |
frac, | |||
limit, | |||
ref_store, | |||
ret | |||
) |
Definition at line 202 of file view.qc.
References ANIMIMPLICITSTATE_INAIR, autocvar_cl_bobmodel_side, autocvar_cl_bobmodel_speed, autocvar_cl_bobmodel_up, autocvar_cl_viewmodel_scale, bound(), cos(), frametime, max(), min(), sin(), time, vec2, vector(), and vlen().
Referenced by viewmodel_animate().
Definition at line 112 of file view.qc.
References autocvar_cl_followmodel_highpass, autocvar_cl_followmodel_limit, autocvar_cl_followmodel_lowpass, autocvar_cl_followmodel_speed, autocvar_cl_followmodel_velocity_absolute, autocvar_cl_followmodel_velocity_lowpass, avg_factor, bound(), cl_followmodel_ofs, cl_followmodel_time, highpass3, lowpass3, time, vector(), and view_angles.
Referenced by Hud_Dynamic_Frame(), and viewmodel_animate().
void CSQC_Demo_Camera | ( | ) |
Definition at line 1772 of file view.qc.
References autocvar_camera_chase_smoothly, autocvar_camera_forward_follows, autocvar_camera_free, autocvar_camera_look_attenuation, autocvar_camera_look_player, autocvar_camera_mouse_threshold, autocvar_camera_reset, autocvar_camera_speed_attenuation, autocvar_camera_speed_chase, autocvar_camera_speed_free, autocvar_camera_speed_roll, CAMERA_CHASE, camera_direction, CAMERA_FREE, camera_mode, camera_offset, camera_roll, cos(), current_angles, current_camera_offset, current_origin, current_position, cvar_set(), DEG2RAD, dir, getmousepos(), max(), mouse_angles, normalize(), sin(), speed, sqrt(), vdist, vectoangles(), vector(), VF_ANGLES, VF_ORIGIN, and view_origin.
Referenced by View_DemoCamera().
Definition at line 1532 of file view.qc.
References Announcer(), autocvar__hud_showbinds_reload, autocvar_chase_active, autocvar_cl_stripcolorcodes, autocvar_r_drawviewmodel, autocvar_vid_conheight, autocvar_vid_conwidth, autocvar_vid_pixelheight, binddb, bound(), button_attack2, button_zoom, calledhooks, checkextension(), ColorTranslateMode, cs_project_is_b0rked, CSQCModel_server2csqc(), csqcplayer, CSQCPlayer_SetCamera(), current_player, cvar_set(), db_close(), db_create(), Draw_ShowNames_All(), drawframetime, DrawReticle(), drawtime, entity(), execute_next_frame(), Fog_Force(), fpscounter_update(), framecount, ftos(), g_drawables, g_drawables_2d, game_stopped_time, HOOK_END, HOOK_START, hud, HUD_Contents(), HUD_Damage(), HUD_Draw(), HUD_Mouse(), HUD_Scale_Disable(), IL_EACH, IL_ENDFRAME(), intermission, intermission_time, isdemo(), localcmd, MASK_ENGINE, MASK_ENGINEVIEWMODELS, MASK_NORMAL, MAX_WEAPONSLOTS, maxclients, NextFrameCommand, PHYS_INPUT_BUTTON_ATCK2, PHYS_INPUT_BUTTON_ZOOM, player_localentnum, player_localnum, postinit, PostInit(), scoreboard_active, Scoreboard_WouldDraw(), string_null, TC, ticrate, time, vector(), VF_ANGLES, VF_DRAWCROSSHAIR, VF_DRAWENGINESBAR, VF_DRAWWORLD, VF_MIN, VF_MINFPS_QUALITY, VF_ORIGIN, VF_PERSPECTIVE, VF_SIZE, vid_conheight, vid_conwidth, vid_height, vid_pixelheight, vid_width, view_angles, View_CheckButtonStatus(), View_DemoCamera(), View_EventChase(), view_forward, View_Lock(), View_NightVision(), view_origin, View_Ortho(), View_PostProcessing(), view_quality, view_right, view_up, View_UpdateFov(), viewmodel_draw(), viewmodels, and WarpZone_FixView().
void fpscounter_update | ( | ) |
Definition at line 389 of file view.qc.
References bound(), gettime(), GETTIME_FRAMESTART, rint(), showfps_framecounter, showfps_prevfps_time, and WriteShort().
Referenced by CSQC_UpdateView().
Definition at line 416 of file view.qc.
References almost_equals(), autocvar_cl_lockview, autocvar_cl_spawnzoom, autocvar_cl_spawnzoom_factor, autocvar_cl_spawnzoom_speed, autocvar_cl_velocityzoom_enabled, autocvar_cl_velocityzoom_factor, autocvar_cl_velocityzoom_speed, autocvar_cl_velocityzoom_time, autocvar_cl_velocityzoom_type, autocvar_cl_zoomfactor, autocvar_cl_zoomsensitivity, autocvar_cl_zoomspeed, avgspeed, bound(), button_zoom, camera_active, csqcplayer, current_viewzoom, current_zoomfraction, drawframetime, entity(), exp(), float2range11(), hud, intermission, isdemo(), M_PI, max(), MAX_WEAPONSLOTS, min(), pmove_vel, spectatee_status, spectatorbutton_zoom, v, vector(), vid_height, vid_pixelheight, vid_width, view_angles, viewmodels, vlen(), and zoomin_effect.
Referenced by View_UpdateFov().
Definition at line 545 of file view.qc.
References M_PI, vid_height, vid_pixelheight, and vid_width.
Referenced by View_UpdateFov().
void HitSound | ( | ) |
Definition at line 793 of file view.qc.
References ATTN_NONE, autocvar_cl_hitsound, autocvar_cl_hitsound_antispam_time, autocvar_cl_hitsound_max_pitch, autocvar_cl_hitsound_min_pitch, autocvar_cl_hitsound_nom_damage, CH_INFO, COMPARE_INCREASING, entity(), MAX_WEAPONSLOTS, NULL, SND, sound, time, unaccounted_damage, viewmodels, and VOL_BASE.
void HUD_Contents | ( | ) |
Definition at line 1044 of file view.qc.
References autocvar_hud_contents, autocvar_hud_contents_blur, autocvar_hud_contents_blur_alpha, autocvar_hud_contents_fadeintime, autocvar_hud_contents_fadeouttime, autocvar_hud_contents_lava_alpha, autocvar_hud_contents_lava_color, autocvar_hud_contents_slime_alpha, autocvar_hud_contents_slime_color, autocvar_hud_contents_water_alpha, autocvar_hud_contents_water_color, autocvar_hud_postprocessing, bound(), content_blurpostprocess, CONTENT_LAVA, CONTENT_SLIME, CONTENT_WATER, contentavgalpha, drawfill(), DRAWFLAG_NORMAL, drawframetime, liquidalpha_prev, liquidcolor_prev, max(), MUTATOR_CALLHOOK, stov(), vec2, vector(), vid_conheight, vid_conwidth, and view_origin.
Referenced by CSQC_UpdateView().
void HUD_Cursor_Show | ( | ) |
Definition at line 935 of file view.qc.
References autocvar__menu_alpha, CURSOR_MOVE, CURSOR_NORMAL, CURSOR_RESIZE, CURSOR_RESIZE2, cursor_type, draw_cursor(), draw_cursor_normal(), and mousepos.
Referenced by HUD_Mouse().
void HUD_Damage | ( | ) |
Definition at line 1114 of file view.qc.
References autocvar_cl_gentle_damage, autocvar_hud_damage, autocvar_hud_damage_blur, autocvar_hud_damage_blur_alpha, autocvar_hud_damage_color, autocvar_hud_damage_factor, autocvar_hud_damage_fade_rate, autocvar_hud_damage_gentle_alpha_multiplier, autocvar_hud_damage_gentle_color, autocvar_hud_damage_maxalpha, autocvar_hud_damage_pain_threshold, autocvar_hud_damage_pain_threshold_lower, autocvar_hud_damage_pain_threshold_lower_health, autocvar_hud_damage_pain_threshold_pulsating_min, autocvar_hud_damage_pain_threshold_pulsating_period, autocvar_hud_postprocessing, bound(), damage_blurpostprocess, dmg_take, drawfill(), DRAWFLAG_NORMAL, drawpic(), fabs(), frametime, intermission, M_PI, max(), myhealth, myhealth_flash, myhealth_gentlergb, myhealth_prev, randomvec(), sin(), spectatee_status, stov(), time, vec2, vector(), vid_conheight, and vid_conwidth.
Referenced by CSQC_UpdateView().
Definition at line 859 of file view.qc.
References autocvar_cl_nade_timer, autocvar_hud_colorflash_alpha, DrawCircleClippedPic(), drawfill(), DRAWFLAG_ADDITIVE, drawstring_aspect(), eY, gametype, Hud_Dynamic_Frame(), HUD_Scale_Enable(), intermission, M_ARGV, max(), MUTATOR_CALLHOOK, vec2, vec3, vector(), vid_conheight, and vid_conwidth.
Referenced by CSQC_UpdateView().
Definition at line 948 of file view.qc.
References autocvar__hud_configure, autocvar__menu_alpha, autocvar_hud_cursormode, cursor_active, CURSOR_NORMAL, cursor_type, HUD_Cursor_Show(), HUD_Minigame_Mouse(), HUD_MinigameMenu_IsOpened(), HUD_Panel_Mouse(), HUD_Radar_Clickable(), HUD_Radar_Mouse(), mouseClicked, prevMouseClicked, QuickMenu_IsOpened(), QuickMenu_Mouse(), update_mousepos(), VIEWLOC_FREEAIM, and ViewLocation_Mouse().
Referenced by CSQC_UpdateView().
Definition at line 166 of file view.qc.
References autocvar_cl_leanmodel_highpass, autocvar_cl_leanmodel_highpass1, autocvar_cl_leanmodel_limit, autocvar_cl_leanmodel_lowpass, autocvar_cl_leanmodel_speed, avg_factor, floor(), highpass2, highpass2_limited, lowpass2, PITCH, ROLL, vector(), view_angles, and YAW.
Referenced by viewmodel_animate().
Definition at line 359 of file view.qc.
References cs_project_is_b0rked, vid_conheight, vid_conwidth, vid_height, and vid_width.
Referenced by AuxiliaryXhair_Draw2D(), DamageText::DamageText_draw2d(), Draw_ShowNames(), EnemyHitCheck(), GENERIC_COMMAND(), HUD_Crosshair(), NET_HANDLE(), and turret_draw2d().
Definition at line 370 of file view.qc.
References vid_conheight, and vid_conwidth.
Referenced by NET_HANDLE().
STATIC_INIT | ( | viewmodel | ) |
STATIC_INIT | ( | fpscounter_init | ) |
Definition at line 409 of file view.qc.
References gettime(), GETTIME_FRAMESTART, and showfps_prevfps_time.
void update_mousepos | ( | ) |
Definition at line 379 of file view.qc.
References autocvar_menu_mouse_speed, bound(), getmousepos(), mousepos, vid_conheight, and vid_conwidth.
Referenced by HUD_Mouse().
void UpdateDamage | ( | ) |
Definition at line 769 of file view.qc.
References COMPARE_INCREASING, spectatee_status, and unaccounted_damage.
void View_CheckButtonStatus | ( | ) |
Definition at line 1341 of file view.qc.
References active_minigame, autocvar__togglezoom, autocvar_cl_unpress_attack_on_weapon_switch, autocvar_cl_unpress_zoom_on_death, autocvar_cl_unpress_zoom_on_weapon_switch, autocvar_fov, button_attack2, button_zoom, entity(), HUD_MinigameMenu_IsOpened(), intermission, isdemo(), localcmd, MAX_WEAPONSLOTS, minigame_wasactive, spectatee_status, strcat(), time, viewmodels, weapontime, and zoomscript_caught.
Referenced by CSQC_UpdateView().
void View_DemoCamera | ( | ) |
Definition at line 1290 of file view.qc.
References autocvar_camera_enable, autocvar_chase_active, camera_active, camera_mode, chase_active_backup, CSQC_Demo_Camera(), cvar_set(), ftos(), isdemo(), strcat(), and time.
Referenced by CSQC_UpdateView().
Definition at line 627 of file view.qc.
References autocvar_chase_active, autocvar_cl_eventchase_distance, autocvar_cl_eventchase_maxs, autocvar_cl_eventchase_mins, autocvar_cl_eventchase_speed, autocvar_cl_eventchase_vehicle, autocvar_cl_eventchase_vehicle_distance, autocvar_cl_eventchase_vehicle_viewoffset, autocvar_cl_eventchase_viewoffset, csqcplayer, cvar_set(), cvar_settemp(), eventchase_current_distance, eventchase_running, frametime, Vehicle::height, hud, intermission, M_ARGV, max(), MOVE_WORLDONLY, MUTATOR_CALLHOOK, pmove_org, REGISTRY_GET, spectatee_status, trace_endpos, trace_fraction, trace_startsolid, vector(), VF_ANGLES, VF_ORIGIN, view_angles, Vehicle::view_ofs, viewloc, WantEventchase(), WarpZone_trace_transform, WarpZone_TraceBox(), WarpZone_TraceLine(), and WarpZone_TransformVAngles().
Referenced by CSQC_UpdateView().
void View_Lock | ( | ) |
Definition at line 1264 of file view.qc.
References autocvar__hud_configure, autocvar_cl_lockview, autocvar_hud_cursormode, freeze_ang, freeze_org, HUD_MinigameMenu_IsOpened(), HUD_Radar_Clickable(), intermission, QuickMenu_IsOpened(), spectatee_status, VF_ANGLES, and VF_ORIGIN.
Referenced by CSQC_UpdateView().
void View_NightVision | ( | ) |
Definition at line 990 of file view.qc.
References autocvar_r_fakelight, autocvar_r_fullbright, autocvar_vid_conheight, autocvar_vid_conwidth, cos(), drawfill(), DRAWFLAG_ADDITIVE, DRAWFLAG_MODULATE, frametime, nightvision_noise, nightvision_noise2, Noise_Pink(), Noise_White(), SERVERFLAG_ALLOW_FULLBRIGHT, serverflags, sin(), time, and vector().
Referenced by CSQC_UpdateView().
void View_Ortho | ( | ) |
Definition at line 1437 of file view.qc.
References autocvar_cl_orthoview, bound(), cvar(), cvar_set(), cvar_settemp(), ftos(), LOG_INFOF, max(), oldr_farclip_base, oldr_farclip_world, oldr_nearclip, oldr_novis, oldr_useinfinitefarclip, oldr_useportalculling, ov_enabled, ov_mid, ov_org, ov_worldmax, ov_worldmin, vdist, vec3, VF_ANGLES, VF_ORIGIN, vid_height, vid_width, vlen(), and vtos().
Referenced by CSQC_UpdateView().
void View_PostProcessing | ( | ) |
Definition at line 1203 of file view.qc.
References autocvar_hud_postprocessing, autocvar_hud_postprocessing_maxbluralpha, autocvar_hud_postprocessing_maxblurradius, autocvar_hud_powerup, bound(), content_blurpostprocess, cvar(), cvar_set(), cvar_string(), damage_blurpostprocess, FOREACH, ftos(), old_bluralpha, old_blurradius, old_sharpen_intensity, and strcat().
Referenced by CSQC_UpdateView().
void View_UpdateFov | ( | ) |
Definition at line 1519 of file view.qc.
References autocvar_cl_orthoview, autocvar_fov, csqcplayer, GetCurrentFov(), GetOrthoviewFOV(), GetViewLocationFOV(), ov_mid, ov_org, ov_worldmax, ov_worldmin, vector(), and VF_FOV.
Referenced by CSQC_UpdateView().
void ViewLocation_Mouse | ( | ) |
Definition at line 921 of file view.qc.
References autocvar_menu_mouse_speed, bound(), getmousepos(), spectatee_status, vid_conheight, vid_conwidth, and viewloc_mousepos.
Referenced by HUD_Mouse().
Definition at line 242 of file view.qc.
References angles, autocvar_chase_active, autocvar_cl_bobmodel, autocvar_cl_followmodel, autocvar_cl_leanmodel, bobmodel_ofs(), calc_followmodel_ofs(), cl_followmodel_ofs, CSQCModel_server2csqc(), entity(), leanmodel_ofs(), origin, and player_localentnum.
Referenced by viewmodel_draw().
Definition at line 279 of file view.qc.
References angles, anim_set(), anim_update(), animstate_endtime, animstate_looping, animstate_override, autocvar_chase_active, autocvar_cl_viewmodel_alpha, autocvar_r_drawviewmodel, bound(), CSQCModel_Effects_Apply(), CSQCModel_server2csqc(), current_player, EF_FULLBRIGHT, EF_NODEPTHTEST, entity(), intermission, m_alpha, MASK_NORMAL, max(), maxclients, Weapon::mdl, MUTATOR_CALLHOOK, name, name_last, NULL, origin, player_localentnum, setorigin(), state, time, vector(), viewmodel_angles, viewmodel_animate(), viewmodel_origin, weapon_eta_last, weapon_nextthink, weapon_switchdelay, WS_CLEAR, WS_DROP, and WS_RAISE.
Referenced by CSQC_UpdateView().
Definition at line 590 of file view.qc.
References autocvar_cl_eventchase_death, autocvar_cl_eventchase_frozen, autocvar_cl_eventchase_spectated_change, autocvar_cl_eventchase_spectated_change_time, autocvar_cl_orthoview, eventchase_running, intermission, min(), MUTATOR_CALLHOOK, spectatee_status, spectatee_status_changed_time, time, velocity, and viewloc.
Referenced by View_EventChase().
bool autocvar_cl_bobmodel |
Definition at line 45 of file view.qc.
Referenced by viewmodel_animate().
float autocvar_cl_bobmodel_side |
Definition at line 47 of file view.qc.
Referenced by bobmodel_ofs().
float autocvar_cl_bobmodel_speed |
Definition at line 46 of file view.qc.
Referenced by bobmodel_ofs().
float autocvar_cl_bobmodel_up |
Definition at line 48 of file view.qc.
Referenced by bobmodel_ofs().
float autocvar_cl_followmodel |
Definition at line 50 of file view.qc.
Referenced by viewmodel_animate().
float autocvar_cl_followmodel_highpass = 0.05 |
Definition at line 54 of file view.qc.
Referenced by calc_followmodel_ofs().
float autocvar_cl_followmodel_limit = 135 |
Definition at line 52 of file view.qc.
Referenced by calc_followmodel_ofs().
float autocvar_cl_followmodel_lowpass = 0.03 |
Definition at line 55 of file view.qc.
Referenced by calc_followmodel_ofs().
float autocvar_cl_followmodel_speed = 0.3 |
Definition at line 51 of file view.qc.
Referenced by calc_followmodel_ofs().
bool autocvar_cl_followmodel_velocity_absolute |
Definition at line 56 of file view.qc.
Referenced by calc_followmodel_ofs().
float autocvar_cl_followmodel_velocity_lowpass = 0.05 |
Definition at line 53 of file view.qc.
Referenced by calc_followmodel_ofs().
float autocvar_cl_leanmodel |
Definition at line 58 of file view.qc.
Referenced by viewmodel_animate().
float autocvar_cl_leanmodel_highpass = 0.2 |
Definition at line 62 of file view.qc.
Referenced by leanmodel_ofs().
float autocvar_cl_leanmodel_highpass1 = 0.2 |
Definition at line 61 of file view.qc.
Referenced by leanmodel_ofs().
float autocvar_cl_leanmodel_limit = 30 |
Definition at line 60 of file view.qc.
Referenced by leanmodel_ofs().
float autocvar_cl_leanmodel_lowpass = 0.05 |
Definition at line 63 of file view.qc.
Referenced by leanmodel_ofs().
float autocvar_cl_leanmodel_speed = 0.3 |
Definition at line 59 of file view.qc.
Referenced by leanmodel_ofs().
float autocvar_cl_viewmodel_alpha = 1 |
Definition at line 43 of file view.qc.
Referenced by viewmodel_draw().
float autocvar_cl_viewmodel_scale |
Definition at line 42 of file view.qc.
Referenced by bobmodel_ofs().
float avgspeed |
Definition at line 415 of file view.qc.
Referenced by GetCurrentFov().
const float CAMERA_CHASE = 2 |
Definition at line 571 of file view.qc.
Referenced by CSQC_Demo_Camera().
const float CAMERA_FREE = 1 |
Definition at line 570 of file view.qc.
Referenced by CSQC_Demo_Camera().
float camera_mode |
Definition at line 569 of file view.qc.
Referenced by CSQC_Demo_Camera(), and View_DemoCamera().
vector camera_offset |
Definition at line 1771 of file view.qc.
Referenced by CSQC_Demo_Camera().
vector content_blurpostprocess |
Definition at line 767 of file view.qc.
Referenced by HUD_Contents(), and View_PostProcessing().
float contentavgalpha |
Definition at line 585 of file view.qc.
Referenced by HUD_Contents().
vector current_angles |
Definition at line 1771 of file view.qc.
Referenced by CSQC_Demo_Camera().
vector current_camera_offset |
Definition at line 1771 of file view.qc.
Referenced by CSQC_Demo_Camera().
vector current_origin |
Definition at line 1771 of file view.qc.
Referenced by CSQC_Demo_Camera().
vector current_position |
Definition at line 1771 of file view.qc.
Referenced by CSQC_Demo_Camera().
vector damage_blurpostprocess |
Definition at line 767 of file view.qc.
Referenced by HUD_Damage(), and View_PostProcessing().
float eventchase_current_distance |
Definition at line 588 of file view.qc.
Referenced by View_EventChase().
float eventchase_running |
Definition at line 589 of file view.qc.
Referenced by View_EventChase(), and WantEventchase().
vector freeze_ang |
Definition at line 574 of file view.qc.
Referenced by View_Lock(), and viewloc_PlayerPhysics().
vector freeze_org |
Definition at line 574 of file view.qc.
Referenced by View_Lock(), and viewloc_PlayerPhysics().
float liquidalpha_prev |
Definition at line 585 of file view.qc.
Referenced by HUD_Contents().
vector liquidcolor_prev |
Definition at line 586 of file view.qc.
Referenced by HUD_Contents().
bool minigame_wasactive |
Definition at line 567 of file view.qc.
Referenced by View_CheckButtonStatus().
vector mouse_angles |
Definition at line 1771 of file view.qc.
Referenced by CSQC_Demo_Camera().
float myhealth |
Definition at line 577 of file view.qc.
Referenced by HUD_Damage(), PlayerHealth(), and vehicles_painframe().
float myhealth_flash |
Definition at line 578 of file view.qc.
Referenced by HUD_Damage().
vector myhealth_gentlergb |
Definition at line 583 of file view.qc.
Referenced by HUD_Damage().
float myhealth_prev |
Definition at line 577 of file view.qc.
Referenced by HUD_Damage().
string name_last |
Definition at line 277 of file view.qc.
Referenced by viewmodel_draw().
string NextFrameCommand |
Definition at line 572 of file view.qc.
Referenced by CSQC_UpdateView().
entity nightvision_noise |
Definition at line 575 of file view.qc.
Referenced by View_NightVision().
entity nightvision_noise2 |
Definition at line 575 of file view.qc.
Referenced by View_NightVision().
float old_bluralpha |
Definition at line 580 of file view.qc.
Referenced by View_PostProcessing().
float old_blurradius |
Definition at line 580 of file view.qc.
Referenced by View_PostProcessing().
float old_sharpen_intensity |
Definition at line 581 of file view.qc.
Referenced by View_PostProcessing().
float oldr_farclip_base |
Definition at line 1427 of file view.qc.
Referenced by View_Ortho().
float oldr_farclip_world |
Definition at line 1428 of file view.qc.
Referenced by View_Ortho().
float oldr_nearclip |
Definition at line 1426 of file view.qc.
Referenced by View_Ortho().
float oldr_novis |
Definition at line 1429 of file view.qc.
Referenced by View_Ortho().
float oldr_useinfinitefarclip |
Definition at line 1431 of file view.qc.
Referenced by View_Ortho().
float oldr_useportalculling |
Definition at line 1430 of file view.qc.
Referenced by View_Ortho().
bool ov_enabled |
Definition at line 1425 of file view.qc.
Referenced by View_Ortho().
vector ov_mid = '0 0 0' |
Definition at line 1433 of file view.qc.
Referenced by View_Ortho(), and View_UpdateFov().
vector ov_org = '0 0 0' |
Definition at line 1432 of file view.qc.
Referenced by View_Ortho(), and View_UpdateFov().
vector ov_worldmax = '0 0 0' |
Definition at line 1435 of file view.qc.
Referenced by View_Ortho(), and View_UpdateFov().
vector ov_worldmin = '0 0 0' |
Definition at line 1434 of file view.qc.
Referenced by View_Ortho(), and View_UpdateFov().
int showfps_framecounter |
Definition at line 387 of file view.qc.
Referenced by fpscounter_update().
float showfps_prevfps_time |
Definition at line 386 of file view.qc.
Referenced by fpscounter_update(), and STATIC_INIT().
vector viewmodel_angles |
Definition at line 272 of file view.qc.
Referenced by viewmodel_draw().
vector viewmodel_origin |
Definition at line 272 of file view.qc.
Referenced by viewmodel_draw().
float weapon_eta_last |
Definition at line 274 of file view.qc.
Referenced by viewmodel_draw().
float weapon_nextthink |
Definition at line 273 of file view.qc.
Referenced by viewmodel_draw(), W_WeaponFrame(), and weapon_thinkf().
float weapon_switchdelay |
Definition at line 275 of file view.qc.
Referenced by viewmodel_draw().