| 72 | } |
| 73 | |
| 74 | df::building ** bld(int32_t x, int32_t y, int32_t z) { |
| 75 | size_t off = get_offset(x, y, z); |
| 76 | if (off < size) |
| 77 | return &bld_buf[off]; |
| 78 | return nullptr; |
| 79 | } |
| 80 | df::building ** bld(const df::coord & pos) { |
| 81 | return bld(pos.x, pos.y, pos.z); |
| 82 | } |
no outgoing calls
no test coverage detected