From e49065c8214e409226ce9ab9e72f09fa3fb6ee02 Mon Sep 17 00:00:00 2001 From: Travis Howell Date: Tue, 27 Oct 2009 09:17:09 +0000 Subject: Add support for distaff images in PCE version of Loom. svn-id: r45433 --- engines/scumm/gfx.h | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'engines/scumm/gfx.h') diff --git a/engines/scumm/gfx.h b/engines/scumm/gfx.h index bb9acbeef8..c93d8d717a 100644 --- a/engines/scumm/gfx.h +++ b/engines/scumm/gfx.h @@ -193,6 +193,9 @@ protected: bool _objectMode; public: + /** Flag which is true when loading objects or titles for distaff, in PCEngine version of Loom. */ + bool _distaff; + int _numZBuffer; int _imgBufOffs[8]; int32 _numStrips; @@ -243,6 +246,7 @@ public: virtual void init(); virtual void roomChanged(byte *roomptr); + virtual void loadTiles(byte *roomptr); void setTransparentColor(byte transparentColor) { _transparentColor = transparentColor; } void drawBitmap(const byte *ptr, VirtScreen *vs, int x, int y, const int width, const int height, @@ -310,8 +314,8 @@ protected: int maskIDSize; int numTiles; int numMasks; - byte* tiles; - byte* masks; + byte *roomTiles, *staffTiles; + byte *masks; } _PCE; protected: @@ -340,6 +344,7 @@ public: GdiPCEngine(ScummEngine *vm); ~GdiPCEngine(); + virtual void loadTiles(byte *roomptr); virtual void roomChanged(byte *roomptr); }; -- cgit v1.2.3