summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorpixel <pixel>2003-02-10 00:06:22 +0000
committerpixel <pixel>2003-02-10 00:06:22 +0000
commita1c65a2591cdbcb4ca1f469bc12f7a39c01bdb1b (patch)
tree864b5a6b04defec27258a84515623395e8321757 /include
parent6b63855d6e31a4d63ced9c803847ee35c70ee514 (diff)
NTEX
Diffstat (limited to 'include')
-rw-r--r--include/glfont.h5
-rw-r--r--include/gltexture.h1
2 files changed, 5 insertions, 1 deletions
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 <SDL.h>
+#include <stdarg.h>
#include <BString.h>
#include <Color.h>
#include <Handle.h>
@@ -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();