aboutsummaryrefslogtreecommitdiff
path: root/engines/hdb/gfx.h
diff options
context:
space:
mode:
authorNipun Garg2019-07-18 19:08:59 +0530
committerEugene Sandulenko2019-09-03 17:17:23 +0200
commit05cb55b8883fdf4f6a44f285d29716d2d17da9c2 (patch)
tree4c6cdf2cf2524e9fb28beb5449edc4ccc2b1059e /engines/hdb/gfx.h
parentfd91bb7f59ba6ac1b3be7bc245bc25042a05a464 (diff)
downloadscummvm-rg350-05cb55b8883fdf4f6a44f285d29716d2d17da9c2.tar.gz
scummvm-rg350-05cb55b8883fdf4f6a44f285d29716d2d17da9c2.tar.bz2
scummvm-rg350-05cb55b8883fdf4f6a44f285d29716d2d17da9c2.zip
HDB: Delete Cached gfx data in one place
Diffstat (limited to 'engines/hdb/gfx.h')
-rw-r--r--engines/hdb/gfx.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/engines/hdb/gfx.h b/engines/hdb/gfx.h
index ce6ceb6502..73fb92a8ae 100644
--- a/engines/hdb/gfx.h
+++ b/engines/hdb/gfx.h
@@ -60,6 +60,7 @@ struct TileLookup {
struct GfxCache {
char name[32];
+ bool status; // false = tileGfx, true = picGfx
union {
Tile *tileGfx;
Picture *picGfx;
@@ -67,7 +68,7 @@ struct GfxCache {
uint32 size;
int16 loaded;
- GfxCache() : tileGfx(NULL), size(0), loaded(0) { name[0] = 0; }
+ GfxCache() : status(false), tileGfx(NULL), size(0), loaded(0) { name[0] = 0; }
};
struct FontInfo {