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
16
geom-exp.cpp
16
geom-exp.cpp
@ -519,17 +519,23 @@ EX string geometry_name() {
|
|||||||
case gcHyperbolic:
|
case gcHyperbolic:
|
||||||
return XLAT("hyperbolic");
|
return XLAT("hyperbolic");
|
||||||
|
|
||||||
case gcNIH:
|
|
||||||
return XLAT("nonisotropic hyperbolic");
|
|
||||||
|
|
||||||
case gcEuclid:
|
case gcEuclid:
|
||||||
return XLAT("flat");
|
return XLAT("flat");
|
||||||
|
|
||||||
case gcSphere:
|
case gcSphere:
|
||||||
return XLAT("spherical");
|
return XLAT("spherical");
|
||||||
|
|
||||||
case gcSol:
|
case gcSolNIH:
|
||||||
return XLAT("Sol");
|
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:
|
case gcNil:
|
||||||
return XLAT("Nil");
|
return XLAT("Nil");
|
||||||
|
Loading…
Reference in New Issue
Block a user