| 240 | } |
| 241 | |
| 242 | static bool is_wall(const df::coord &pos) { |
| 243 | df::tiletype *tt = Maps::getTileType(pos); |
| 244 | return tt && tileShape(*tt) == df::tiletype_shape::WALL; |
| 245 | } |
| 246 | |
| 247 | static bool is_rough_wall(int16_t x, int16_t y, int16_t z) { |
| 248 | df::tiletype *tt = Maps::getTileType(x, y, z); |
no test coverage detected