Xonotic
view.qh
Go to the documentation of this file.
1 #pragma once
2 
4 
95 
96 void calc_followmodel_ofs(entity view);
97 
99 
100 void update_mousepos();
101 
102 void CSQC_Demo_Camera();
103 
105 
107 
110 const int CURSOR_NORMAL = 0;
111 const int CURSOR_MOVE = 1;
112 const int CURSOR_RESIZE = 2;
113 const int CURSOR_RESIZE2 = 3;
114 
115 float drawtime;
118 
119 float dmg_take;
120 // float dmg_save;
121 // vector dmg_origin;
122 
123 #ifdef BLURTEST
124 float blurtest_time0, blurtest_time1, blurtest_radius, blurtest_power;
125 #endif
126 
float autocvar_hud_damage_factor
Definition: view.qh:52
float autocvar_cl_zoomspeed
Definition: view.qh:34
float autocvar_hud_damage_gentle_alpha_multiplier
Definition: view.qh:54
float dmg_take
Definition: view.qh:119
void update_mousepos()
Definition: view.qc:379
int autocvar_cl_nade_timer
Definition: view.qh:93
float autocvar_r_letterbox
Definition: view.qh:69
bool autocvar_camera_chase_smoothly
Definition: view.qh:5
float autocvar_cl_eventchase_distance
Definition: view.qh:86
int autocvar_r_fakelight
Definition: view.qh:67
int autocvar_cl_velocityzoom_type
Definition: view.qh:29
float zoomscript_caught
Definition: view.qh:117
float autocvar_cl_zoomfactor
Definition: view.qh:32
bool autocvar_camera_reset
Definition: view.qh:12
vector autocvar_cl_eventchase_mins
Definition: view.qh:90
float autocvar_hud_damage_fade_rate
Definition: view.qh:53
bool autocvar_cl_eventchase_spectated_change
Definition: view.qh:83
string autocvar_hud_damage_color
Definition: view.qh:51
float autocvar_cl_hitsound_nom_damage
Definition: view.qh:81
float autocvar_hud_damage_pain_threshold_lower
Definition: view.qh:58
string autocvar_hud_damage_gentle_color
Definition: view.qh:55
bool autocvar_hud_damage
Definition: view.qh:48
entity viewmodels[MAX_WEAPONSLOTS]
Definition: view.qh:104
bool autocvar_hud_contents
Definition: view.qh:37
float autocvar_cl_hitsound_antispam_time
Definition: view.qh:82
entity() spawn
float autocvar_hud_contents_fadeintime
Definition: view.qh:40
float autocvar_menu_mouse_speed
Definition: view.qh:66
float game_stopped_time
Definition: view.qh:128
float intermission_time
Definition: view.qh:127
float autocvar_camera_speed_roll
Definition: view.qh:16
float autocvar_hud_damage_pain_threshold_pulsating_period
Definition: view.qh:61
bool autocvar_cl_stripcolorcodes
Definition: view.qh:26
float autocvar_hud_damage_pain_threshold_pulsating_min
Definition: view.qh:60
float drawtime
Definition: view.qh:115
vector autocvar_cl_eventchase_vehicle_viewoffset
Definition: view.qh:76
float autocvar_hud_contents_blur_alpha
Definition: view.qh:39
float autocvar_cl_velocityzoom_time
Definition: view.qh:31
bool autocvar_cl_lockview
Definition: view.qh:20
vector project_3d_to_2d(vector vec)
Definition: view.qc:359
vector autocvar_cl_eventchase_maxs
Definition: view.qh:89
float autocvar_hud_damage_pain_threshold
Definition: view.qh:57
bool autocvar_hud_powerup
Definition: view.qh:62
bool autocvar_chase_front
Definition: view.qh:18
float autocvar_cl_spawnzoom_speed
Definition: view.qh:24
float autocvar_fov
Definition: view.qh:35
float autocvar_camera_look_player
Definition: view.qh:10
bool autocvar_camera_free
Definition: view.qh:8
float autocvar_hud_postprocessing_maxblurradius
Definition: view.qh:65
const int CURSOR_RESIZE
Definition: view.qh:112
string autocvar_hud_contents_water_color
Definition: view.qh:47
float autocvar_hud_contents_lava_alpha
Definition: view.qh:42
bool autocvar_camera_forward_follows
Definition: view.qh:7
bool autocvar_cl_eventchase_vehicle
Definition: view.qh:75
vector viewloc_mousepos
Definition: view.qh:106
int autocvar_cl_gentle_damage
Definition: view.qh:19
int cursor_active
Definition: view.qh:108
const int MAX_WEAPONSLOTS
Definition: weapon.qh:13
float autocvar_hud_contents_fadeouttime
Definition: view.qh:41
int autocvar_cl_eventchase_death
Definition: view.qh:85
float autocvar_hud_postprocessing_maxbluralpha
Definition: view.qh:64
float autocvar_hud_damage_blur_alpha
Definition: view.qh:50
float autocvar_viewsize
Definition: view.qh:74
bool autocvar_cl_orthoview
Definition: view.qh:21
float autocvar_cl_velocityzoom_speed
Definition: view.qh:30
float autocvar_cl_eventchase_spectated_change_time
Definition: view.qh:84
string autocvar_hud_contents_lava_color
Definition: view.qh:43
float autocvar_cl_hitsound_max_pitch
Definition: view.qh:80
bool autocvar_v_flipped
Definition: view.qh:70
bool autocvar_camera_enable
Definition: view.qh:6
vector(float skel, float bonenum) _skel_get_boneabs_hidden
string autocvar__togglezoom
Definition: view.qh:92
float autocvar_cl_eventchase_speed
Definition: view.qh:88
float autocvar_hud_contents_water_alpha
Definition: view.qh:46
float autocvar_hud_contents_slime_alpha
Definition: view.qh:44
float autocvar_camera_speed_attenuation
Definition: view.qh:13
void CSQC_Demo_Camera()
Definition: view.qc:1772
float autocvar_cl_zoomsensitivity
Definition: view.qh:33
float autocvar_hud_contents_blur
Definition: view.qh:38
vector autocvar_cl_eventchase_viewoffset
Definition: view.qh:91
bool autocvar_r_drawviewmodel
Definition: view.qh:94
float autocvar_hud_colorflash_alpha
Definition: view.qh:36
float autocvar_camera_look_attenuation
Definition: view.qh:9
float unaccounted_damage
Definition: view.qh:116
bool autocvar_cl_eventchase_frozen
Definition: view.qh:87
float autocvar_hud_damage_pain_threshold_lower_health
Definition: view.qh:59
bool autocvar_cl_orthoview_nofog
Definition: view.qh:22
float autocvar_cl_spawnzoom_factor
Definition: view.qh:25
const int CURSOR_NORMAL
Definition: view.qh:110
int autocvar_vid_conwidth
Definition: view.qh:72
bool autocvar_cl_velocityzoom_enabled
Definition: view.qh:27
float autocvar_camera_mouse_threshold
Definition: view.qh:11
const int CURSOR_RESIZE2
Definition: view.qh:113
float autocvar_hud_damage_maxalpha
Definition: view.qh:56
float autocvar_cl_hitsound_min_pitch
Definition: view.qh:79
int autocvar_cl_hitsound
Definition: view.qh:78
bool autocvar_r_fullbright
Definition: view.qh:68
int autocvar_chase_active
Definition: view.qh:17
float autocvar_cl_velocityzoom_factor
Definition: view.qh:28
float autocvar_camera_speed_chase
Definition: view.qh:14
int autocvar_vid_conheight
Definition: view.qh:71
const int CURSOR_MOVE
Definition: view.qh:111
float autocvar_vid_pixelheight
Definition: view.qh:73
string autocvar_hud_contents_slime_color
Definition: view.qh:45
bool autocvar_cl_spawnzoom
Definition: view.qh:23
int cursor_type
Definition: view.qh:109
void calc_followmodel_ofs(entity view)
Definition: view.qc:112
float autocvar_camera_speed_free
Definition: view.qh:15
float autocvar_cl_eventchase_vehicle_distance
Definition: view.qh:77
float autocvar_hud_damage_blur
Definition: view.qh:49
bool autocvar_hud_postprocessing
Definition: view.qh:63