]> git.localhorst.tv Git - blank.git/blob - src/shared/WorldResources.hpp
d92101d2479f5b8975efa803e07332a8beee5c05
[blank.git] / src / shared / WorldResources.hpp
1 #ifndef BLANK_SHARED_WORLDRESOURCES_HPP_
2 #define BLANK_SHARED_WORLDRESOURCES_HPP_
3
4 #include "ResourceIndex.hpp"
5 #include "../model/ModelRegistry.hpp"
6 #include "../model/ShapeRegistry.hpp"
7 #include "../world/BlockTypeRegistry.hpp"
8
9 #include <string>
10
11
12 namespace blank {
13
14 class AssetLoader;
15
16 struct WorldResources {
17
18         ShapeRegistry shapes;
19         BlockTypeRegistry block_types;
20         ModelRegistry models;
21
22         ResourceIndex tex_index;
23
24
25         WorldResources();
26
27         void Load(const AssetLoader &, const std::string &set);
28
29 };
30
31 }
32
33 #endif