]> git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blob - qcsrc/dpdefs/csprogsdefs.qh
Experimental port of stats (networked variables) to QC
[xonotic/xonotic-data.pk3dir.git] / qcsrc / dpdefs / csprogsdefs.qh
1 #pragma once
2
3 #pragma noref 1
4
5 #define true _true
6 #define false _false
7 #define TRUE _TRUE
8 #define FALSE _FALSE
9
10 #define spawn _spawn
11 #define particleeffectnum _particleeffectnum
12 #define trailparticles __trailparticles
13 #define pointparticles __pointparticles
14 #define setmodel _setmodel
15
16 #define STAT_FRAGLIMIT _STAT_FRAGLIMIT
17 #define STAT_TIMELIMIT _STAT_TIMELIMIT
18 #define STAT_MOVEVARS_TICRATE _STAT_MOVEVARS_TICRATE
19 #define STAT_MOVEVARS_TIMESCALE _STAT_MOVEVARS_TIMESCALE
20 #define STAT_MOVEVARS_GRAVITY _STAT_MOVEVARS_GRAVITY
21 #define STAT_HEALTH _STAT_HEALTH
22 #define STAT_ARMOR _STAT_ARMOR
23 #define STAT_SHELLS _STAT_SHELLS
24 #define STAT_NAILS _STAT_NAILS
25 #define STAT_ROCKETS _STAT_ROCKETS
26 #define STAT_CELLS _STAT_CELLS
27 #define STAT_ITEMS _STAT_ITEMS
28 #define STAT_VIEWHEIGHT _STAT_VIEWHEIGHT
29
30 #include "upstream/csprogsdefs.qc"
31
32 #undef true
33 #undef false
34 #undef TRUE
35 #undef FALSE
36
37 #undef spawn
38 #undef particleeffectnum
39 #undef trailparticles
40 #undef pointparticles
41 #undef setmodel
42
43 #undef STAT_FRAGLIMIT
44 #undef STAT_TIMELIMIT
45 #undef STAT_MOVEVARS_TICRATE
46 #undef STAT_MOVEVARS_TIMESCALE
47 #undef STAT_MOVEVARS_GRAVITY
48 #undef STAT_HEALTH
49 #undef STAT_ARMOR
50 #undef STAT_SHELLS
51 #undef STAT_NAILS
52 #undef STAT_ROCKETS
53 #undef STAT_CELLS
54 #undef STAT_ITEMS
55 #undef STAT_VIEWHEIGHT
56
57 #define use use1
58 .void(entity this, entity actor, entity trigger) use;
59 #define touch move_touch
60
61 void(vector ang) _makevectors_hidden = #1;
62 vector(float skel, float bonenum) _skel_get_boneabs_hidden = #270;
63 void(float skel, float bonenum, vector org) _skel_set_bone_hidden = #271;
64 void(vector org, float radius, vector lightcolours) _adddynamiclight_hidden = #305;
65 void(vector dir) _vectorvectors_hidden = #432;
66 vector(entity ent, float tagindex) _gettaginfo_hidden = #452;
67
68 #pragma noref 0