1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-10-27 11:57:40 +00:00

3d:: Euclidean tori

This commit is contained in:
Zeno Rogue
2019-04-15 23:29:07 +02:00
parent 2e1f63e086
commit c0145c0d9c
8 changed files with 282 additions and 19 deletions

View File

@@ -651,7 +651,7 @@ void showEuclideanMenu() {
if(euwrap || geometry == gFieldQuotient || geometry == gCrystal || archimedean) {
if(euwrap || geometry == gFieldQuotient || geometry == gCrystal || archimedean || (euclid && DIM == 3)) {
dialog::addItem(XLAT("advanced parameters"), '4');
dialog::add_action([] {
if(0);
@@ -663,6 +663,11 @@ void showEuclideanMenu() {
else if(geometry == gCrystal)
pushScreen(crystal::show);
#endif
#if MAXMDIM == 4
else if(euclid && DIM == 3)
euclid3::prepare_torus3(),
pushScreen(euclid3::show_torus3);
#endif
else if(euwrap)
prepare_torusconfig(),
pushScreen(showTorusConfig);