summaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2024-01-13 05:56:15 +0100
committerStanislaw Halik <sthalik@misaki.pl>2024-01-13 05:56:15 +0100
commitbb74b8af011cbbdec733c1d1207083ce2b615430 (patch)
tree86c8ba609723067e5a9e82a78834bec4624569b7 /src
parentcbf13666d2db374f1564441b1f68371ac69cf096 (diff)
w
Diffstat (limited to 'src')
-rw-r--r--src/world.hpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/world.hpp b/src/world.hpp
index bb1e1204..55331f49 100644
--- a/src/world.hpp
+++ b/src/world.hpp
@@ -15,11 +15,13 @@ template<typename T> struct object_type_;
class world final
{
+public:
static constexpr object_id object_counter_init = 1024;
static constexpr size_t initial_capacity = 4096;
static constexpr float max_load_factor = .25;
static constexpr size_t initial_collect_every = 64;
+private:
struct chunk_tuple final {
static constexpr chunk_coords_ invalid_coords = { -1 << 15, -1 << 15, chunk_z_min };
chunk* c = nullptr;