]> git.localhorst.tv Git - blank.git/blob - src/shared/WorldResources.hpp
new gcc version
[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 snd_index;
23         ResourceIndex tex_index;
24
25
26         WorldResources();
27
28         void Load(const AssetLoader &, const std::string &set);
29
30 };
31
32 }
33
34 #endif