diff options
author | Nipun Garg | 2019-06-18 17:29:13 +0530 |
---|---|---|
committer | Eugene Sandulenko | 2019-09-03 17:16:48 +0200 |
commit | e460395f3e1acfe0d57e486474fd4833091edbbf (patch) | |
tree | d61ca16f21979df872ac3734464a1ee793cee366 | |
parent | f849004886835424f831cd3c07bc1ea570268aae (diff) | |
download | scummvm-rg350-e460395f3e1acfe0d57e486474fd4833091edbbf.tar.gz scummvm-rg350-e460395f3e1acfe0d57e486474fd4833091edbbf.tar.bz2 scummvm-rg350-e460395f3e1acfe0d57e486474fd4833091edbbf.zip |
HDB: Call the fade Stubs from processCines()
-rw-r--r-- | engines/hdb/ai.cpp | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/engines/hdb/ai.cpp b/engines/hdb/ai.cpp index 3ce8de278b..f0c73f0f20 100644 --- a/engines/hdb/ai.cpp +++ b/engines/hdb/ai.cpp @@ -106,17 +106,18 @@ void AI::processCines() { break; case C_FADEIN: if (!(*it)->start) { - warning("STUB: DrawMan::setFade required"); - } else { - warning("STUB: DrawMan::fadeActive required"); + g_hdb->_drawMan->setFade(true, (bool) (*it)->end, (*it)->speed); + (*it)->start = 1; + } else if (!g_hdb->_drawMan->isFadeActive()) { + complete = true; } break; case C_FADEOUT: if (!(*it)->start) { - warning("STUB: DrawMan::setFade required"); - } - else { - warning("STUB: DrawMan::fadeActive required"); + g_hdb->_drawMan->setFade(false, (bool)(*it)->end, (*it)->speed); + (*it)->start = 1; + } else if (!g_hdb->_drawMan->isFadeActive()) { + complete = true; } break; default: |