]> git.localhorst.tv Git - blank.git/blobdiff - src/app/Assets.hpp
the sound thing
[blank.git] / src / app / Assets.hpp
index 4953ddbfcfd75fee41844cdad681b20496d1e0a4..65c72fe04d73ad30a1fcf9d215244ad3dfe4ec66 100644 (file)
@@ -1,25 +1,41 @@
 #ifndef BLANK_APP_ASSETS_HPP_
 #define BLANK_APP_ASSETS_HPP_
 
+#include "../graphics/Font.hpp"
+
 #include <string>
 
 
 namespace blank {
 
-class Font;
+class ArrayTexture;
+class BlockTypeRegistry;
 class Sound;
+class Texture;
+class TextureIndex;
 
 class Assets {
 
 public:
        explicit Assets(const std::string &base);
 
+       void LoadBlockTypes(const std::string &set_name, BlockTypeRegistry &, TextureIndex &) const;
        Font LoadFont(const std::string &name, int size) const;
        Sound LoadSound(const std::string &name) const;
+       Texture LoadTexture(const std::string &name) const;
+       void LoadTexture(const std::string &name, ArrayTexture &, int layer) const;
+       void LoadTextures(const TextureIndex &, ArrayTexture &) const;
 
 private:
        std::string fonts;
        std::string sounds;
+       std::string textures;
+       std::string data;
+
+public:
+       // common assets shared by may states
+       Font large_ui_font;
+       Font small_ui_font;
 
 };