#pragma once
+// remove this ifdef when client or menu will actually make use of this stuff
+#ifdef SVQC
+
/** If this global exists, only functions with spawnfunc_ name prefix qualify as spawn functions */
noref bool require_spawnfunc_prefix;
.bool spawnfunc_checked;
assert(this); \
} \
if (!this.sourceLoc) { \
- this.sourceLoc = __FILE__ ":" STR(__LINE__); \
+ this.sourceLoc = __FILE__":"STR(__LINE__); \
} \
if (!this.spawnfunc_checked) { \
_checkWhitelisted(this, #id); \
if (__spawnfunc_unreachable_workaround) return; \
} \
void __spawnfunc_##id(entity this)
+
+#endif