diff options
author | pixel <pixel> | 2004-07-04 11:56:18 +0000 |
---|---|---|
committer | pixel <pixel> | 2004-07-04 11:56:18 +0000 |
commit | 5cc874802b0b8c4462e7e873654e6daa54be00de (patch) | |
tree | d97bfbfe26998b1ee9cf01d830ba446e61094a86 /include/texture.h | |
parent | bf452e7f6a3fa0e41964fc8e2c57e1e577cd1682 (diff) |
SOL Demo
Diffstat (limited to 'include/texture.h')
-rw-r--r-- | include/texture.h | 6 |
1 files changed, 4 insertions, 2 deletions
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; |