X-Git-Url: http://git.localhorst.tv/?a=blobdiff_plain;f=src%2Fstandalone%2FMasterState.hpp;h=84c331523e43a4602a52a07d4eed6cdd7bbd22a1;hb=5178dd1e226d45db7ae61e3d7d6866dc4254d9ae;hp=823e7f3a67ed781f1c274e5f598c004839bb8966;hpb=78a290bd642c5578c9dd17481c8164ff50889ca2;p=blank.git diff --git a/src/standalone/MasterState.hpp b/src/standalone/MasterState.hpp index 823e7f3..84c3315 100644 --- a/src/standalone/MasterState.hpp +++ b/src/standalone/MasterState.hpp @@ -14,6 +14,7 @@ #include "../ui/InteractiveManipulator.hpp" #include "../ui/Interface.hpp" #include "../world/BlockTypeRegistry.hpp" +#include "../world/ChunkIndex.hpp" #include "../world/ChunkLoader.hpp" #include "../world/ChunkRenderer.hpp" #include "../world/Generator.hpp" @@ -40,6 +41,7 @@ public: const World::Config &, const WorldSave & ); + ~MasterState(); void OnEnter() override; @@ -62,6 +64,7 @@ private: BlockTypeRegistry block_types; const WorldSave &save; World world; + ChunkIndex &spawn_index; Player &player; HUD hud; InteractiveManipulator manip;