]> git.localhorst.tv Git - blank.git/blobdiff - src/shared/WorldResources.hpp
lil cleanup of common and unused stuff
[blank.git] / src / shared / WorldResources.hpp
diff --git a/src/shared/WorldResources.hpp b/src/shared/WorldResources.hpp
new file mode 100644 (file)
index 0000000..d92101d
--- /dev/null
@@ -0,0 +1,33 @@
+#ifndef BLANK_SHARED_WORLDRESOURCES_HPP_
+#define BLANK_SHARED_WORLDRESOURCES_HPP_
+
+#include "ResourceIndex.hpp"
+#include "../model/ModelRegistry.hpp"
+#include "../model/ShapeRegistry.hpp"
+#include "../world/BlockTypeRegistry.hpp"
+
+#include <string>
+
+
+namespace blank {
+
+class AssetLoader;
+
+struct WorldResources {
+
+       ShapeRegistry shapes;
+       BlockTypeRegistry block_types;
+       ModelRegistry models;
+
+       ResourceIndex tex_index;
+
+
+       WorldResources();
+
+       void Load(const AssetLoader &, const std::string &set);
+
+};
+
+}
+
+#endif