mirror of
				https://github.com/zenorogue/hyperrogue.git
				synced 2025-10-30 21:42:59 +00:00 
			
		
		
		
	fake:: support Archimedean pure
This commit is contained in:
		
							
								
								
									
										2
									
								
								cell.cpp
									
									
									
									
									
								
							
							
						
						
									
										2
									
								
								cell.cpp
									
									
									
									
									
								
							| @@ -917,6 +917,7 @@ EX cdata *arcmCdata(cell *c) { | ||||
|   } | ||||
|  | ||||
| EX int getCdata(cell *c, int j) { | ||||
|   if(fake::in()) return FPIU(getCdata(c, j)); | ||||
|   if(hybri) { c = hybrid::get_where(c).first; return PIU(getBits(c)); } | ||||
|   else if(euc::in()) return getEuclidCdata(euc2_coordinates(c))->val[j]; | ||||
|   else if(arcm::in() && euclid) | ||||
| @@ -935,6 +936,7 @@ EX int getCdata(cell *c, int j) { | ||||
|   } | ||||
|  | ||||
| EX int getBits(cell *c) { | ||||
|   if(fake::in()) return FPIU(getBits(c)); | ||||
|   if(hybri) { c = hybrid::get_where(c).first; return PIU(getBits(c)); } | ||||
|   else if(euc::in()) return getEuclidCdata(euc2_coordinates(c))->bits; | ||||
|   else if(arcm::in() && euclid) | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Zeno Rogue
					Zeno Rogue