mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2026-03-09 14:49:43 +00:00
renamed the variable 'purehepta' to 'nontruncated'
This commit is contained in:
18
system.cpp
18
system.cpp
@@ -110,7 +110,7 @@ void initgame() {
|
||||
if(firstland == laElementalWall) cwt.c->land = randomElementalLand();
|
||||
|
||||
if(tactic::on && (isGravityLand(firstland) || firstland == laOcean) && firstland != laMountain)
|
||||
cwt.c->land = purehepta ? laCrossroads : laCrossroads2;
|
||||
cwt.c->land = nontruncated ? laCrossroads : laCrossroads2;
|
||||
createMov(cwt.c, 0);
|
||||
|
||||
setdist(cwt.c, BARLEV, NULL);
|
||||
@@ -541,7 +541,7 @@ void applyBoxes() {
|
||||
applyBoxBool(survivalist);
|
||||
if(loadingHi) applyBoxI(itLotus);
|
||||
else applyBoxNum(truelotus, "lotus/escape");
|
||||
applyBoxBool(purehepta, "heptagons only");
|
||||
applyBoxBool(nontruncated, "heptagons only");
|
||||
applyBoxI(itRose);
|
||||
applyBoxOrb(itOrbBeauty);
|
||||
applyBoxI(itCoral);
|
||||
@@ -662,7 +662,7 @@ void loadBoxHigh() {
|
||||
dynamicval<eGeometry> sp2(geometry, (eGeometry) savebox[116]);
|
||||
dynamicval<bool> sp3(shmup::on, savebox[119]);
|
||||
dynamicval<bool> sp4(chaosmode, savebox[196]);
|
||||
dynamicval<bool> sp5(purehepta, savebox[186]);
|
||||
dynamicval<bool> sp5(nontruncated, savebox[186]);
|
||||
if(savebox[238]) geometry = gSphere;
|
||||
if(savebox[239]) geometry = gElliptic;
|
||||
|
||||
@@ -798,7 +798,7 @@ void saveStats(bool emergency = false) {
|
||||
fprintf(f, "Total enemies killed: %d\n", tkills());
|
||||
fprintf(f, "cells generated: %d\n", cellcount);
|
||||
if(pureHardcore()) fprintf(f, "Pure hardcore mode\n");
|
||||
if(purehepta) fprintf(f, "Heptagons only mode\n");
|
||||
if(nontruncated) fprintf(f, "Heptagons only mode\n");
|
||||
if(chaosmode) fprintf(f, "Chaos mode\n");
|
||||
if(shmup::on) fprintf(f, "Shoot-em up mode\n");
|
||||
if(inv::on) fprintf(f, "Inventory mode\n");
|
||||
@@ -989,7 +989,7 @@ namespace gamestack {
|
||||
gdn.View = View;
|
||||
gdn.geometry = geometry;
|
||||
gdn.shmup = shmup::on;
|
||||
gdn.hepta = purehepta;
|
||||
gdn.hepta = nontruncated;
|
||||
gd.push_back(gdn);
|
||||
}
|
||||
|
||||
@@ -1000,7 +1000,7 @@ namespace gamestack {
|
||||
viewctr = gdn.viewctr;
|
||||
View = gdn.View;
|
||||
geometry = gdn.geometry;
|
||||
purehepta = gdn.hepta;
|
||||
nontruncated = gdn.hepta;
|
||||
if(shmup::on) shmup::clearMonsters();
|
||||
shmup::on = gdn.shmup;
|
||||
resetGeometry();
|
||||
@@ -1082,7 +1082,7 @@ void restartGame(char switchWhat, bool push) {
|
||||
if(switchWhat == 'T') {
|
||||
geometry = gNormal;
|
||||
yendor::on = tactic::on = princess::challenge = peace::on = inv::on = false;
|
||||
chaosmode = purehepta = randomPatternsMode = false;
|
||||
chaosmode = nontruncated = randomPatternsMode = false;
|
||||
shmup::on = false;
|
||||
resetGeometry();
|
||||
tour::on = !tour::on;
|
||||
@@ -1090,14 +1090,14 @@ void restartGame(char switchWhat, bool push) {
|
||||
#endif
|
||||
if(switchWhat == '7') {
|
||||
if(euclid) geometry = gNormal;
|
||||
purehepta = !purehepta;
|
||||
nontruncated = !nontruncated;
|
||||
resetGeometry();
|
||||
}
|
||||
if(switchWhat == 'g') {
|
||||
if(geometry == targetgeometry) geometry = gNormal;
|
||||
else geometry = targetgeometry;
|
||||
if(chaosmode && (euclid || sphere || quotient)) chaosmode = false;
|
||||
if(purehepta && euclid) purehepta = false;
|
||||
if(nontruncated && euclid) nontruncated = false;
|
||||
resetGeometry();
|
||||
}
|
||||
if(switchWhat == 'y') {
|
||||
|
||||
Reference in New Issue
Block a user