]> 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 e22f9b1e3c3f58a3825fa48a973f21e6f764fc58..b62cf0904224f767730bf6cd33f5156c1d7e50f8 100644 (file)
@@ -5,9 +5,9 @@
 #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/ChunkIndex.hpp"
 #include "../world/ChunkLoader.hpp"
 #include "../world/Generator.hpp"
 #include "../world/World.hpp"
@@ -40,12 +40,12 @@ public:
 
 private:
        HeadlessEnvironment &env;
+       ShapeRegistry shapes;
        BlockTypeRegistry block_types;
+       ModelRegistry models;
        World world;
-       ChunkIndex &spawn_index;
        Generator generator;
        ChunkLoader chunk_loader;
-       Skeletons skeletons;
        Spawner spawner;
        Server server;
        IntervalTimer loop_timer;