aboutsummaryrefslogtreecommitdiff
path: root/engines/hdb
diff options
context:
space:
mode:
authorNipun Garg2019-06-20 05:14:37 +0530
committerEugene Sandulenko2019-09-03 17:16:51 +0200
commit4a7980c8ccab6373597fb133a5a3773b89052e93 (patch)
tree208370b0b7bff3fc6bcb394c040da93bd3173bf5 /engines/hdb
parent5e9dba2affadb300f370e3945f19375133a36a0e (diff)
downloadscummvm-rg350-4a7980c8ccab6373597fb133a5a3773b89052e93.tar.gz
scummvm-rg350-4a7980c8ccab6373597fb133a5a3773b89052e93.tar.bz2
scummvm-rg350-4a7980c8ccab6373597fb133a5a3773b89052e93.zip
HDB: Add GfxCache struct
Diffstat (limited to 'engines/hdb')
-rw-r--r--engines/hdb/draw-manager.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/engines/hdb/draw-manager.h b/engines/hdb/draw-manager.h
index 343d8bc2e3..2bf5386e15 100644
--- a/engines/hdb/draw-manager.h
+++ b/engines/hdb/draw-manager.h
@@ -48,6 +48,14 @@ struct TileLookup {
TileLookup() : filename(NULL), tData(NULL), skyIndex(0), animIndex(0) {}
};
+struct GfxCache {
+ char name[32];
+ Tile *gfx;
+ uint32 size;
+ uint16 loaded;
+
+ GfxCache() : name(""), gfx(NULL), size(0), loaded(0) {}
+};
class DrawMan {
public: