mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-10 05:21:49 +00:00
rename ChunksStorage to GlobalChunks
This commit is contained in:
parent
323acb2573
commit
e713412a6d
11 changed files with 27 additions and 27 deletions
|
|
@ -13,7 +13,7 @@
|
|||
#include "settings.hpp"
|
||||
#include "voxels/Chunk.hpp"
|
||||
#include "voxels/Chunks.hpp"
|
||||
#include "voxels/ChunksStorage.hpp"
|
||||
#include "voxels/GlobalChunks.hpp"
|
||||
#include "window/Camera.hpp"
|
||||
#include "LevelEvents.hpp"
|
||||
#include "World.hpp"
|
||||
|
|
@ -25,7 +25,7 @@ Level::Level(
|
|||
)
|
||||
: world(std::move(worldPtr)),
|
||||
content(content),
|
||||
chunksStorage(std::make_unique<ChunksStorage>(this)),
|
||||
chunksStorage(std::make_unique<GlobalChunks>(this)),
|
||||
physics(std::make_unique<PhysicsSolver>(glm::vec3(0, -22.6f, 0))),
|
||||
events(std::make_unique<LevelEvents>()),
|
||||
entities(std::make_unique<Entities>(this)),
|
||||
|
|
|
|||
|
|
@ -15,7 +15,7 @@ class Inventories;
|
|||
class LevelEvents;
|
||||
class Lighting;
|
||||
class PhysicsSolver;
|
||||
class ChunksStorage;
|
||||
class GlobalChunks;
|
||||
class Camera;
|
||||
class Players;
|
||||
struct EngineSettings;
|
||||
|
|
@ -27,7 +27,7 @@ public:
|
|||
const Content* const content;
|
||||
|
||||
std::unique_ptr<Chunks> chunks;
|
||||
std::unique_ptr<ChunksStorage> chunksStorage;
|
||||
std::unique_ptr<GlobalChunks> chunksStorage;
|
||||
std::unique_ptr<Inventories> inventories;
|
||||
|
||||
std::unique_ptr<PhysicsSolver> physics;
|
||||
|
|
|
|||
|
|
@ -15,7 +15,7 @@
|
|||
#include "settings.hpp"
|
||||
#include "voxels/Chunk.hpp"
|
||||
#include "voxels/Chunks.hpp"
|
||||
#include "voxels/ChunksStorage.hpp"
|
||||
#include "voxels/GlobalChunks.hpp"
|
||||
#include "world/generator/WorldGenerator.hpp"
|
||||
#include "world/generator/GeneratorDef.hpp"
|
||||
#include "Level.hpp"
|
||||
|
|
|
|||
|
|
@ -8,7 +8,7 @@
|
|||
#include "content/Content.hpp"
|
||||
#include "voxels/Chunks.hpp"
|
||||
#include "voxels/Block.hpp"
|
||||
#include "voxels/ChunksStorage.hpp"
|
||||
#include "voxels/GlobalChunks.hpp"
|
||||
#include "voxels/VoxelsVolume.hpp"
|
||||
#include "world/Level.hpp"
|
||||
#include "core_defs.hpp"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue