ENABLE_EFFECTINFO ?= 0
ENABLE_DEBUGDRAW ?= 0
ENABLE_DEBUGTRACE ?= 0
+SPAWNFUNC_CHECK_FIELDS ?= 1
BUILD_MOD ?=
ifndef ZIP
-DENABLE_EFFECTINFO=$(ENABLE_EFFECTINFO) \
-DENABLE_DEBUGDRAW=$(ENABLE_DEBUGDRAW) \
-DENABLE_DEBUGTRACE=$(ENABLE_DEBUGTRACE) \
+ -DSPAWNFUNC_CHECK_FIELDS=$(SPAWNFUNC_CHECK_FIELDS) \
$(if $(BUILD_MOD), -DBUILD_MOD="$(BUILD_MOD)" -I$(BUILD_MOD), ) \
$(QCCDEFS_EXTRA)
// enables/disables warnings if a map entity has a field that doesn't exist
// useful for debugging and compatibility testing
-#define SPAWNFUNC_CHECK_FIELDS 1
#if SPAWNFUNC_CHECK_FIELDS
#define FIELD_SCALAR(fld, n) \