diff options
author | Nipun Garg | 2019-06-18 17:06:30 +0530 |
---|---|---|
committer | Eugene Sandulenko | 2019-09-03 17:16:48 +0200 |
commit | f849004886835424f831cd3c07bc1ea570268aae (patch) | |
tree | 293014d48ef33390d11b6e80544d1a80c428e7ad | |
parent | 191079fc1ea496f8fd8ac387fe701801f7110b66 (diff) | |
download | scummvm-rg350-f849004886835424f831cd3c07bc1ea570268aae.tar.gz scummvm-rg350-f849004886835424f831cd3c07bc1ea570268aae.tar.bz2 scummvm-rg350-f849004886835424f831cd3c07bc1ea570268aae.zip |
HDB: Add getter-setter functions for _fadeInfo
Check if the fade is active. Check if the fade is
staying. Turn off the fade.
-rw-r--r-- | engines/hdb/draw-manager.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/engines/hdb/draw-manager.h b/engines/hdb/draw-manager.h index 42c40589aa..b66be77ec7 100644 --- a/engines/hdb/draw-manager.h +++ b/engines/hdb/draw-manager.h @@ -61,6 +61,9 @@ public: void fillScreen(uint32 color); void setFade(bool fadeIn, bool black, int steps); void updateFade(); + bool isFadeActive() { return _fadeInfo.active; } + bool isFadeStaying() { return _fadeInfo.stayFaded; } + void turnOffFade() { _fadeInfo.active = _fadeInfo.stayFaded = false; } Tile *getTile(int index); int getTileIndex(const char *name); |