#ifndef COMPAT_XON010_CHANNELS
#define sound(e,c,s,v,a) sound7(e,c,s,v,a,0,0)
#endif
+
+#ifdef CSQC
+entity ReadCSQCEntity()
+#endif
CSQCMODEL_PROPERTY(2, ReadShort, WriteShort, colormap) \
CSQCMODEL_PROPERTY(4, ReadInt24_t, WriteInt24_t, effects) \
CSQCMODEL_PROPERTY_SCALED(8, ReadByte, WriteByte, alpha, 255, 0, 255) \
+ CSQCMODEL_ENDIF \
+ CSQCMODEL_IF(!isplayer) \
+ CSQCMODEL_PROPERTY(1, ReadCSQCEntity, WriteEntity, tag_entity) \
CSQCMODEL_ENDIF
+// declare "odd" fields here
+.entity tag_entity;
+
// add hook function calls here
#define CSQCMODEL_HOOK_PREUPDATE
#define CSQCMODEL_HOOK_POSTUPDATE