class ArrayTexture;
class BlockTypeRegistry;
class CubeMap;
+class ModelRegistry;
+class ShapeRegistry;
class Sound;
class Texture;
class TextureIndex;
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 LoadModels(
+ const std::string &set_name,
+ ModelRegistry &,
+ TextureIndex &,
+ const ShapeRegistry &) 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;