// add properties you want networked to CSQC here
// NOTE: some properties share the same flag due to the limited number of bits (24) we can use
// generally the grouped ones are cheap (1 byte and less frequently networked)
+// bits above 14 are defined in lib/csqcmodel/common.qh
#define CSQCMODEL_EXTRAPROPERTIES \
CSQCMODEL_PROPERTY(BIT(0), int, ReadShort, WriteShort, colormap) \
CSQCMODEL_PROPERTY(BIT(1), int, ReadInt24_t, WriteInt24_t, effects) \
CSQCMODEL_PROPERTY(BIT(9), float, ReadApproxPastTime, WriteApproxPastTime, anim_upper_time) \
CSQCMODEL_ENDIF \
CSQCMODEL_PROPERTY(BIT(10), float, ReadAngle, WriteAngle, v_angle_x) \
- /*-- BIT(11) available --*/ \
+ CSQCMODEL_PROPERTY(BIT(11), TAG_VIEWLOC_TYPE, ReadShort, WriteEntity, TAG_VIEWLOC_NAME) /* NOTE: update the use of this in cl_model.qc if you change the bitflag number! */ \
CSQCMODEL_PROPERTY(BIT(12), float, ReadCoord, WriteCoord, scale) \
CSQCMODEL_PROPERTY(BIT(13), int, ReadInt24_t, WriteInt24_t, dphitcontentsmask) \
- CSQCMODEL_PROPERTY(BIT(14), TAG_VIEWLOC_TYPE, ReadShort, WriteEntity, TAG_VIEWLOC_NAME) /* NOTE: update the use of this in cl_model.qc if you change the bitflag number! */ \
/**/
-// NOTE: bits above 15 are defined in lib/csqcmodel/common.qh, avoid reusing them if possible
+// NOTE: bits above 14 are defined in lib/csqcmodel/common.qh, avoid reusing them if possible
// in particular bit 15 should NOT be reused, it is large enough sending the model's hitbox vectors!
// TODO get rid of colormod/glowmod here; also get rid of some useless properties on non-players that only exist for CopyBody