aboutsummaryrefslogtreecommitdiff
path: root/engines/scumm/gfx.h
diff options
context:
space:
mode:
authorTravis Howell2009-10-27 09:17:09 +0000
committerTravis Howell2009-10-27 09:17:09 +0000
commite49065c8214e409226ce9ab9e72f09fa3fb6ee02 (patch)
treec329c8d099c421b3e12e76cf578cb6e4ebb12dae /engines/scumm/gfx.h
parentb132c65ff3b6e374c94bb57187284740d75a5fb8 (diff)
downloadscummvm-rg350-e49065c8214e409226ce9ab9e72f09fa3fb6ee02.tar.gz
scummvm-rg350-e49065c8214e409226ce9ab9e72f09fa3fb6ee02.tar.bz2
scummvm-rg350-e49065c8214e409226ce9ab9e72f09fa3fb6ee02.zip
Add support for distaff images in PCE version of Loom.
svn-id: r45433
Diffstat (limited to 'engines/scumm/gfx.h')
-rw-r--r--engines/scumm/gfx.h9
1 files changed, 7 insertions, 2 deletions
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);
};