]> git.jsancho.org Git - lugaru.git/blobdiff - Source/Text.h
Replaced as much char* as possible by std::strings
[lugaru.git] / Source / Text.h
index 584ca4ae28839643d333e158ef5938a6457242b0..c2a2cccedce79f75b55ebfafc584533151c7c146 100644 (file)
@@ -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.
 
@@ -26,7 +27,7 @@ along with Lugaru.  If not, see <http://www.gnu.org/licenses/>.
 //#include "Files.h"
 #include "Quaternions.h"
 #include "gamegl.h"
-#include "TGALoader.h"
+#include "ImageIO.h"
 #include "Texture.h"
 
 class Text
@@ -35,7 +36,7 @@ public:
     Texture FontTexture;
     GLuint base;
 
-    void LoadFontTexture(const char *fileName);
+    void LoadFontTexture(const std::string& fileName);
     void BuildFont();
     void glPrint(float x, float y, const char *string, int set, float size, float width, float height);
     void glPrintOutline(float x, float y, const char *string, int set, float size, float width, float height);