| 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); |
| 249 | if (!tt) |
| 250 | return false; |
| 251 | |
| 252 | return tileShape(*tt) == df::tiletype_shape::WALL && |
| 253 | tileSpecial(*tt) != df::tiletype_special::SMOOTH; |
| 254 | } |
| 255 | |
| 256 | static bool is_smooth_wall(const df::coord &pos) { |
| 257 | df::tiletype *tt = Maps::getTileType(pos); |
no test coverage detected