aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoruruk2014-02-20 22:31:03 +0100
committeruruk2014-02-20 22:31:03 +0100
commit401b85eb214e6980e8d030cf36bd55d78371d732 (patch)
tree267ab4360ba17d4db9ed03ce7bafa5d93ab4ca6c
parent0b4a2ba0a81f092935e727353e89cb146fc380ce (diff)
downloadscummvm-rg350-401b85eb214e6980e8d030cf36bd55d78371d732.tar.gz
scummvm-rg350-401b85eb214e6980e8d030cf36bd55d78371d732.tar.bz2
scummvm-rg350-401b85eb214e6980e8d030cf36bd55d78371d732.zip
AVALANCHE: Implement ShootEmUp::check321().
-rw-r--r--engines/avalanche/shootemup.cpp20
1 files changed, 19 insertions, 1 deletions
diff --git a/engines/avalanche/shootemup.cpp b/engines/avalanche/shootemup.cpp
index e1a6280dc1..51bc714c28 100644
--- a/engines/avalanche/shootemup.cpp
+++ b/engines/avalanche/shootemup.cpp
@@ -619,7 +619,25 @@ void ShootEmUp::escapeCheck() {
}
void ShootEmUp::check321() {
- warning("STUB: ShootEmUp::check321()");
+ if (_count321 == 0)
+ return;
+
+ _count321--;
+
+ switch (_count321) {
+ case 84:
+ define(320, 60, 16, 2, 1, 94, false, true);
+ break;
+ case 169:
+ define(320, 60, 15, 0, 1, 94, false, true);
+ break;
+ case 254:
+ define(320, 60, 14, -2, 1, 94, false, true);
+ define(0, 100, 18, 2, 0, 254, false, true);
+ break;
+ default:
+ break;
+ }
}
} // End of namespace Avalanche