aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorNipun Garg2019-06-24 02:25:37 +0530
committerEugene Sandulenko2019-09-03 17:16:58 +0200
commit8e099fdc2d526a37c543db366ebb626017b64237 (patch)
tree28a2eee04c6fdea03d1a20f3b90be65874279a4c /engines
parent2a047176178228b609b9670410cb9ec929f68df2 (diff)
downloadscummvm-rg350-8e099fdc2d526a37c543db366ebb626017b64237.tar.gz
scummvm-rg350-8e099fdc2d526a37c543db366ebb626017b64237.tar.bz2
scummvm-rg350-8e099fdc2d526a37c543db366ebb626017b64237.zip
HDB: Remove stub for _cineBlitList drawing
Diffstat (limited to 'engines')
-rw-r--r--engines/hdb/ai-cinematic.cpp10
1 files changed, 8 insertions, 2 deletions
diff --git a/engines/hdb/ai-cinematic.cpp b/engines/hdb/ai-cinematic.cpp
index a1719971d0..4af3d9af7c 100644
--- a/engines/hdb/ai-cinematic.cpp
+++ b/engines/hdb/ai-cinematic.cpp
@@ -72,11 +72,17 @@ void AI::processCines() {
bailOut = complete = false;
-
- // TODO: Make sure Cine Pics are drawing
// Make sure Dialogs are timing out
g_hdb->_window->checkDialogClose(0, 0);
+ // Make sure Cine Pics are drawing
+ for (int i = 0;i < _numCineBlitList;i++) {
+ if (_cineBlitList[i]->masked = false)
+ _cineBlitList[i]->pic->draw(_cine[i]->x, _cine[i]->y);
+ else
+ _cineBlitList[i]->pic->drawMasked(_cine[i]->x, _cine[i]->y);
+ }
+
// TODO: Check for Game Pause
for (uint i = 0; i < _cine.size();i++) {