diff options
Diffstat (limited to 'game/server/world')
| -rw-r--r-- | game/server/world/overworld.hh | 1 | ||||
| -rw-r--r-- | game/server/world/universe.cc | 6 | ||||
| -rw-r--r-- | game/server/world/unloader.cc | 1 |
3 files changed, 6 insertions, 2 deletions
diff --git a/game/server/world/overworld.hh b/game/server/world/overworld.hh index 3da0401..cc6be91 100644 --- a/game/server/world/overworld.hh +++ b/game/server/world/overworld.hh @@ -3,6 +3,7 @@ #pragma once #include "core/config/number.hh" + #include "core/io/config_map.hh" #include "shared/world/dimension.hh" diff --git a/game/server/world/universe.cc b/game/server/world/universe.cc index fe840da..278d0a9 100644 --- a/game/server/world/universe.cc +++ b/game/server/world/universe.cc @@ -4,8 +4,10 @@ #include "core/config/number.hh" #include "core/config/string.hh" + #include "core/io/buffer.hh" #include "core/io/config_map.hh" + #include "core/utils/epoch.hh" #include "shared/world/chunk.hh" @@ -73,8 +75,8 @@ static void add_new_dimension(world::Dimension* dimension) dimension->init_late(universe_config_seed.get_value()); } -static void internal_save_chunk( - const DimensionMetadata* metadata, const world::Dimension* dimension, const chunk_pos& cpos, const world::Chunk* chunk) +static void internal_save_chunk(const DimensionMetadata* metadata, const world::Dimension* dimension, const chunk_pos& cpos, + const world::Chunk* chunk) { auto path = make_chunk_filename(metadata, cpos); diff --git a/game/server/world/unloader.cc b/game/server/world/unloader.cc index 3600ea2..4a3f4e1 100644 --- a/game/server/world/unloader.cc +++ b/game/server/world/unloader.cc @@ -6,6 +6,7 @@ #include "shared/entity/player.hh" #include "shared/entity/transform.hh" + #include "shared/world/chunk.hh" #include "shared/world/chunk_aabb.hh" #include "shared/world/dimension.hh" |
