aboutsummaryrefslogtreecommitdiff
path: root/engines/avalanche/graphics.h
diff options
context:
space:
mode:
authorStrangerke2013-10-15 01:07:26 +0200
committerStrangerke2013-10-15 01:07:26 +0200
commit6437179de324d60343e7a4db8696dfdc513a4956 (patch)
tree6e27c524e01c3c4dced2af2280d5080d526b8f08 /engines/avalanche/graphics.h
parent597690ae9d401844a6e842654e368710d60b2fc8 (diff)
downloadscummvm-rg350-6437179de324d60343e7a4db8696dfdc513a4956.tar.gz
scummvm-rg350-6437179de324d60343e7a4db8696dfdc513a4956.tar.bz2
scummvm-rg350-6437179de324d60343e7a4db8696dfdc513a4956.zip
AVALANCHE: Get rid of SpriteInfo
Diffstat (limited to 'engines/avalanche/graphics.h')
-rw-r--r--engines/avalanche/graphics.h12
1 files changed, 2 insertions, 10 deletions
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();