From 98daaf3853db0a90e41011d94877b045473f8b8d Mon Sep 17 00:00:00 2001 From: Zeno Rogue Date: Mon, 24 Feb 2025 10:53:09 +0100 Subject: [PATCH] fundamental:: integrate with standard HyperRogue --- geom-exp.cpp | 5 +++++ hyper.cpp | 1 + 2 files changed, 6 insertions(+) diff --git a/geom-exp.cpp b/geom-exp.cpp index 7a5202c4..f2df632d 100644 --- a/geom-exp.cpp +++ b/geom-exp.cpp @@ -1169,6 +1169,11 @@ EX void showEuclideanMenu() { dialog::addHelp(arb::current.comment); } + if(WDIM == 2 && quotient && closed_manifold) { + dialog::addItem(XLAT("fundamental domain"), 'F'); + dialog::add_action_push(fundamental::showMenu); + } + dialog::addSelItem(XLAT("size of the world"), gd.size_str, '3'); add_size_action(); diff --git a/hyper.cpp b/hyper.cpp index 20a633a7..02a3d141 100644 --- a/hyper.cpp +++ b/hyper.cpp @@ -127,6 +127,7 @@ #include "vr.cpp" #include "intra.cpp" #include "crossbow.cpp" +#include "fundamental.cpp" #if CAP_ROGUEVIZ #include "rogueviz/rogueviz-all.cpp"