1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-08-29 16:57:56 +00:00

fake::split() = fake::in() or arb::in_slided() is used when both are applicable for a condition

This commit is contained in:
Zeno Rogue
2020-06-03 11:43:35 +02:00
parent ab379435d4
commit 0ae3ab3c9b
4 changed files with 14 additions and 9 deletions

View File

@@ -21,6 +21,9 @@ EX namespace fake {
EX bool in() { return geometry == gFake; }
/** like in() but takes slided arb into account */
EX bool split() { return in() || arb::in_slided(); }
EX bool available() {
if(in()) return true;
if(GDIM == 2 && standard_tiling() && (PURE || BITRUNCATED)) return true;