mirror of
				https://github.com/zenorogue/hyperrogue.git
				synced 2025-10-31 05:52:59 +00:00 
			
		
		
		
	horocycle generation distance reduced in rule
This commit is contained in:
		
							
								
								
									
										26
									
								
								bigstuff.cpp
									
									
									
									
									
								
							
							
						
						
									
										26
									
								
								bigstuff.cpp
									
									
									
									
									
								
							| @@ -1536,31 +1536,31 @@ EX void buildBigStuff(cell *c, cell *from) { | ||||
|       (quickfind(laTemple) || peace::on || (hrand(I2000) < 100 &&  | ||||
|       items[itStatue] >= U5 && !randomPatternsMode &&  | ||||
|       !tactic::on && !yendor::on && !racing::on))) | ||||
|       createAlternateMap(c, 2, hsA); | ||||
|       createAlternateMap(c, horo_distance(), hsA); | ||||
|  | ||||
|     if(c->land == laJungle && ctof(c) &&  | ||||
|       (quickfind(laMountain) || (hrand(I2000) < 100 && horo_ok() &&  | ||||
|       !randomPatternsMode && !tactic::on && !yendor::on && !racing::on && landUnlocked(laMountain)))) | ||||
|       createAlternateMap(c, 2, hsA); | ||||
|       createAlternateMap(c, horo_distance(), hsA); | ||||
|  | ||||
|     if(c->land == laOvergrown && ctof(c) && horo_ok() && | ||||
|       (quickfind(laClearing) || (hrand(I2000) < 25 &&  | ||||
|       !randomPatternsMode && items[itMutant] >= U5 && | ||||
|       isLandIngame(laClearing) && | ||||
|       !tactic::on && !yendor::on && !racing::on))) { | ||||
|       heptagon *h = createAlternateMap(c, 2, hsA); | ||||
|       heptagon *h = createAlternateMap(c, horo_distance(), hsA); | ||||
|       if(h) clearing::bpdata[h].root = NULL; | ||||
|       } | ||||
|      | ||||
|     if(stdhyperbolic && c->land == laStorms && ctof(c) && hrand(2000) < 1000 && horo_ok() && !randomPatternsMode) { | ||||
|       heptagon *h = createAlternateMap(c, 2, hsA); | ||||
|       heptagon *h = createAlternateMap(c, horo_distance(), hsA); | ||||
|       if(h) h->alt->emeraldval = hrand(2); | ||||
|       } | ||||
|  | ||||
|     if(c->land == laOcean && ctof(c) && deepOcean && !generatingEquidistant && !peace::on && horo_ok() &&  | ||||
|       (quickfind(laWhirlpool) || ( | ||||
|         hrand(2000) < (PURE ? 500 : 1000) && !tactic::on && !racing::on && !yendor::on))) | ||||
|       createAlternateMap(c, 2, hsA); | ||||
|       createAlternateMap(c, horo_distance(), hsA); | ||||
|      | ||||
|     #if CAP_COMPLEX2 | ||||
|     if(c->land == laOcean && deepOcean && !generatingEquidistant && hrand(10000) < 20 && no_barriers_in_radius(c, 2) && hyperbolic && !quotient && !tactic::on && !safety)  | ||||
| @@ -1568,10 +1568,10 @@ EX void buildBigStuff(cell *c, cell *from) { | ||||
|     #endif | ||||
|  | ||||
|     if(c->land == laCaribbean && horo_ok() && ctof(c) && !c->master->alt) | ||||
|       createAlternateMap(c, 2, hsA); | ||||
|       createAlternateMap(c, horo_distance(), hsA); | ||||
|  | ||||
|     if(c->land == laCanvas && horo_ok() && ctof(c) && !c->master->alt) | ||||
|       createAlternateMap(c, 2, hsA); | ||||
|       createAlternateMap(c, horo_distance(), hsA); | ||||
|  | ||||
|     if(c->land == laPalace && ctof(c) && !princess::generating && !shmup::on && multi::players == 1 && horo_ok() && !weirdhyperbolic && | ||||
|       (princess::forceMouse ? canReachPlayer(from, moMouse) : | ||||
| @@ -1725,6 +1725,10 @@ EX int temple_layer_size() { | ||||
|   return 6; | ||||
|   } | ||||
|  | ||||
| EX int horo_distance() { | ||||
|   return  (WDIM == 3 && hyperbolic) ? 1 : 2; | ||||
|   } | ||||
|  | ||||
| EX void moreBigStuff(cell *c) { | ||||
|  | ||||
|   if((bearsCamelot(c->land) && !euclid && !quotient && !nil) || c->land == laCamelot)  | ||||
| @@ -1743,7 +1747,7 @@ EX void moreBigStuff(cell *c) { | ||||
|  | ||||
|   if(c->land == laStorms) | ||||
|     if(!eubinary && !quotient && !sphere) { | ||||
|       if(c->master->alt && masterAlt(c) <= 2) { | ||||
|       if(c->master->alt && masterAlt(c) <= horo_distance()) { | ||||
|         currentmap->generateAlts(c->master); | ||||
|         preventbarriers(c); | ||||
|         int d = celldistAlt(c); | ||||
| @@ -1766,7 +1770,7 @@ EX void moreBigStuff(cell *c) { | ||||
|     } | ||||
|    | ||||
|   else if((c->land == laRlyeh && !euclid) || c->land == laTemple) if(!(bt::in() && specialland != laTemple && c->land == laRlyeh)) { | ||||
|     if(eubinary || in_s2xe() || (c->master->alt && (tactic::on || masterAlt(c) <= 2))) { | ||||
|     if(eubinary || in_s2xe() || (c->master->alt && (tactic::on || masterAlt(c) <= horo_distance()))) { | ||||
|       if(!eubinary && !chaosmode) currentmap->generateAlts(c->master); | ||||
|       preventbarriers(c); | ||||
|       int d = celldistAlt(c); | ||||
| @@ -1827,7 +1831,7 @@ EX void moreBigStuff(cell *c) { | ||||
|     } | ||||
|  | ||||
|   if((c->land == laOvergrown && !euclid) || c->land == laClearing) if(!(bt::in() && specialland != laClearing)) { | ||||
|     if(eubinary || (c->master->alt && (tactic::on || masterAlt(c) <= 2))) { | ||||
|     if(eubinary || (c->master->alt && (tactic::on || masterAlt(c) <= horo_distance()))) { | ||||
|       if(!eubinary) currentmap->generateAlts(c->master); | ||||
|       preventbarriers(c); | ||||
|       int d = celldistAlt(c); | ||||
| @@ -1840,7 +1844,7 @@ EX void moreBigStuff(cell *c) { | ||||
|     } | ||||
|  | ||||
|   if((c->land == laJungle && !euclid) || c->land == laMountain) if(!(bt::in() && specialland != laMountain)) { | ||||
|     if(eubinary || (c->master->alt && (tactic::on || masterAlt(c) <= 2))) { | ||||
|     if(eubinary || (c->master->alt && (tactic::on || masterAlt(c) <= horo_distance()))) { | ||||
|       if(!eubinary) currentmap->generateAlts(c->master); | ||||
|       preventbarriers(c); | ||||
|       int d = celldistAlt(c); | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Zeno Rogue
					Zeno Rogue