summaryrefslogtreecommitdiff
path: root/kon/kon3d.h
diff options
context:
space:
mode:
authorKonAki <konaki@anokonaki.org>2026-10-11 21:57:22 +0800
committerKonAki <konaki@anokonaki.org>2026-10-11 21:57:22 +0800
commit95bd48a7b0556adab5250cae766ee9dd9c6b2cde (patch)
treea29b83a4f436d6c58321a44977e4eb6d30f7c8d8 /kon/kon3d.h
parent42630ebee76996a37f5104e6e11b860f31634dab (diff)
konsofren: 3D is opt-in with KONSOFREN_3D, build.sh sets it for 3d, model and sector
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) */