/** Convenience function to read the coarse map height. */ inline chunk_height coarse_height(world& w, map_coordinates pos) { return w.acquire_read_access().get_coarse_height(pos); }
inline void prepare_for_player(world& w, chunk_coordinates pos) { auto proxy = w.acquire_read_access(); proxy.get_compressed_surface(pos); proxy.get_compressed_lightmap(pos); }
/** Convenience function to read a single block. */ inline uint16_t get_block(world& w, world_coordinates pos) { return w.acquire_read_access().get_block(pos); }