#include "vector.qh"
#include "yenc.qh"
-#include "matrix/_all.inc"
+#if XONOTIC
+ #include "matrix/_mod.inc"
+#endif
#ifndef SVQC
#define objerror_safe(e)
void SetChangeParms() { ENGINE_EVENT(); if (_SetChangeParms) _SetChangeParms(this); }
#define SetChangeParms _SetChangeParms
+#ifdef DP_EXT_PRECONNECT
+ void _ClientPreConnect(entity this);
+ void ClientPreConnect() { ENGINE_EVENT(); if (_ClientPreConnect) _ClientPreConnect(this); }
+ #define ClientPreConnect _ClientPreConnect
+#endif
+
void _ClientConnect(entity this);
void ClientConnect() { ENGINE_EVENT(); if (_ClientConnect) _ClientConnect(this); }
#define ClientConnect _ClientConnect
#endif
#undef ENGINE_EVENT
-#ifndef MENUQC
- #include <ecs/_lib.qh>
- #include <ecs/components/_mod.qh>
+#if XONOTIC
+#ifdef GAMEQC
+ #include <ecs/_mod.qh>
+#endif
#endif