]> git.localhorst.tv Git - blobs.git/blobdiff - src/app/Assets.hpp
randomize creature properties a bit
[blobs.git] / src / app / Assets.hpp
index d4ab683f8d8bacb8df9be2dd0ba5ce28172dba37..5f971c689ddba201d7cbc700a6b1c1e79c975692 100644 (file)
@@ -3,11 +3,12 @@
 
 #include "../graphics/AlphaSprite.hpp"
 #include "../graphics/ArrayTexture.hpp"
+#include "../graphics/Canvas.hpp"
 #include "../graphics/CreatureSkin.hpp"
 #include "../graphics/Font.hpp"
-#include "../graphics/PlainColor.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"
@@ -29,9 +30,11 @@ struct Assets {
        std::string skin_path;
        std::string tile_path;
 
+       math::GaloisLFSR random;
+
        struct {
                world::Set<world::Resource> resources;
-               world::Set<world::TileType> tiles;
+               world::Set<world::TileType> tile_types;
        } data;
 
        struct {
@@ -47,7 +50,7 @@ struct Assets {
 
        struct {
                graphics::AlphaSprite alpha_sprite;
-               graphics::PlainColor plain_color;
+               graphics::Canvas canvas;
                graphics::PlanetSurface planet_surface;
                graphics::SunSurface sun_surface;
                graphics::CreatureSkin creature_skin;