]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blob - qcsrc/client/view.qh
Merge branch 'master' into Juhu/strafehud
[xonotic/xonotic-data.pk3dir.git] / qcsrc / client / view.qh
1 #pragma once
2
3 #include <common/weapons/weapon.qh>
4
5 void calc_followmodel_ofs(entity view);
6
7 vector project_3d_to_2d(vector vec);
8
9 void update_mousepos();
10
11 void CSQC_Demo_Camera();
12
13 entity viewmodels[MAX_WEAPONSLOTS];
14
15 vector viewloc_mousepos;
16
17 int cursor_active;
18 int cursor_type;
19 const int CURSOR_NORMAL = 0;
20 const int CURSOR_MOVE = 1;
21 const int CURSOR_RESIZE = 2;
22 const int CURSOR_RESIZE2 = 3;
23
24 float drawtime;
25 float unaccounted_damage = 0;
26 float zoomscript_caught;
27
28 float dmg_take;
29 // float dmg_save;
30 // vector dmg_origin;
31
32 #ifdef BLURTEST
33 float blurtest_time0, blurtest_time1, blurtest_radius, blurtest_power;
34 #endif
35
36 float intermission_time;