mirror of
				https://github.com/zenorogue/hyperrogue.git
				synced 2025-10-31 05:52:59 +00:00 
			
		
		
		
	rogueviz::som:: an option to make floor invisible
This commit is contained in:
		| @@ -151,6 +151,8 @@ double maxudist; | ||||
|  | ||||
| neuron *distfrom; | ||||
|  | ||||
| eWall som_floor = waNone; | ||||
|  | ||||
| void coloring() { | ||||
|   if(noshow) return; | ||||
|   setindex(false); | ||||
| @@ -216,7 +218,7 @@ void coloring() { | ||||
|         part(net[i].where->landparam_color, pid) = 32 + (191 * (listing[i] - minl)) / (maxl - minl); | ||||
|  | ||||
|       for(int i=0; i<cells; i++)  | ||||
|         net[i].where->wall = waNone; | ||||
|         net[i].where->wall = som_floor; | ||||
|        | ||||
|       vid.wallmode = 2; | ||||
|       } | ||||
| @@ -1776,6 +1778,9 @@ int readArgs() { | ||||
|     start_game(); | ||||
|     verify_crawlers(); | ||||
|     } | ||||
|   else if(argis("-som-no-floor")) { | ||||
|     som_floor = waInvisibleFloor; | ||||
|     } | ||||
|   else if(argis("-somrestrict")) { | ||||
|     shift(); kohrestrict = argi(); | ||||
|     } | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Zeno Rogue
					Zeno Rogue