aboutsummaryrefslogtreecommitdiff
path: root/engines/mads/assets.h
diff options
context:
space:
mode:
authorPaul Gilbert2014-03-04 22:33:27 -0500
committerPaul Gilbert2014-03-04 22:33:27 -0500
commit568fc31b3090a70aa922479991540d4f5c2e918c (patch)
treef77e83b0b738479e369520513d8741ac05883ca2 /engines/mads/assets.h
parent1607a9104700e987cacfec41aaafd25d979aeb98 (diff)
downloadscummvm-rg350-568fc31b3090a70aa922479991540d4f5c2e918c.tar.gz
scummvm-rg350-568fc31b3090a70aa922479991540d4f5c2e918c.tar.bz2
scummvm-rg350-568fc31b3090a70aa922479991540d4f5c2e918c.zip
MADS: Beginnings of code support for Scene::drawElements
Diffstat (limited to 'engines/mads/assets.h')
-rw-r--r--engines/mads/assets.h9
1 files changed, 7 insertions, 2 deletions
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