Xonotic QuakeC
The free, fast arena FPS with crisp movement and a wide array of weapons
post.qh
Go to the documentation of this file.
1#pragma once
2
3#undef ChangeYaw
4#undef checkclient
5#undef droptofloor
6#undef error
7#undef movetogoal
8#undef objerror
9#undef remove
10#undef walkmove
11#undef setcolor
12
13#ifdef MENUQC
14 #define NULL (RVALUE, null_entity)
15 #define world NULL
16#else
17 #define NULL (RVALUE, world)
18#endif
19
20// Shadow functions which use globals - see deglobalization.qh for details.
21#define makevectors DO_NOT_USE_GLOBALS_PREFER_MAKE_VECTORS_MACRO_INSTEAD
22#define aim DO_NOT_USE_GLOBALS
23#define makestatic DO_NOT_USE_GLOBALS
24#define skel_get_bonerel DO_NOT_USE_GLOBALS
25#define skel_get_boneabs DO_NOT_USE_GLOBALS_PREFER_SKEL_GET_BONE_ABS_MACRO_INSTEAD
26#define skel_set_bone DO_NOT_USE_GLOBALS_PREFER_SKEL_SET_BONE_MACRO_INSTEAD
27#define skel_mul_bone DO_NOT_USE_GLOBALS
28#define skel_mul_bones DO_NOT_USE_GLOBALS
29#define adddynamiclight DO_NOT_USE_GLOBALS_PREFER_ADD_DYNAMIC_LIGHT_MACRO_INSTEAD
30#define adddynamiclight2 DO_NOT_USE_GLOBALS_PREFER_ADD_DYNAMIC_LIGHT2_MACRO_INSTEAD
31#define vectorvectors DO_NOT_USE_GLOBALS_PREFER_VECTOR_VECTORS_MACRO_INSTEAD
32#define gettaginfo DO_NOT_USE_GLOBALS_PREFER_GET_TAG_INFO_MACRO_INSTEAD
33#define getentity DO_NOT_USE_GLOBALS
34#define getentityvec DO_NOT_USE_GLOBALS