mirror of
				https://github.com/zenorogue/hyperrogue.git
				synced 2025-10-31 05:52:59 +00:00 
			
		
		
		
	colors no longer silently modified in linepatterns
This commit is contained in:
		
							
								
								
									
										16
									
								
								pattern2.cpp
									
									
									
									
									
								
							
							
						
						
									
										16
									
								
								pattern2.cpp
									
									
									
									
									
								
							| @@ -1807,31 +1807,23 @@ namespace linepatterns { | |||||||
|        |        | ||||||
|       case patTriNet: |       case patTriNet: | ||||||
|         forCellEx(c2, c) if(c2 > c) if(gmatrix.count(c2)) if(celldist(c) != celldist(c2)) { |         forCellEx(c2, c) if(c2 > c) if(gmatrix.count(c2)) if(celldist(c) != celldist(c2)) { | ||||||
|           queueline(tC0(V), gmatrix[c2]*C0,  |           queueline(tC0(V), gmatrix[c2]*C0, col, 2); | ||||||
|             darkena(backcolor ^ 0xFFFFFF, 0, col), |  | ||||||
|             2); |  | ||||||
|           } |           } | ||||||
|         break; |         break; | ||||||
|  |  | ||||||
|       case patTriRings: |       case patTriRings: | ||||||
|         forCellEx(c2, c) if(c2 > c) if(gmatrix.count(c2) && celldist(c) == celldist(c2))  |         forCellEx(c2, c) if(c2 > c) if(gmatrix.count(c2) && celldist(c) == celldist(c2))  | ||||||
|           queueline(tC0(V), gmatrix[c2]*C0,  |           queueline(tC0(V), gmatrix[c2]*C0, col, 2); | ||||||
|             darkena(backcolor ^ 0xFFFFFF, 0, col), |  | ||||||
|             2); |  | ||||||
|         break; |         break; | ||||||
|  |  | ||||||
|       case patHepta: |       case patHepta: | ||||||
|         forCellEx(c2, c) if(c2 > c) if(gmatrix.count(c2) && pseudohept(c) == pseudohept(c2))  |         forCellEx(c2, c) if(c2 > c) if(gmatrix.count(c2) && pseudohept(c) == pseudohept(c2))  | ||||||
|           queueline(tC0(V), gmatrix[c2]*C0,  |           queueline(tC0(V), gmatrix[c2]*C0, col, 2); | ||||||
|             darkena(backcolor ^ 0xFFFFFF, 0, col), |  | ||||||
|             2); |  | ||||||
|         break; |         break; | ||||||
|  |  | ||||||
|       case patRhomb: |       case patRhomb: | ||||||
|         forCellEx(c2, c) if(c2 > c) if(gmatrix.count(c2) && pseudohept(c) != pseudohept(c2))  |         forCellEx(c2, c) if(c2 > c) if(gmatrix.count(c2) && pseudohept(c) != pseudohept(c2))  | ||||||
|           queueline(tC0(V), gmatrix[c2]*C0,  |           queueline(tC0(V), gmatrix[c2]*C0, col, 2); | ||||||
|             darkena(backcolor ^ 0xFFFFFF, 0, col), |  | ||||||
|             2); |  | ||||||
|         break; |         break; | ||||||
|        |        | ||||||
|       case patPalace: { |       case patPalace: { | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Zeno Rogue
					Zeno Rogue