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

device orientation-based scrolling on mobiles

This commit is contained in:
Zeno Rogue
2018-07-23 05:14:19 +02:00
parent bd77680518
commit 6c0a052470
8 changed files with 181 additions and 5 deletions

View File

@@ -1176,6 +1176,7 @@ void switch_game_mode(char switchWhat) {
break;
case rg::geometry:
ors::reset();
if(geometry == targetgeometry) geometry = gNormal;
else geometry = targetgeometry;
if(chaosmode && (euclid || sphere || quotient)) chaosmode = false;