mirror of
				https://github.com/zenorogue/hyperrogue.git
				synced 2025-10-31 14:02:59 +00:00 
			
		
		
		
	smoother coloring in Crystal
This commit is contained in:
		| @@ -502,7 +502,7 @@ EX color_t colorize(cell *c) { | |||||||
|   color_t res; |   color_t res; | ||||||
|   res = 0; |   res = 0; | ||||||
|   for(int i=0; i<3; i++) |   for(int i=0; i<3; i++) | ||||||
|     res |= ((int)(((i == 2 && S7 == 5) ? (128 + co[i] * 50) : (255&int(128 + co[i] * 50))))) << (8*i); |     res |= ((int)(((i == 2 && S7 == 5) ? (128 + co[i] * 50) : (255&int(128 + co[i] * 25))))) << (8*i); | ||||||
|   return res; |   return res; | ||||||
|   } |   } | ||||||
|  |  | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Zeno Rogue
					Zeno Rogue