]> git.localhorst.tv Git - blobs.git/blobdiff - src/app/Assets.hpp
some texture
[blobs.git] / src / app / Assets.hpp
index c80726a07c05adbd50058e6a41d6eea65e18cca9..b95ee48ea4f75a615cbee85d93a83e5ace754f3a 100644 (file)
@@ -5,12 +5,17 @@
 #include "../graphics/PlanetSurface.hpp"
 #include "../graphics/SunSurface.hpp"
 
+#include <string>
+
 
 namespace blobs {
 namespace app {
 
 struct Assets {
 
+       std::string path;
+       std::string tile_path;
+
        struct {
                graphics::ArrayTexture tiles;
        } textures;
@@ -29,6 +34,8 @@ struct Assets {
        Assets(Assets &&) = delete;
        Assets &operator =(Assets &&) = delete;
 
+       void LoadTileTexture(const std::string &name, graphics::ArrayTexture &, int layer) const;
+
 };
 
 }