mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-11-18 06:35:12 +00:00
whirl
This commit is contained in:
@@ -102,7 +102,7 @@ void initgame() {
|
||||
if(isGravityLand(firstland) && !tactic::on) firstland = laCrossroads;
|
||||
|
||||
cwt.c = currentmap->gamestart(); cwt.spin = 0; cwt.mirrored = false;
|
||||
cwt.c->land = (geometry && !safety) ? specialland : firstland;
|
||||
cwt.c->land = ((geometry || whirl::whirl) && !safety) ? specialland : firstland;
|
||||
|
||||
chaosAchieved = false;
|
||||
|
||||
@@ -1107,9 +1107,10 @@ void restartGame(char switchWhat, bool push, bool keep_screens) {
|
||||
tour::on = !tour::on;
|
||||
}
|
||||
#endif
|
||||
if(switchWhat == '7') {
|
||||
if(switchWhat == '7' || switchWhat == 'w') {
|
||||
if(euclid6) geometry = gNormal;
|
||||
nonbitrunc = !nonbitrunc;
|
||||
whirl::whirl = (switchWhat == 'w');
|
||||
resetGeometry();
|
||||
#if CAP_TEXTURE
|
||||
if(texture::config.tstate == texture::tsActive)
|
||||
@@ -1123,6 +1124,7 @@ void restartGame(char switchWhat, bool push, bool keep_screens) {
|
||||
else geometry = targetgeometry;
|
||||
if(chaosmode && (euclid || sphere || quotient)) chaosmode = false;
|
||||
if(nonbitrunc && euclid6) nonbitrunc = false;
|
||||
if(whirl::whirl && (S3 != 3 || elliptic)) whirl::whirl = false;
|
||||
|
||||
resetGeometry();
|
||||
#if CAP_TEXTURE
|
||||
|
||||
Reference in New Issue
Block a user