]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blob - qcsrc/dpdefs/csprogsdefs.qh
Merge branch 'master' into terencehill/lms_updates
[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
22 #define drawpic drawpic_builtin
23 #define drawstring drawstring_builtin
24 #define drawcharacter drawcharacter_builtin
25 #define drawfill drawfill_builtin
26 #define drawsetcliparea drawsetcliparea_builtin
27 #define drawcolorcodedstring drawcolorcodedstring_builtin
28 #define drawcolorcodedstring2 drawcolorcodedstring2_builtin
29 #define stringwidth stringwidth_builtin
30
31 #include "upstream/csprogsdefs.qc"
32
33 #undef true
34 #undef false
35 #undef TRUE
36 #undef FALSE
37
38 #undef spawn
39 #undef particleeffectnum
40 #undef trailparticles
41 #undef pointparticles
42 #undef setmodel
43
44 #undef STAT_FRAGLIMIT
45 #undef STAT_TIMELIMIT
46 #undef STAT_MOVEVARS_TICRATE
47 #undef STAT_MOVEVARS_TIMESCALE
48 #undef STAT_MOVEVARS_GRAVITY
49
50 #define use use1
51 .void(entity this, entity actor, entity trigger) use;
52
53 #undef drawpic
54 #undef drawstring
55 #undef drawcharacter
56 #undef drawfill
57 #undef drawsetcliparea
58 #undef drawcolorcodedstring
59 #undef drawcolorcodedstring2
60 #undef stringwidth
61
62 void(vector ang) _makevectors_hidden = #1;
63 vector(float skel, float bonenum) _skel_get_boneabs_hidden = #270;
64 void(float skel, float bonenum, vector org) _skel_set_bone_hidden = #271;
65 void(vector org, float radius, vector lightcolours) _adddynamiclight_hidden = #305;
66 void(vector dir) _vectorvectors_hidden = #432;
67 vector(entity ent, float tagindex) _gettaginfo_hidden = #452;
68
69 #pragma noref 0