mirror of
				https://github.com/zenorogue/hyperrogue.git
				synced 2025-11-04 07:43:02 +00:00 
			
		
		
		
	product: disabled model selection
This commit is contained in:
		@@ -197,6 +197,7 @@ EX namespace models {
 | 
				
			|||||||
    }
 | 
					    }
 | 
				
			||||||
  
 | 
					  
 | 
				
			||||||
  EX bool model_available(eModel pm) {
 | 
					  EX bool model_available(eModel pm) {
 | 
				
			||||||
 | 
					    if(prod) return pm == mdPerspective;
 | 
				
			||||||
    if(nonisotropic) return among(pm, mdDisk, mdPerspective, mdGeodesic, mdEquidistant);
 | 
					    if(nonisotropic) return among(pm, mdDisk, mdPerspective, mdGeodesic, mdEquidistant);
 | 
				
			||||||
    if(pm == mdGeodesic && !sol) return false;
 | 
					    if(pm == mdGeodesic && !sol) return false;
 | 
				
			||||||
    if(sphere && (pm == mdHalfplane || pm == mdBall))
 | 
					    if(sphere && (pm == mdHalfplane || pm == mdBall))
 | 
				
			||||||
@@ -221,6 +222,7 @@ EX namespace models {
 | 
				
			|||||||
  
 | 
					  
 | 
				
			||||||
  EX string get_model_name(eModel m) {
 | 
					  EX string get_model_name(eModel m) {
 | 
				
			||||||
    if(m == mdDisk && GDIM == 3 && hyperbolic) return XLAT("ball model/Gans");
 | 
					    if(m == mdDisk && GDIM == 3 && hyperbolic) return XLAT("ball model/Gans");
 | 
				
			||||||
 | 
					    if(m == mdPerspective && prod) return XLAT("native perspective");
 | 
				
			||||||
    if(nonisotropic) {
 | 
					    if(nonisotropic) {
 | 
				
			||||||
      if(m == mdDisk) return XLAT("simple model: projection");
 | 
					      if(m == mdDisk) return XLAT("simple model: projection");
 | 
				
			||||||
      if(m == mdPerspective) return XLAT("simple model: perspective");
 | 
					      if(m == mdPerspective) return XLAT("simple model: perspective");
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user