mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-11-23 21:07:17 +00:00
fixed geometry_name() for NIH
This commit is contained in:
parent
f56c3b79f2
commit
f94a262d71
14
geom-exp.cpp
14
geom-exp.cpp
@ -519,17 +519,23 @@ EX string geometry_name() {
|
||||
case gcHyperbolic:
|
||||
return XLAT("hyperbolic");
|
||||
|
||||
case gcNIH:
|
||||
return XLAT("nonisotropic hyperbolic");
|
||||
|
||||
case gcEuclid:
|
||||
return XLAT("flat");
|
||||
|
||||
case gcSphere:
|
||||
return XLAT("spherical");
|
||||
|
||||
case gcSol:
|
||||
case gcSolNIH:
|
||||
switch(geometry) {
|
||||
case gSol:
|
||||
return XLAT("Sol");
|
||||
case gNIH:
|
||||
return XLAT("hyperbolic (3:2)");
|
||||
case gSolN:
|
||||
return XLAT("Sol (3:2)");
|
||||
default:
|
||||
return "unknown";
|
||||
}
|
||||
|
||||
case gcNil:
|
||||
return XLAT("Nil");
|
||||
|
Loading…
Reference in New Issue
Block a user