mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2026-01-31 23:10:16 +00:00
update to 9.4l
This commit is contained in:
@@ -1,12 +1,17 @@
|
||||
// Hyperbolic Rogue
|
||||
// Copyright (C) 2011-2012 Zeno Rogue, see 'hyper.cpp' for details
|
||||
|
||||
enum eGeometry {gNormal, gEuclid, gSphere, gElliptic, gQuotient, gQuotient2, gGUARD};
|
||||
enum eGeometry {gNormal, gEuclid, gSphere, gElliptic, gQuotient, gQuotient2, gTorus, gGUARD};
|
||||
eGeometry geometry, targetgeometry = gEuclid;
|
||||
#define euclid (geometry == gEuclid)
|
||||
#define euclid (geometry == gEuclid || geometry == gTorus)
|
||||
#define sphere (geometry == gSphere || geometry == gElliptic)
|
||||
#define elliptic (geometry == gElliptic)
|
||||
#define quotient (geometry == gQuotient ? 1 : geometry == gQuotient2 ? 2 : 0)
|
||||
#define torus (geometry == gTorus)
|
||||
#define doall (quotient || torus)
|
||||
|
||||
#define smallbounded (sphere || quotient == 1 || torus)
|
||||
|
||||
|
||||
// for the pure heptagonal grid
|
||||
bool purehepta = false;
|
||||
|
||||
Reference in New Issue
Block a user