1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-10-14 05:57:37 +00:00

arb:: patterns configuration

This commit is contained in:
Zeno Rogue
2019-12-27 22:59:50 +01:00
parent c7ec3585ad
commit e4b2453313
4 changed files with 39 additions and 1 deletions

View File

@@ -597,6 +597,8 @@ EX void giantLandSwitch(cell *c, int d, cell *from) {
else if(arcm::in() && arcm::current.have_line)
v = arcm::linespattern(c) ? 24 : 16;
#endif
else if(arb::in() && arb::current.have_line)
v = arb::linespattern(c) ? 24 : 16;
else if((euclid&&bounded) || hyperbolic_not37 || quotient || arcm::in()) {
v = hrand(100) < 25 ? 24 : 16;
}
@@ -663,6 +665,8 @@ EX void giantLandSwitch(cell *c, int d, cell *from) {
else if(arcm::in() && arcm::current.have_line)
c->wall = arcm::linespattern(c) ? waTrapdoor : waNone;
#endif
else if(arb::in() && arb::current.have_line)
c->wall = arb::linespattern(c) ? waTrapdoor : waNone;
else if(euclid && !arcm::in()) {
auto co = euc2_coordinates(c);
int y = co.second;
@@ -691,6 +695,8 @@ EX void giantLandSwitch(cell *c, int d, cell *from) {
else if(arcm::in() && arcm::current.have_line)
c->wall = arcm::linespattern(c) ? waVinePlant : waNone;
#endif
else if(arb::in() && arb::current.have_line)
c->wall = arb::linespattern(c) ? waVinePlant : waNone;
else if(nil) {
if((c->master->emeraldval & 1) == 1)
c->wall = waVinePlant;