aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNipun Garg2019-06-21 04:51:19 +0530
committerEugene Sandulenko2019-09-03 17:16:53 +0200
commita0ea424e08dc40604213b201ed6b4a67828377f2 (patch)
tree5a437e52341a1b6b2a1f2969df7be7a113396ca4
parent55587c0751ee9166aedf61154ad62f2e35caea2d (diff)
downloadscummvm-rg350-a0ea424e08dc40604213b201ed6b4a67828377f2.tar.gz
scummvm-rg350-a0ea424e08dc40604213b201ed6b4a67828377f2.tar.bz2
scummvm-rg350-a0ea424e08dc40604213b201ed6b4a67828377f2.zip
HDB: Modify GfxCache to take tileGfx and picGfx
-rw-r--r--engines/hdb/draw-manager.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/engines/hdb/draw-manager.h b/engines/hdb/draw-manager.h
index 1474ae7a50..a0601f79ed 100644
--- a/engines/hdb/draw-manager.h
+++ b/engines/hdb/draw-manager.h
@@ -50,11 +50,14 @@ struct TileLookup {
struct GfxCache {
char name[32];
- Tile *gfx;
+ union {
+ Tile *tileGfx;
+ Picture *picGfx;
+ };
uint32 size;
int16 loaded;
- GfxCache() : name(""), gfx(NULL), size(0), loaded(0) {}
+ GfxCache() : name(""), tileGfx(NULL), picGfx(NULL), size(0), loaded(0) {}
};
class DrawMan {