X-Git-Url: http://git.localhorst.tv/?a=blobdiff_plain;f=src%2Fapp%2FAssets.hpp;h=941fa1ba51966f9b45617adf44dabe9437707a84;hb=ba55bf4293f3abc742eef710545a4b207ba2c820;hp=d1a4ae710d0cc832fbcb155b2756eebcc9718cba;hpb=9ebe2c320fd9f94266ab93fa2f9d9908a0a284d3;p=blank.git diff --git a/src/app/Assets.hpp b/src/app/Assets.hpp index d1a4ae7..941fa1b 100644 --- a/src/app/Assets.hpp +++ b/src/app/Assets.hpp @@ -10,6 +10,8 @@ namespace blank { class ArrayTexture; class BlockTypeRegistry; +class CubeMap; +class ShapeRegistry; class Sound; class Texture; class TextureIndex; @@ -19,8 +21,14 @@ class AssetLoader { public: explicit AssetLoader(const std::string &base); - void LoadBlockTypes(const std::string &set_name, BlockTypeRegistry &, TextureIndex &) const; + void LoadBlockTypes( + const std::string &set_name, + BlockTypeRegistry &, + TextureIndex &, + const ShapeRegistry &) const; + CubeMap LoadCubeMap(const std::string &name) const; Font LoadFont(const std::string &name, int size) const; + void LoadShapes(const std::string &set_name, ShapeRegistry &) 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;