aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authoruruk2014-02-08 17:16:14 +0100
committeruruk2014-02-08 17:16:14 +0100
commit46a341b4aa158aadb1681937354af7446ba8be25 (patch)
treecdc67e849ae90795cde2ea86291cb674d5ed87b6 /engines
parentb57345e70b978072e9f024976bce7ef198bfd7b7 (diff)
downloadscummvm-rg350-46a341b4aa158aadb1681937354af7446ba8be25.tar.gz
scummvm-rg350-46a341b4aa158aadb1681937354af7446ba8be25.tar.bz2
scummvm-rg350-46a341b4aa158aadb1681937354af7446ba8be25.zip
AVALANCHE: Implement the ghostroom's animation until Avvy turns back.
Diffstat (limited to 'engines')
-rw-r--r--engines/avalanche/ghostroom.cpp22
1 files changed, 21 insertions, 1 deletions
diff --git a/engines/avalanche/ghostroom.cpp b/engines/avalanche/ghostroom.cpp
index f6a03a71f8..f45f40402c 100644
--- a/engines/avalanche/ghostroom.cpp
+++ b/engines/avalanche/ghostroom.cpp
@@ -112,7 +112,9 @@ void GhostRoom::doBat() {
}
void GhostRoom::bigGreenEyes(byte how) {
- warning("STUB: bigGreenEyes()");
+ _vm->_graphics->ghostDrawPicture(_greenEyes[how], 330, 103);
+ _vm->_graphics->ghostDrawPicture(_greenEyes[how], 376, 103);
+ _vm->_graphics->refreshScreen();
}
ChunkBlock GhostRoom::readChunkBlock(Common::File &file) {
@@ -266,6 +268,24 @@ void GhostRoom::run() {
wait(177);
}
+ // The exclamation mark appears:
+ _vm->_graphics->ghostDrawPicture(_exclamation, 246, 127);
+ _vm->_graphics->refreshScreen();
+ wait(777);
+
+ // Erase "aargh":
+ _vm->_graphics->drawFilledRectangle(Common::Rect(172, 78, 348, 112), kColorBlack);
+ _vm->_graphics->refreshScreen();
+
+ for (int i = 4; i >= 0; i--) {
+ wait(377);
+ bigGreenEyes(i);
+ }
+
+ // Erase the exclamation mark:
+ _vm->_graphics->drawFilledRectangle(Common::Rect(246, 127, 252, 134), kColorBlack);
+ _vm->_graphics->refreshScreen();
+
warning("STUB: run()");
CursorMan.showMouse(true);