From 02ee82a20cc5462ab43fdfa3b0237cd8618bdd97 Mon Sep 17 00:00:00 2001 From: pixel Date: Sat, 8 Mar 2003 02:49:42 +0000 Subject: Sprites working(?) --- include/sprite.h | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'include/sprite.h') 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; }; -- cgit v1.2.3