mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-09-19 10:19:36 +00:00
fixup to rename to twist
This commit is contained in:
parent
4c3a348666
commit
57759e95bc
4
hyper.h
4
hyper.h
@ -148,7 +148,7 @@ void addMessage(string s, char spamtype = 0);
|
|||||||
#define nih (among(cgclass, gcNIH, gcSolN))
|
#define nih (among(cgclass, gcNIH, gcSolN))
|
||||||
#define nil (cgclass == gcNil)
|
#define nil (cgclass == gcNil)
|
||||||
#define sl2 (cgclass == gcSL2)
|
#define sl2 (cgclass == gcSL2)
|
||||||
#define rotspace (geometry == gRotSpace)
|
#define gtwisted (geometry == gTwistedProduct)
|
||||||
#define hyperbolic (cgclass == gcHyperbolic)
|
#define hyperbolic (cgclass == gcHyperbolic)
|
||||||
#define nonisotropic (among(cgclass, gcSol, gcSolN, gcNIH, gcSL2, gcNil))
|
#define nonisotropic (among(cgclass, gcSol, gcSolN, gcNIH, gcSL2, gcNil))
|
||||||
#define translatable (euclid || nonisotropic)
|
#define translatable (euclid || nonisotropic)
|
||||||
@ -167,6 +167,8 @@ void addMessage(string s, char spamtype = 0);
|
|||||||
#define embedded_plane (WDIM == 2 && GDIM == 3)
|
#define embedded_plane (WDIM == 2 && GDIM == 3)
|
||||||
/** the actual map is product, not just the graphics */
|
/** the actual map is product, not just the graphics */
|
||||||
#define mproduct (gproduct && !embedded_plane)
|
#define mproduct (gproduct && !embedded_plane)
|
||||||
|
/** the actual map is twisted, not just the graphics */
|
||||||
|
#define mtwisted (gtwisted && !embedded_plane)
|
||||||
/** the actual map is product, not just the graphics */
|
/** the actual map is product, not just the graphics */
|
||||||
#define meuclid (geom3::mgclass() == gcEuclid)
|
#define meuclid (geom3::mgclass() == gcEuclid)
|
||||||
#define msphere (geom3::mgclass() == gcSphere)
|
#define msphere (geom3::mgclass() == gcSphere)
|
||||||
|
@ -3047,12 +3047,12 @@ EX namespace nisot {
|
|||||||
#endif
|
#endif
|
||||||
if(mproduct) return new product::hrmap_product;
|
if(mproduct) return new product::hrmap_product;
|
||||||
#if MAXMDIM >= 4
|
#if MAXMDIM >= 4
|
||||||
if(nil) return new nilv::hrmap_nil;
|
|
||||||
if(mhybrid) return new rots::hrmap_rotation_space;
|
if(mhybrid) return new rots::hrmap_rotation_space;
|
||||||
|
if(nil) return new nilv::hrmap_nil;
|
||||||
#endif
|
#endif
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
#if CAP_COMMANDLINE
|
#if CAP_COMMANDLINE
|
||||||
auto config = addHook(hooks_args, 0, [] () {
|
auto config = addHook(hooks_args, 0, [] () {
|
||||||
using namespace arg;
|
using namespace arg;
|
||||||
|
Loading…
Reference in New Issue
Block a user