From 70b1013f4cab07b06fc91c532b597b13c5b2899e Mon Sep 17 00:00:00 2001 From: Nipun Garg Date: Tue, 18 Jun 2019 16:56:53 +0530 Subject: HDB: Add _fadeInfo struct --- engines/hdb/draw-manager.h | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'engines') 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; -- cgit v1.2.3