]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blob - qcsrc/dpdefs/csprogsdefs.qh
wrap some more stuff, cleanup
[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 #include "upstream/csprogsdefs.qc"
23
24 #undef true
25 #undef false
26 #undef TRUE
27 #undef FALSE
28
29 #undef spawn
30 #undef particleeffectnum
31 #undef trailparticles
32 #undef pointparticles
33 #undef setmodel
34
35 #undef STAT_FRAGLIMIT
36 #undef STAT_TIMELIMIT
37 #undef STAT_MOVEVARS_TICRATE
38 #undef STAT_MOVEVARS_TIMESCALE
39 #undef STAT_MOVEVARS_GRAVITY
40
41 #pragma noref 0
42
43 #define use use1
44 .void(entity this, entity actor, entity trigger) use;
45 #define touch move_touch
46
47 // deglobalization:
48
49 void(vector ang) _makevectors_hidden = #1;
50 //#define makevectors DO_NOT_USE_GLOBALS_PREFER_MAKE_VECTORS_MACRO_INSTEAD
51
52 #define skel_get_bonerel DO_NOT_USE_GLOBALS // not used anywhere so not wrapped
53
54 vector(float skel, float bonenum) _skel_get_boneabs_hidden = #270;
55 //#define skel_get_boneabs DO_NOT_USE_GLOBALS_PREFER_SKEL_GET_BONE_ABS_MACRO_INSTEAD
56
57 void(float skel, float bonenum, vector org) _skel_set_bone_hidden = #271;
58 //#define skel_set_bone DO_NOT_USE_GLOBALS_PREFER_SKEL_SET_BONE_MACRO_INSTEAD
59
60 #define skel_mul_bone DO_NOT_USE_GLOBALS // not used anywhere so not wrapped
61
62 #define skel_mul_bones DO_NOT_USE_GLOBALS // not used anywhere so not wrapped
63
64 void(vector dir) _vectorvectors_hidden = #432;
65 #define vectorvectors DO_NOT_USE_GLOBALS_PREFER_VECTOR_VECTORS_MACRO_INSTEAD
66
67 vector(entity ent, float tagindex) _gettaginfo_hidden = #452;
68 //#define gettaginfo DO_NOT_USE_GLOBALS_PREFER_GET_TAG_INFO_MACRO_INSTEAD
69
70 #define getentity DO_NOT_USE_GLOBALS // not used anywhere so not wrapped
71 #define getentityvec DO_NOT_USE_GLOBALS // not used anywhere so not wrapped