From 978022025a38d7d56bd96f6261711b5c43450ddb Mon Sep 17 00:00:00 2001 From: Zeno Rogue Date: Fri, 13 Sep 2019 03:47:18 +0200 Subject: [PATCH] geometry_information wall functions compile without MAXMDIM >= 4 --- polygons.cpp | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/polygons.cpp b/polygons.cpp index eb3518f8..00a36f87 100644 --- a/polygons.cpp +++ b/polygons.cpp @@ -693,12 +693,19 @@ void geometry_information::procedural_shapes() { bshape(shSwitchDisk, PPR::FLOOR); for(int i=0; i<=S84; i+=S3) hpcpush(ddi(i, .06) * C0); } +vector equal_weights(20, 1); + +#if !(CAP_BT && MAXMDIM >= 4) +void geometry_information::make_wall(int id, vector vertices, vector weights) { } +void geometry_information::reserve_wall3d(int i) { } +void geometry_information::create_wall3d() { } +void geometry_information::compute_cornerbonus() { } +#endif + #if CAP_BT && MAXMDIM >= 4 // Make a wall -vector equal_weights(20, 1); - void geometry_information::make_wall(int id, vector vertices, vector weights) { // orient correctly