X-Git-Url: http://git.localhorst.tv/?a=blobdiff_plain;f=src%2Fserver%2FServerState.hpp;h=fbf28e5768f71c7003fa5436b2e6aa48a0da9892;hb=660c4216fc61c0d99987adbfea057af07b511a23;hp=b62cf0904224f767730bf6cd33f5156c1d7e50f8;hpb=7e782291e0ce39eb2d4e8c1df28f682c313e6f8d;p=blank.git diff --git a/src/server/ServerState.hpp b/src/server/ServerState.hpp index b62cf09..fbf28e5 100644 --- a/src/server/ServerState.hpp +++ b/src/server/ServerState.hpp @@ -5,9 +5,7 @@ #include "../ai/Spawner.hpp" #include "../app/IntervalTimer.hpp" #include "../app/State.hpp" -#include "../model/ModelRegistry.hpp" -#include "../model/ShapeRegistry.hpp" -#include "../world/BlockTypeRegistry.hpp" +#include "../shared/WorldResources.hpp" #include "../world/ChunkLoader.hpp" #include "../world/Generator.hpp" #include "../world/World.hpp" @@ -40,9 +38,7 @@ public: private: HeadlessEnvironment &env; - ShapeRegistry shapes; - BlockTypeRegistry block_types; - ModelRegistry models; + WorldResources res; World world; Generator generator; ChunkLoader chunk_loader;