aboutsummaryrefslogtreecommitdiff
path: root/engines/hdb/gfx.h
diff options
context:
space:
mode:
authorEugene Sandulenko2019-07-31 13:08:08 +0200
committerEugene Sandulenko2019-09-03 17:17:30 +0200
commit7b7420144fd220b1742f6397d61fdb2972629aea (patch)
treefcb5403e8aebc592b176bfa7960bc93867d23813 /engines/hdb/gfx.h
parenta7828397af799209591cf2b2c3bead0ecf42f376 (diff)
downloadscummvm-rg350-7b7420144fd220b1742f6397d61fdb2972629aea.tar.gz
scummvm-rg350-7b7420144fd220b1742f6397d61fdb2972629aea.tar.bz2
scummvm-rg350-7b7420144fd220b1742f6397d61fdb2972629aea.zip
HDB: De not create fade screen on every frame
Diffstat (limited to 'engines/hdb/gfx.h')
-rw-r--r--engines/hdb/gfx.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/engines/hdb/gfx.h b/engines/hdb/gfx.h
index 903b57948c..976b182850 100644
--- a/engines/hdb/gfx.h
+++ b/engines/hdb/gfx.h
@@ -157,6 +157,8 @@ private:
TileLookup *_tLookupArray;
uint16 _skyTiles[kMaxSkies];
+ Graphics::ManagedSurface _fadeBuffer1, _fadeBuffer2;
+
Common::Array<GfxCache *> *_gfxCache;
int _currentSky; // 0 if no Sky, 1+ for which Sky to use