summaryrefslogtreecommitdiff
path: root/kon/kon3d.h
diff options
context:
space:
mode:
Diffstat (limited to 'kon/kon3d.h')
-rw-r--r--kon/kon3d.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/kon/kon3d.h b/kon/kon3d.h
index 726df26..f45f985 100644
--- a/kon/kon3d.h
+++ b/kon/kon3d.h
@@ -29,6 +29,10 @@
#include "konprogram.h"
#include "kontile.h"
+#ifndef KONSOFREN_HAS_3D
+#error "this needs the 3D part of konsofren, define KONSOFREN_3D before the first include of konsofren.h (build.sh does it for -m 3d, model and sector)"
+#endif
+
/*** definition ***/
/* a first person body on a tilemap. the world is one unit per tile, y is up, yaw 0 looks up the map (towards row 0) */