From a1c65a2591cdbcb4ca1f469bc12f7a39c01bdb1b Mon Sep 17 00:00:00 2001 From: pixel Date: Mon, 10 Feb 2003 00:06:22 +0000 Subject: NTEX --- include/glfont.h | 5 ++++- include/gltexture.h | 1 + 2 files changed, 5 insertions(+), 1 deletion(-) (limited to 'include') diff --git a/include/glfont.h b/include/glfont.h index 072826a..464cd47 100644 --- a/include/glfont.h +++ b/include/glfont.h @@ -2,6 +2,7 @@ #define __GLFONT_H__ #include +#include #include #include #include @@ -17,7 +18,9 @@ namespace mogltk { void putentry(Uint16, Color = Color(255, 255, 255, 255)); void putchar(char, Color = Color(255, 255, 255, 255)); void newline(void); - int printf(const String &, ...); + int printf(const ugly_string &, ...); + int printf(const char *, ...); + int printf(const ugly_string &, va_list); void setcolor(Color); void setshadow(int); int getchar(char) const; diff --git a/include/gltexture.h b/include/gltexture.h index bcfed2d..06f2e8a 100644 --- a/include/gltexture.h +++ b/include/gltexture.h @@ -16,6 +16,7 @@ namespace mogltk { texture(Handle *, bool = false, texture_type = RAW_RGBA) throw (GeneralException); virtual ~texture(); SDL_Surface * GetSurface(); + static SDL_Surface * LoadNTEX(Handle * h) throw (GeneralException) ; void Generate(); void Bind(bool = true); GLuint GetWidth(); -- cgit v1.2.3