diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/sprite.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/include/sprite.h b/include/sprite.h index 803bd4a..fbc50ff 100644 --- a/include/sprite.h +++ b/include/sprite.h @@ -8,7 +8,6 @@ #include "gltexture.h" namespace mogltk { - class Sprite : public Base { public: Sprite(Handle *, int, int); @@ -22,8 +21,10 @@ namespace mogltk { virtual ~TexList(); Sprite * sprheader; const texture * GetTex() const; - static const TexList * GetHead() const; + texture * GetTex(); + static const TexList * GetHead(); const TexList * GetNext() const; + TexList * GetNext(); void Bind() const; private: texture * tex; @@ -33,7 +34,7 @@ namespace mogltk { Sprite * next, * prev; TexList * tlist; int sx, sy, posx, posy; - void alloc() const; + void alloc(); bool canfit(int, int, int, int) const; bool intersect(int, int, int, int) const; }; |