mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-10-21 00:47:40 +00:00
hybrid:: refactored the common parts of prod and sl2, also used them when applicable
This commit is contained in:
1
hyper.h
1
hyper.h
@@ -127,6 +127,7 @@ void addMessage(string s, char spamtype = 0);
|
||||
#define nil (cgclass == gcNil)
|
||||
#define sl2 (cgclass == gcSL2)
|
||||
#define prod (cgclass == gcProduct)
|
||||
#define hybri (prod || sl2)
|
||||
#define hyperbolic (cgclass == gcHyperbolic)
|
||||
#define nonisotropic (sol || nil || sl2)
|
||||
#define translatable (euclid || nonisotropic)
|
||||
|
Reference in New Issue
Block a user