Fix compilation with gmqcc.
[xonotic/xonotic-data.pk3dir.git] / qcsrc / csqcmodellib / settings.qh
1 // define this if svqc code wants to use .frame2 and .lerpfrac
2 //#define CSQCMODEL_HAVE_TWO_FRAMES
3
4 // don't define this ever
5 //#define CSQCMODEL_SUPPORT_GETTAGINFO_BEFORE_DRAW
6
7 // add properties you want networked to CSQC here
8 #define CSQCMODEL_EXTRAPROPERTIES \
9         /* CSQCMODEL_PROPERTY(1, float, ReadShort, WriteShort, colormap) */ \
10         /* CSQCMODEL_PROPERTY(2, float, ReadInt24_t, WriteInt24_t, effects) */
11
12 // add hook function calls here
13 #define CSQCMODEL_HOOK_PREUPDATE
14 #define CSQCMODEL_HOOK_POSTUPDATE
15 #define CSQCMODEL_HOOK_PREDRAW
16 #define CSQCPLAYER_HOOK_POSTCAMERASETUP
17
18 // force updates of player entities that often even if unchanged
19 #define CSQCPLAYER_FORCE_UPDATES 0.25
20
21 // mod must define:
22 //vector PL_MIN  = ...;
23 //vector PL_MAX  = ...;
24 //vector PL_VIEW_OFS  = ...;
25 //vector PL_CROUCH_MIN  = ...;
26 //vector PL_CROUCH_MAX  = ...;
27 //vector PL_CROUCH_VIEW_OFS  = ...;