From 6437179de324d60343e7a4db8696dfdc513a4956 Mon Sep 17 00:00:00 2001 From: Strangerke Date: Tue, 15 Oct 2013 01:07:26 +0200 Subject: AVALANCHE: Get rid of SpriteInfo --- engines/avalanche/graphics.h | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) (limited to 'engines/avalanche/graphics.h') diff --git a/engines/avalanche/graphics.h b/engines/avalanche/graphics.h index b45d37e186..4af6d4e8db 100644 --- a/engines/avalanche/graphics.h +++ b/engines/avalanche/graphics.h @@ -36,21 +36,13 @@ namespace Avalanche { class AvalancheEngine; +class AnimationType; struct SpriteType; typedef byte FontType[256][16]; typedef byte ManiType[2049]; typedef byte SilType[51][11]; // 35, 4 -class SpriteInfo { -public: - byte _xWidth; - byte _xLength, _yLength; - ManiType *_mani[24]; - SilType *_sil[24]; - uint16 _size; // The size of one picture. -}; - struct MouseHotspotType { int16 _horizontal, _vertical; }; @@ -95,7 +87,7 @@ public: // Further information about these two: http://www.shikadi.net/moddingwiki/Raw_EGA_data Graphics::Surface loadPictureRaw(Common::File &file, uint16 width, uint16 height); - void drawSprite(const SpriteInfo &sprite, byte picnum, int16 x, int16 y); + void drawSprite(AnimationType *sprite, byte picnum, int16 x, int16 y); void drawPicture(Graphics::Surface &target, const Graphics::Surface picture, uint16 destX, uint16 destY); void drawThinkPic(Common::String filename, int id); void drawToolbar(); -- cgit v1.2.3