From 5cc874802b0b8c4462e7e873654e6daa54be00de Mon Sep 17 00:00:00 2001 From: pixel Date: Sun, 4 Jul 2004 11:56:18 +0000 Subject: SOL Demo --- include/texture.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'include/texture.h') diff --git a/include/texture.h b/include/texture.h index 3b60e5b..44e2efe 100644 --- a/include/texture.h +++ b/include/texture.h @@ -10,8 +10,9 @@ namespace mogltk { class texture : public Base { public: - texture(int = 256, int = 256, bool = false) throw (GeneralException); + texture(int, int, bool = false) throw (GeneralException); texture(Handle *, bool = false) throw (GeneralException); + texture(int, int, int, int); virtual ~texture(); SDL_Surface * GetSurface(); Uint32 * GetPixels(); @@ -24,11 +25,12 @@ namespace mogltk { static void Unbind(void); void Taint(void); static void Taintall(void); + void DumpBMP(const String &); private: GLuint width, height, tex; bool texture_allocated; SDL_Surface * surface; - bool planar, tainted; + bool planar, tainted, taintable; static texture * header; static texture * footer; texture * next, * prev; -- cgit v1.2.3