]> git.localhorst.tv Git - blank.git/blobdiff - src/server/ServerState.hpp
invalidate meshes if surrounding chunks on insert
[blank.git] / src / server / ServerState.hpp
index 3a4851470edb8a1cecf555e52048a4a971fcd45d..b62cf0904224f767730bf6cd33f5156c1d7e50f8 100644 (file)
@@ -5,7 +5,8 @@
 #include "../ai/Spawner.hpp"
 #include "../app/IntervalTimer.hpp"
 #include "../app/State.hpp"
-#include "../model/Skeletons.hpp"
+#include "../model/ModelRegistry.hpp"
+#include "../model/ShapeRegistry.hpp"
 #include "../world/BlockTypeRegistry.hpp"
 #include "../world/ChunkLoader.hpp"
 #include "../world/Generator.hpp"
@@ -39,11 +40,12 @@ public:
 
 private:
        HeadlessEnvironment &env;
+       ShapeRegistry shapes;
        BlockTypeRegistry block_types;
+       ModelRegistry models;
        World world;
        Generator generator;
        ChunkLoader chunk_loader;
-       Skeletons skeletons;
        Spawner spawner;
        Server server;
        IntervalTimer loop_timer;