X-Git-Url: http://git.localhorst.tv/?a=blobdiff_plain;f=src%2Fmodel%2Fmodel.cpp;h=55050e0b72d856ce57894787705c0630cbc981a3;hb=4da2ae6f12d7cf4594edb2d560c5c112e9bcd094;hp=63187b863033569af1da8f1e446ac3ec54607d69;hpb=7e782291e0ce39eb2d4e8c1df28f682c313e6f8d;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;