1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-09-04 11:37:55 +00:00

An option to play on a disk (and use bounded space rules). Also renamed 'bounded' flag to 'closed' or similar, and improved Halloween

This commit is contained in:
Zeno Rogue
2022-05-21 13:08:42 +02:00
parent 9bc0623022
commit 793148729b
40 changed files with 218 additions and 171 deletions

View File

@@ -770,9 +770,9 @@ EX bool makeEmpty(cell *c) {
c->wall = waBoat; // , c->item = itOrbYendor;
else if(c->land == laMinefield)
c->wall = waMineOpen;
else if(c->wall == waFan && bounded)
else if(c->wall == waFan && closed_manifold)
;
else if(c->wall == waOpenPlate && bounded)
else if(c->wall == waOpenPlate && closed_manifold)
;
else if(c->wall == waTrunk || c->wall == waSolidBranch || c->wall == waWeakBranch)
;
@@ -786,13 +786,13 @@ EX bool makeEmpty(cell *c) {
;
else if(c->land == laDocks)
c->wall = waBoat;
else if(c->wall == waFreshGrave && bounded)
else if(c->wall == waFreshGrave && closed_manifold)
;
else if(c->wall == waBarrier && sphere && WDIM == 3)
;
else if(isReptile(c->wall))
c->wparam = reptilemax();
else if(c->wall == waAncientGrave && bounded)
else if(c->wall == waAncientGrave && closed_manifold)
;
else if(c->wall != waRoundTable)
c->wall = waNone;