REGISTRY(Animations, BITS(8))
REGISTER_REGISTRY(Animations)
+#define Animations_from(id) _Animations_from(id, NULL)
+#define WriteAnimation(to, it) WriteRegistry(Animations, to, it)
+#define ReadAnimation() ReadRegistry(Animations)
#define REGISTER_ANIMATION(id, framenames) \
.vector anim_##id; \
REGISTER(Animations, ANIM_##id, m_id, NEW(Animation)) { \
#define APPROXPASTTIME_RANGE (64 * APPROXPASTTIME_ACCURACY_REQUIREMENT)
#ifdef CSQC
+ #define ReadRegistry(r) r##_from(ReadByte())
+
entity ReadCSQCEntity()
{
int f = ReadShort();
#else
const int MSG_ENTITY = 5;
+ #define WriteRegistry(r, to, it) WriteByte(to, it.m_id)
+
void WriteInt24_t(float dst, float val)
{
float v;