aboutsummaryrefslogtreecommitdiff
path: root/engines/hdb
diff options
context:
space:
mode:
authorNipun Garg2019-06-18 16:56:53 +0530
committerEugene Sandulenko2019-09-03 17:16:48 +0200
commit70b1013f4cab07b06fc91c532b597b13c5b2899e (patch)
tree2afb6142eb0030b0ab70b83bf1909c2d46f029bc /engines/hdb
parent9da76b9f6853e9a28ff30aa31a42e723e93aeaf9 (diff)
downloadscummvm-rg350-70b1013f4cab07b06fc91c532b597b13c5b2899e.tar.gz
scummvm-rg350-70b1013f4cab07b06fc91c532b597b13c5b2899e.tar.bz2
scummvm-rg350-70b1013f4cab07b06fc91c532b597b13c5b2899e.zip
HDB: Add _fadeInfo struct
Diffstat (limited to 'engines/hdb')
-rw-r--r--engines/hdb/draw-manager.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/engines/hdb/draw-manager.h b/engines/hdb/draw-manager.h
index f5d6f5e808..122f96ea55 100644
--- a/engines/hdb/draw-manager.h
+++ b/engines/hdb/draw-manager.h
@@ -74,7 +74,17 @@ private:
int _numTiles;
TileLookup *_tLookupArray;
uint16 _skyTiles[kMaxSkies];
+
int _currentSky; // 0 if no Sky, 1+ for which Sky to use
+ struct {
+ bool active;
+ bool stayFaded;
+ bool isBlack;
+ int speed;
+ bool isFadeIn;
+
+ int curStep;
+ } _fadeInfo;
struct {
int x, y, speed;