From d99f7dd959709b7a9e8cba23b88a216a6970209c Mon Sep 17 00:00:00 2001 From: pixel Date: Fri, 15 Nov 2002 23:58:57 +0000 Subject: Bleh --- includes/gltexture.h | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) (limited to 'includes/gltexture.h') diff --git a/includes/gltexture.h b/includes/gltexture.h index 5ac80ad..84edaa8 100644 --- a/includes/gltexture.h +++ b/includes/gltexture.h @@ -1,21 +1,22 @@ #ifndef __GLTEXTURE_H__ #define __GLTEXTURE_H__ +#include #include #include "Exceptions.h" namespace mogltk { - class gltexture : public Base { + class texture : public Base { public: - gltexture(int = 256, int = 256, bool = true) throw (GeneralException); - virtual ~gltexture(); + texture(int = 256, int = 256, bool = false) throw (GeneralException); + virtual ~texture(); SDL_Surface * GetSurface() throw (GeneralException); void Generate() throw (GeneralException); - void Bind() throw (GeneralException); + void Bind(bool = true) throw (GeneralException); GLuint GetWidth(); GLuint GetHeight(); private: - GLuint width, height, texture; + GLuint width, height, tex; SDL_Surface * surface; bool planar; }; -- cgit v1.2.3