aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authoruruk2014-02-19 17:56:16 +0100
committeruruk2014-02-19 17:56:16 +0100
commit546a3cea826fca2e33f7472dd080d21d0e2ab54c (patch)
treeb6704f62d1dbed07fd07eb49211ed3cf7162dbd1 /engines
parentc498e910eb19bcc78fbd35dbf743a09e9a2e0ddb (diff)
downloadscummvm-rg350-546a3cea826fca2e33f7472dd080d21d0e2ab54c.tar.gz
scummvm-rg350-546a3cea826fca2e33f7472dd080d21d0e2ab54c.tar.bz2
scummvm-rg350-546a3cea826fca2e33f7472dd080d21d0e2ab54c.zip
AVALANCHE: Implement ShootEmUp::moveThem().
Diffstat (limited to 'engines')
-rw-r--r--engines/avalanche/shootemup.cpp7
1 files changed, 6 insertions, 1 deletions
diff --git a/engines/avalanche/shootemup.cpp b/engines/avalanche/shootemup.cpp
index d7832a07be..52dd1d4676 100644
--- a/engines/avalanche/shootemup.cpp
+++ b/engines/avalanche/shootemup.cpp
@@ -150,7 +150,12 @@ void ShootEmUp::blankIt() {
}
void ShootEmUp::moveThem() {
- warning("STUB: ShootEmUp::moveThem()");
+ for (int i = 0; i < 99; i++) {
+ if (_sprites[i]._x != kFlag) {
+ _sprites[i]._x += _sprites[i]._ix;
+ _sprites[i]._y += _sprites[i]._iy;
+ }
+ }
}
void ShootEmUp::blank(Common::Rect rect) {