X-Git-Url: http://git.localhorst.tv/?a=blobdiff_plain;f=src%2Fmodel%2Fmodel.cpp;fp=src%2Fmodel%2Fmodel.cpp;h=55050e0b72d856ce57894787705c0630cbc981a3;hb=9c5308ba4108bd842af6d9d2e893ea575a7e6ca8;hp=63187b863033569af1da8f1e446ac3ec54607d69;hpb=4e3afb4c7631591b80cb7740a9b6f46da69b7ae4;p=blank.git diff --git a/src/model/model.cpp b/src/model/model.cpp index 63187b8..55050e0 100644 --- a/src/model/model.cpp +++ b/src/model/model.cpp @@ -5,10 +5,10 @@ #include "Shape.hpp" #include "ShapeRegistry.hpp" -#include "../app/TextureIndex.hpp" #include "../io/TokenStreamReader.hpp" #include "../graphics/DirectionalLighting.hpp" #include "../graphics/EntityMesh.hpp" +#include "../shared/ResourceIndex.hpp" #include #include @@ -101,7 +101,7 @@ Part::~Part() { } -void Part::Read(TokenStreamReader &in, TextureIndex &tex_index, const ShapeRegistry &shapes) { +void Part::Read(TokenStreamReader &in, ResourceIndex &tex_index, const ShapeRegistry &shapes) { std::string name; std::string shape_name; std::string tex_name;