| 55 | // |
| 56 | |
| 57 | bool is_open(int16_t x, int16_t y, int16_t z) { |
| 58 | df::tiletype *tt = Maps::getTileType(x, y, z); |
| 59 | if (!tt) return false; |
| 60 | return ENUM_ATTR(tiletype_shape, passable_flow, tileShape(*tt)); |
| 61 | } |
| 62 | |
| 63 | bool is_leaky(int16_t x, int16_t y, int16_t z) { |
| 64 | return is_open(x, y, z-1) || |
no test coverage detected