mirror of
				https://github.com/zenorogue/hyperrogue.git
				synced 2025-10-31 14:02:59 +00:00 
			
		
		
		
	geomexp:: dimension shown in geometry choice
This commit is contained in:
		
							
								
								
									
										10
									
								
								geom-exp.cpp
									
									
									
									
									
								
							
							
						
						
									
										10
									
								
								geom-exp.cpp
									
									
									
									
									
								
							| @@ -559,16 +559,20 @@ EX string current_proj_name() { | |||||||
|     return XLAT("general perspective"); |     return XLAT("general perspective"); | ||||||
|   } |   } | ||||||
|  |  | ||||||
|  | EX string dim_name() { | ||||||
|  |   return " (" + its(WDIM) + "D)"; | ||||||
|  |   } | ||||||
|  |  | ||||||
| EX string geometry_name() { | EX string geometry_name() { | ||||||
|   switch(ginf[geometry].cclass) { |   switch(ginf[geometry].cclass) { | ||||||
|     case gcHyperbolic: |     case gcHyperbolic: | ||||||
|       return XLAT("hyperbolic"); |       return XLAT("hyperbolic") + dim_name(); | ||||||
|  |  | ||||||
|     case gcEuclid:  |     case gcEuclid:  | ||||||
|       return XLAT("flat"); |       return XLAT("flat") + dim_name(); | ||||||
|      |      | ||||||
|     case gcSphere: |     case gcSphere: | ||||||
|       return XLAT("spherical"); |       return XLAT("spherical") + dim_name(); | ||||||
|  |  | ||||||
|     case gcSolNIH: |     case gcSolNIH: | ||||||
| #if CAP_SOLV | #if CAP_SOLV | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Zeno Rogue
					Zeno Rogue