mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-02-07 06:30:12 +00:00
3d:: improved hyperbolic regular Temple
This commit is contained in:
parent
ebbaa3fcc3
commit
22e65471f2
@ -1350,7 +1350,12 @@ void moreBigStuff(cell *c) {
|
|||||||
c->land = laTemple, c->wall = waNone, c->monst = moNone, c->item = itNone;
|
c->land = laTemple, c->wall = waNone, c->monst = moNone, c->item = itNone;
|
||||||
}
|
}
|
||||||
if(d % TEMPLE_EACH==0) {
|
if(d % TEMPLE_EACH==0) {
|
||||||
if(DIM == 3) {
|
if(geometry == gSpace534) {
|
||||||
|
int i = 0;
|
||||||
|
forCellCM(c2, c) if(celldistAlt(c2) < celldistAlt(c)) i++;
|
||||||
|
if(i > 1) c->wall = waColumn;
|
||||||
|
}
|
||||||
|
else if(DIM == 3) {
|
||||||
if(c->master->zebraval != 1) c->wall = waColumn;
|
if(c->master->zebraval != 1) c->wall = waColumn;
|
||||||
}
|
}
|
||||||
else if(weirdhyperbolic && !BITRUNCATED) {
|
else if(weirdhyperbolic && !BITRUNCATED) {
|
||||||
|
2
hyper.h
2
hyper.h
@ -1520,7 +1520,7 @@ bool bearsCamelot(eLand l);
|
|||||||
extern bool safety;
|
extern bool safety;
|
||||||
|
|
||||||
#define SAGEMELT .1
|
#define SAGEMELT .1
|
||||||
#define TEMPLE_EACH ((DIM == 3 && binarytiling) ? 2 : (DIM == 3 && hyperbolic) ? 3 : 6)
|
#define TEMPLE_EACH ((DIM == 3 && binarytiling) ? 2 : geometry == gSpace435 ? 4 : (DIM == 3 && hyperbolic) ? 3 : 6)
|
||||||
#define PT(x, y) ((tactic::on || quotient == 2 || daily::on) ? (y) : inv::on ? min(2*(y),x) : (x))
|
#define PT(x, y) ((tactic::on || quotient == 2 || daily::on) ? (y) : inv::on ? min(2*(y),x) : (x))
|
||||||
#define ROCKSNAKELENGTH 50
|
#define ROCKSNAKELENGTH 50
|
||||||
#define WORMLENGTH 15
|
#define WORMLENGTH 15
|
||||||
|
Loading…
x
Reference in New Issue
Block a user