]> git.localhorst.tv Git - blobs.git/blobdiff - src/app/Assets.hpp
read (basic) tile information from file
[blobs.git] / src / app / Assets.hpp
index 05a45ac82abe211a9425b4fa7aa0bf5e194c29f6..68606cb62e070b4956c7e440b8a5c13d9166a6e5 100644 (file)
 
 
 namespace blobs {
+namespace io {
+       class TokenStreamReader;
+}
 namespace app {
 
 struct Assets {
 
        std::string path;
-       std::string tile_path;
+       std::string data_path;
        std::string skin_path;
+       std::string tile_path;
 
        struct {
                world::Set<world::Resource> resources;
@@ -46,6 +50,8 @@ struct Assets {
        Assets(Assets &&) = delete;
        Assets &operator =(Assets &&) = delete;
 
+       void ReadTileTypes(io::TokenStreamReader &);
+
        void LoadTileTexture(const std::string &name, graphics::ArrayTexture &, int layer) const;
        void LoadSkinTexture(const std::string &name, graphics::ArrayTexture &, int layer) const;