X-Git-Url: http://git.localhorst.tv/?a=blobdiff_plain;f=src%2Fapp%2FAssets.hpp;h=0512f7e5642c3f67c85a6a92b56d11ea233648df;hb=c475ecb15fb2222977cf64ca7bdbea0f303a4192;hp=3cfc1334371f7e2e491d3053113c6c0dd672a396;hpb=5e82e61db8b9ed5b9a30c9706620b62b844ac734;p=blobs.git diff --git a/src/app/Assets.hpp b/src/app/Assets.hpp index 3cfc133..0512f7e 100644 --- a/src/app/Assets.hpp +++ b/src/app/Assets.hpp @@ -1,10 +1,15 @@ #ifndef BLOBS_APP_ASSETS_HPP_ #define BLOBS_APP_ASSETS_HPP_ +#include "../creature/NameGenerator.hpp" +#include "../graphics/AlphaSprite.hpp" #include "../graphics/ArrayTexture.hpp" +#include "../graphics/Canvas.hpp" #include "../graphics/CreatureSkin.hpp" +#include "../graphics/Font.hpp" #include "../graphics/PlanetSurface.hpp" #include "../graphics/SunSurface.hpp" +#include "../math/GaloisLFSR.hpp" #include "../world/Resource.hpp" #include "../world/Set.hpp" #include "../world/TileType.hpp" @@ -22,20 +27,33 @@ struct Assets { std::string path; std::string data_path; + std::string font_path; std::string skin_path; std::string tile_path; + math::GaloisLFSR random; + + creature::NameGenerator name; + struct { world::Set resources; - world::Set tiles; + world::Set tile_types; } data; + struct { + graphics::Font large; + graphics::Font medium; + graphics::Font small; + } fonts; + struct { graphics::ArrayTexture tiles; graphics::ArrayTexture skins; } textures; struct { + graphics::AlphaSprite alpha_sprite; + graphics::Canvas canvas; graphics::PlanetSurface planet_surface; graphics::SunSurface sun_surface; graphics::CreatureSkin creature_skin;