diff options
Diffstat (limited to 'lib/sprite.cc')
-rw-r--r-- | lib/sprite.cc | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/lib/sprite.cc b/lib/sprite.cc index bce6bf2..8b93a0f 100644 --- a/lib/sprite.cc +++ b/lib/sprite.cc @@ -17,7 +17,7 @@ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ -/* $Id: sprite.cc,v 1.16 2006-02-02 17:29:05 pixel Exp $ */ +/* $Id: sprite.cc,v 1.17 2006-10-28 16:50:47 pixel Exp $ */ #include <SDL.h> #include "engine.h" @@ -75,7 +75,7 @@ void mogltk::Sprite::alloc() { } if (!found) { - printm(M_INFO, "Allocating a new texture for sprites\n"); + printm(M_INFO, "Allocating a new Texture for sprites\n"); posx = posy = 0; p = new TexList(TEXSIZE); } @@ -84,8 +84,8 @@ void mogltk::Sprite::alloc() { } mogltk::Sprite::TexList::TexList(int size) { - tex = new texture(size, size, true); - tex->name = "Sprite texture."; + tex = new Texture(size, size, true); + tex->name = "Sprite Texture."; if (header) header->prev = this; @@ -106,11 +106,11 @@ mogltk::Sprite::TexList::~TexList() { next->prev = prev; } -const mogltk::texture * mogltk::Sprite::TexList::GetTex() const { +const mogltk::Texture * mogltk::Sprite::TexList::GetTex() const { return tex; } -mogltk::texture * mogltk::Sprite::TexList::GetTex() { +mogltk::Texture * mogltk::Sprite::TexList::GetTex() { return tex; } |