Xonotic
settings.qh
Go to the documentation of this file.
1 #pragma once
2 // define this if svqc code wants to use .frame2 and .lerpfrac
3 //#define CSQCMODEL_HAVE_TWO_FRAMES
4 
5 // don't define this ever
6 //#define CSQCMODEL_SUPPORT_GETTAGINFO_BEFORE_DRAW
7 
8 // add properties you want networked to CSQC here
9 #define CSQCMODEL_EXTRAPROPERTIES \
10  /* CSQCMODEL_PROPERTY(1, float, ReadShort, WriteShort, colormap) */ \
11  /* CSQCMODEL_PROPERTY(2, float, ReadInt24_t, WriteInt24_t, effects) */
12 
13 // add hook function calls here
14 #define CSQCPLAYER_HOOK_POSTCAMERASETUP
15 
16 // force updates of player entities this frequently (per second) even if unchanged
17 #define CSQCPLAYER_FORCE_UPDATES 4
18 
19 // mod must define:
20 //vector PL_MIN = ...;
21 //vector PL_MAX = ...;
22 //vector PL_VIEW_OFS = ...;
23 //vector PL_CROUCH_MIN = ...;
24 //vector PL_CROUCH_MAX = ...;
25 //vector PL_CROUCH_VIEW_OFS = ...;