1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2026-01-02 18:29:03 +00:00

used enum for geometry classes; moved from hyper.h to init.cpp

This commit is contained in:
Zeno Rogue
2017-12-27 11:57:30 +01:00
parent 540f0678ee
commit dbcd71cb45
4 changed files with 28 additions and 24 deletions

View File

@@ -1607,19 +1607,19 @@ vector<eLand> randlands = {
};
geometryinfo ginf[gGUARD] = {
{"standard", "HR", 7, 3, 0, 0, {{7, 5}}},
{"Euclidean", "euclid", 6, 3, 0, 1, {{7, FORBIDDEN}}},
{"spherical", "sphere", 5, 3, 0, 2, {{SEE_ALL, SEE_ALL}}},
{"elliptic", "elliptic", 5, 3, qELLIP, 2, {{SEE_ALL, SEE_ALL}}},
{"Zebra quotient", "Zebra", 7, 3, qZEBRA, 0, {{7, 5}}},
{"field quotient", "field", 7, 3, qFIELD, 0, {{7, 5}}},
{"torus", "torus", 6, 3, qTORUS, 1, {{7, FORBIDDEN}}},
{"octagons", "oct", 8, 3, 0, 0, {{6, 4}}},
{"four pentagons", "4x5", 5, 4, 0, 0, {{6, 4}}},
{"four hexagons", "4x6", 6, 4, 0, 0, {{5, 3}}},
{"four heptagons", "4x7", 7, 4, 0, 0, {{4, 3}}},
{"cube", "3x4", 4, 3, 0, 2, {{SEE_ALL, SEE_ALL}}},
{"tetrahedron (buggy)", "3x3", 3, 3, 0, 2, {{SEE_ALL, SEE_ALL}}},
{"square grid", "4x4", 4, 4, 0, 1, {{7, 7}}}
{"standard", "HR", 7, 3, 0, gcHyperbolic, {{7, 5}}},
{"Euclidean", "euclid", 6, 3, 0, gcEuclid, {{7, FORBIDDEN}}},
{"spherical", "sphere", 5, 3, 0, gcSphere, {{SEE_ALL, SEE_ALL}}},
{"elliptic", "elliptic", 5, 3, qELLIP, gcSphere, {{SEE_ALL, SEE_ALL}}},
{"Zebra quotient", "Zebra", 7, 3, qZEBRA, gcHyperbolic, {{7, 5}}},
{"field quotient", "field", 7, 3, qFIELD, gcHyperbolic, {{7, 5}}},
{"torus", "torus", 6, 3, qTORUS, gcEuclid, {{7, FORBIDDEN}}},
{"octagons", "oct", 8, 3, 0, gcHyperbolic, {{6, 4}}},
{"four pentagons", "4x5", 5, 4, 0, gcHyperbolic, {{6, 4}}},
{"four hexagons", "4x6", 6, 4, 0, gcHyperbolic, {{5, 3}}},
{"four heptagons", "4x7", 7, 4, 0, gcHyperbolic, {{4, 3}}},
{"cube", "3x4", 4, 3, 0, gcSphere, {{SEE_ALL, SEE_ALL}}},
{"tetrahedron (buggy)", "3x3", 3, 3, 0, gcSphere, {{SEE_ALL, SEE_ALL}}},
{"square grid", "4x4", 4, 4, 0, gcEuclid, {{7, 7}}}
};