| 233 | // |
| 234 | |
| 235 | static bool is_warm(const df::coord &pos) { |
| 236 | auto block = Maps::getTileBlock(pos); |
| 237 | if (!block) |
| 238 | return false; |
| 239 | return block->temperature_1[pos.x&15][pos.y&15] >= 10075; |
| 240 | } |
| 241 | |
| 242 | static bool is_wall(const df::coord &pos) { |
| 243 | df::tiletype *tt = Maps::getTileType(pos); |
no test coverage detected