From 568fc31b3090a70aa922479991540d4f5c2e918c Mon Sep 17 00:00:00 2001 From: Paul Gilbert Date: Tue, 4 Mar 2014 22:33:27 -0500 Subject: MADS: Beginnings of code support for Scene::drawElements --- engines/mads/assets.h | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'engines/mads/assets.h') diff --git a/engines/mads/assets.h b/engines/mads/assets.h index 7a6939b222..30676a1d7e 100644 --- a/engines/mads/assets.h +++ b/engines/mads/assets.h @@ -25,14 +25,16 @@ #include "common/scummsys.h" #include "common/array.h" -#include "mads/msprite.h" #include "mads/palette.h" -#include "mads/msprite.h" namespace MADS { #define SPRITE_SET_CHAR_INFO 4 +class MADSEngine; +class MSprite; +class MSurface; + struct SpriteAssetFrame { uint32 _stream; Common::Rect _bounds; @@ -100,6 +102,9 @@ public: void drawScaled(int frameNumber, MSurface &depthSurface, MSurface &destSurface, int scale, int depth, const Common::Point &pos); + void draw(MSurface *surface, int frameNumber, const Common::Point &pt); + void depthDraw(MSurface *surface, MSurface *depthSurface, int frameNumber, + const Common::Point &pt, int depth); }; } // End of namespace MADS -- cgit v1.2.3