X-Git-Url: https://git.localhorst.tv/?a=blobdiff_plain;f=src%2Fapp%2FAssets.hpp;h=4ea7f57458f1f8c2435114eb561f40688c364bbc;hb=fec78f7f01a03f10f8ff75c9b87929bf8c2d61e4;hp=b95ee48ea4f75a615cbee85d93a83e5ace754f3a;hpb=ed63638006af93bf0cf010ed48706b893ac0da35;p=blobs.git diff --git a/src/app/Assets.hpp b/src/app/Assets.hpp index b95ee48..4ea7f57 100644 --- a/src/app/Assets.hpp +++ b/src/app/Assets.hpp @@ -2,6 +2,7 @@ #define BLOBS_APP_ASSETS_HPP_ #include "../graphics/ArrayTexture.hpp" +#include "../graphics/CreatureSkin.hpp" #include "../graphics/PlanetSurface.hpp" #include "../graphics/SunSurface.hpp" @@ -15,14 +16,17 @@ struct Assets { std::string path; std::string tile_path; + std::string skin_path; struct { graphics::ArrayTexture tiles; + graphics::ArrayTexture skins; } textures; struct { graphics::PlanetSurface planet_surface; graphics::SunSurface sun_surface; + graphics::CreatureSkin creature_skin; } shaders; Assets(); @@ -35,6 +39,7 @@ struct Assets { Assets &operator =(Assets &&) = delete; void LoadTileTexture(const std::string &name, graphics::ArrayTexture &, int layer) const; + void LoadSkinTexture(const std::string &name, graphics::ArrayTexture &, int layer) const; };