1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-12-16 11:08:05 +00:00

moved hyperpoint inlines to hyperpoint.cpp

This commit is contained in:
Zeno Rogue
2019-08-10 00:28:28 +02:00
parent 19a01caf55
commit aa1b3f3057
3 changed files with 30 additions and 28 deletions

View File

@@ -47,13 +47,13 @@ int eupattern4(cell *c) {
return (x&1) + ((y&1)) * 2;
}
bool ishept(cell *c) {
EX bool ishept(cell *c) {
// EUCLIDEAN
if(euclid) return eupattern(c) == 0;
else return c->type == S7;
}
bool ishex1(cell *c) {
EX bool ishex1(cell *c) {
// EUCLIDEAN
if(euclid) return eupattern(c) == 1;
#if CAP_GP