1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2026-04-30 12:31:23 +00:00

surface 3D graphics are now automatically disabled in rug (won't work correctly with quotient rugs anyway) and in pmodels which do not support it

This commit is contained in:
Zeno Rogue
2018-12-05 19:57:35 +01:00
parent e68da3d9a9
commit d8bf550d37
6 changed files with 35 additions and 14 deletions

View File

@@ -28,6 +28,7 @@ struct rug_exception { };
bool fast_euclidean = true;
bool good_shape;
bool subdivide_first = false;
bool spatial_rug = false;
bool subdivide_further();
void subdivide();
@@ -1791,6 +1792,8 @@ void show() {
}
dialog::addSelItem(XLAT("automatic move speed"), fts(ruggo), 'G');
dialog::addSelItem(XLAT("anti-crossing"), fts(anticusp_factor), 'A');
dialog::addBoolItem(XLAT("3D monsters/walls on the surface"), spatial_rug, 'S');
dialog::add_action([] () { spatial_rug = !spatial_rug; });
#if CAP_SURFACE
if(hyperbolic) {