| 62 | } |
| 63 | |
| 64 | df::tile_occupancy * occ(int32_t x, int32_t y, int32_t z) { |
| 65 | size_t off = get_offset(x, y, z); |
| 66 | if (off < size) |
| 67 | return &occ_buf[off]; |
| 68 | return nullptr; |
| 69 | } |
| 70 | df::tile_occupancy * occ(const df::coord & pos) { |
| 71 | return occ(pos.x, pos.y, pos.z); |
| 72 | } |
no outgoing calls
no test coverage detected