]> git.jsancho.org Git - lugaru.git/blobdiff - Source/Models.h
Replaced as much char* as possible by std::strings
[lugaru.git] / Source / Models.h
index 8db72a25ef37688b49622a68b5e0de2214f550f6..3874e233003710e5122983fe42234c9f60001cbf 100644 (file)
@@ -127,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();