aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--engines/avalanche/shootemup.cpp4
-rw-r--r--engines/avalanche/shootemup.h1
2 files changed, 4 insertions, 1 deletions
diff --git a/engines/avalanche/shootemup.cpp b/engines/avalanche/shootemup.cpp
index 435adb1d48..530e65d883 100644
--- a/engines/avalanche/shootemup.cpp
+++ b/engines/avalanche/shootemup.cpp
@@ -138,7 +138,9 @@ byte ShootEmUp::getStockNumber(byte x) {
}
void ShootEmUp::blankIt() {
- warning("STUB: ShootEmUp::blankIt()");
+ for (int i = 0; i < _rectNum; i++)
+ _vm->_graphics->drawFilledRectangle(_rectangles[i], kColorBlack);
+ _rectNum = 0;
}
void ShootEmUp::moveThem() {
diff --git a/engines/avalanche/shootemup.h b/engines/avalanche/shootemup.h
index ce6af73237..383a712c93 100644
--- a/engines/avalanche/shootemup.h
+++ b/engines/avalanche/shootemup.h
@@ -70,6 +70,7 @@ private:
byte _stockStatus[7];
Sprite _sprites[99];
byte _rectNum; // Original: 'rsize'
+ Common::Rect _rectangles[99];
uint16 _avvyWas;
uint16 _avvyPos;
byte _avvyAnim;