X-Git-Url: https://git.jsancho.org/?a=blobdiff_plain;f=Source%2FText.h;h=c2a2cccedce79f75b55ebfafc584533151c7c146;hb=64560867a9b6486d601784a2fe4ba6149d31b7aa;hp=584ca4ae28839643d333e158ef5938a6457242b0;hpb=cd043e3f9e26c2b3406b40a354c2840941e9db7f;p=lugaru.git diff --git a/Source/Text.h b/Source/Text.h index 584ca4a..c2a2ccc 100644 --- a/Source/Text.h +++ b/Source/Text.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. @@ -26,7 +27,7 @@ along with Lugaru. If not, see . //#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);