X-Git-Url: https://git.jsancho.org/?a=blobdiff_plain;f=Source%2FModels.h;h=3874e233003710e5122983fe42234c9f60001cbf;hb=1ca24d82b20cbd006045356b354fff56c63e4037;hp=a861acde1d29ce63c8f74c706255fdaea25b1c49;hpb=2a9d19feea3589e45e3f6aa4e7b6052732b35f3f;p=lugaru.git diff --git a/Source/Models.h b/Source/Models.h index a861acd..3874e23 100644 --- a/Source/Models.h +++ b/Source/Models.h @@ -1,5 +1,6 @@ /* Copyright (C) 2003, 2010 - Wolfire Games +Copyright (C) 2010-2016 - Lugaru contributors (see AUTHORS file) This file is part of Lugaru. @@ -126,10 +127,10 @@ public: void UpdateVertexArray(); void UpdateVertexArrayNoTex(); void UpdateVertexArrayNoTexNoNorm(); - bool loadnotex(const char *filename); - bool loadraw(char *filename); - bool load(const char *filename, bool texture); - bool loaddecal(const char *filename, bool texture); + bool loadnotex(const std::string& filename); + bool loadraw(const std::string& filename); + bool load(const std::string& filename, bool texture); + bool loaddecal(const std::string& filename, bool texture); void Scale(float xscale, float yscale, float zscale); void FlipTexCoords(); void UniformTexCoords();