1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-10-21 00:47:40 +00:00

dual tilings

This commit is contained in:
Zeno Rogue
2018-08-30 02:11:43 +02:00
parent d95fc4b8d4
commit 829850a701
12 changed files with 119 additions and 45 deletions

View File

@@ -137,6 +137,7 @@ void addMessage(string s, char spamtype = 0);
#define IRREGULAR (variation == eVariation::irregular)
#define PURE (variation == eVariation::pure)
#define BITRUNCATED (variation == eVariation::bitruncated)
#define DUAL (variation == eVariation::dual)
#define CHANGED_VARIATION (variation != ginf[geometry].default_variation)
@@ -530,7 +531,9 @@ struct cell : gcell {
// do not add any fields after connection_table (see tailored_alloc)
};
int heptagon::degree() { if(archimedean) return c7->type; else return S7; }
namespace arcm { int degree(heptagon *h); }
int heptagon::degree() { if(archimedean) return arcm::degree(this); else return S7; }
typedef walker<heptagon> heptspin;
typedef walker<cell> cellwalker;