mirror of
				https://github.com/zenorogue/hyperrogue.git
				synced 2025-10-31 05:52:59 +00:00 
			
		
		
		
	regular pattern on 3D Temple of Cthulhu
This commit is contained in:
		| @@ -1343,7 +1343,10 @@ 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(weirdhyperbolic && !BITRUNCATED) { |         if(binarytiling && DIM == 3) { | ||||||
|  |           if(c->master->zebraval != 1) c->wall = waColumn; | ||||||
|  |           } | ||||||
|  |         else if(weirdhyperbolic && !BITRUNCATED) { | ||||||
|           if(hrand(100) < 50) c->wall = waColumn; |           if(hrand(100) < 50) c->wall = waColumn; | ||||||
|           } |           } | ||||||
|         else if(pseudohept(c))  |         else if(pseudohept(c))  | ||||||
|   | |||||||
| @@ -87,7 +87,11 @@ namespace binary { | |||||||
|   heptagon *build(heptagon *parent, int d, int d1, int t, int side, int delta) { |   heptagon *build(heptagon *parent, int d, int d1, int t, int side, int delta) { | ||||||
| #else | #else | ||||||
|   heptagon *build(heptagon *parent, int d, int d1, int delta) { |   heptagon *build(heptagon *parent, int d, int d1, int delta) { | ||||||
|     int t = 9; const int side = 0; |     int t = 9;  | ||||||
|  |     int side = 0; | ||||||
|  |     if(d < 4) side = (parent->zebraval * 2 + d) % 5; | ||||||
|  |     if(d == 8) side = ((parent->zebraval-d1) * 3) % 5; | ||||||
|  |      | ||||||
| #endif | #endif | ||||||
|     auto h = buildHeptagon1(tailored_alloc<heptagon> (t), parent, d, hsOrigin, d1); |     auto h = buildHeptagon1(tailored_alloc<heptagon> (t), parent, d, hsOrigin, d1); | ||||||
|     h->distance = parent->distance + delta; |     h->distance = parent->distance + delta; | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 ?
					?