diff options
author | uruk | 2014-02-18 14:15:28 +0100 |
---|---|---|
committer | uruk | 2014-02-18 14:15:28 +0100 |
commit | 3b313bfc83f922c5ed92503f0de99cec0bcb6f12 (patch) | |
tree | 400f28a041aa4428158f8658f40244b26bae181e | |
parent | f20d4e726d4c747d9c813d12834d35c7475e250e (diff) | |
download | scummvm-rg350-3b313bfc83f922c5ed92503f0de99cec0bcb6f12.tar.gz scummvm-rg350-3b313bfc83f922c5ed92503f0de99cec0bcb6f12.tar.bz2 scummvm-rg350-3b313bfc83f922c5ed92503f0de99cec0bcb6f12.zip |
AVALANCHE: Implement ShootEmUp::blankIt().
-rw-r--r-- | engines/avalanche/shootemup.cpp | 4 | ||||
-rw-r--r-- | engines/avalanche/shootemup.h | 1 |
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; |