]> git.localhorst.tv Git - blank.git/blobdiff - src/model/Part.hpp
lil cleanup of common and unused stuff
[blank.git] / src / model / Part.hpp
index f71efc5425a1580a992ba1b857e38e8ef9797a44..3e3b57080316942b8c60622614b4cda9f64e80e9 100644 (file)
@@ -17,9 +17,9 @@ class DirectionalLighting;
 class EntityMesh;
 class Instance;
 class Model;
+class ResourceIndex;
 class Shape;
 class ShapeRegistry;
-class TextureIndex;
 class TokenStreamReader;
 
 struct Part {
@@ -33,7 +33,7 @@ public:
        Part();
        ~Part();
 
-       void Read(TokenStreamReader &, TextureIndex &, const ShapeRegistry &);
+       void Read(TokenStreamReader &, ResourceIndex &, const ShapeRegistry &);
 
        Part &AddChild();
        const std::list<Part> &Children() const noexcept { return children; }