diff options
author | Eugene Sandulenko | 2019-07-31 13:08:08 +0200 |
---|---|---|
committer | Eugene Sandulenko | 2019-09-03 17:17:30 +0200 |
commit | 7b7420144fd220b1742f6397d61fdb2972629aea (patch) | |
tree | fcb5403e8aebc592b176bfa7960bc93867d23813 /engines/hdb/gfx.h | |
parent | a7828397af799209591cf2b2c3bead0ecf42f376 (diff) | |
download | scummvm-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.h | 2 |
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 |