mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-01-01 21:10:35 +00:00
Land switching in geom-exp (cheater enabled)
This commit is contained in:
parent
db1359e962
commit
b5363ac93c
@ -236,7 +236,7 @@ void showEuclideanMenu() {
|
|||||||
landvisited[laCA] = true;
|
landvisited[laCA] = true;
|
||||||
// for(int i=2; i<lt; i++) landvisited[i] = true;
|
// for(int i=2; i<lt; i++) landvisited[i] = true;
|
||||||
|
|
||||||
if((geometry == gNormal && !gp::on) || ewhichscreen == 2) {
|
if(ewhichscreen == 2) {
|
||||||
dialog::init(XLAT("experiment with geometry"));
|
dialog::init(XLAT("experiment with geometry"));
|
||||||
int ts = ginf[geometry].sides;
|
int ts = ginf[geometry].sides;
|
||||||
int tv = ginf[geometry].vertex;
|
int tv = ginf[geometry].vertex;
|
||||||
@ -431,7 +431,7 @@ void showEuclideanMenu() {
|
|||||||
else if(lid >= 0 && lid < size(landlist)) {
|
else if(lid >= 0 && lid < size(landlist)) {
|
||||||
eLand nland = landlist[lid];
|
eLand nland = landlist[lid];
|
||||||
if(landvisited[nland]) {
|
if(landvisited[nland]) {
|
||||||
specialland = nland;
|
firstland = specialland = nland;
|
||||||
restartGame(tactic::on ? rg::tactic : rg::nothing);
|
restartGame(tactic::on ? rg::tactic : rg::nothing);
|
||||||
pushScreen(showEuclideanMenu);
|
pushScreen(showEuclideanMenu);
|
||||||
}
|
}
|
||||||
|
@ -1366,6 +1366,9 @@ land_validity_t& land_validity(eLand l) {
|
|||||||
// these don't appear in normal game, but do appear in special modes
|
// these don't appear in normal game, but do appear in special modes
|
||||||
if(l == laWildWest && !randomPatternsMode)
|
if(l == laWildWest && !randomPatternsMode)
|
||||||
return out_of_theme;
|
return out_of_theme;
|
||||||
|
|
||||||
|
if(l == laIce && !gp::on && hyperbolic_37)
|
||||||
|
return full_game;
|
||||||
|
|
||||||
return ok;
|
return ok;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user