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:
3
fake.cpp
3
fake.cpp
@@ -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;
|
||||
|
Reference in New Issue
Block a user