diff options
author | uruk | 2014-05-17 23:20:21 +0200 |
---|---|---|
committer | uruk | 2014-05-17 23:20:21 +0200 |
commit | 997564d1f64559276b496b34be87ab947b0e1f1c (patch) | |
tree | bf34f23ca8ec497ac02507a63ab66cbe12b286cb /engines/cge2 | |
parent | bb4679672c721dc58ec81eee1a22ae2727b1a4fc (diff) | |
download | scummvm-rg350-997564d1f64559276b496b34be87ab947b0e1f1c.tar.gz scummvm-rg350-997564d1f64559276b496b34be87ab947b0e1f1c.tar.bz2 scummvm-rg350-997564d1f64559276b496b34be87ab947b0e1f1c.zip |
CGE2: Reimplement backShow().
Diffstat (limited to 'engines/cge2')
-rw-r--r-- | engines/cge2/vga13h.cpp | 8 | ||||
-rw-r--r-- | engines/cge2/vga13h.h | 3 |
2 files changed, 7 insertions, 4 deletions
diff --git a/engines/cge2/vga13h.cpp b/engines/cge2/vga13h.cpp index a52b8e6b96..fc5f9b4fa6 100644 --- a/engines/cge2/vga13h.cpp +++ b/engines/cge2/vga13h.cpp @@ -313,9 +313,11 @@ Sprite *Sprite::contract() { return this; } -Sprite *Sprite::backShow(bool fast) { - warning("STUB: Sprite::backShow()"); - return this; +void Sprite::backShow(void) { + expand(); + show(2); + show(1); + _vm->_spare->dispose(this); } void Sprite::step(int nr) { diff --git a/engines/cge2/vga13h.h b/engines/cge2/vga13h.h index e517a75f81..894f7b7019 100644 --- a/engines/cge2/vga13h.h +++ b/engines/cge2/vga13h.h @@ -35,6 +35,7 @@ #include "cge2/bitmap.h" #include "cge2/snail.h" #include "cge2/cge2.h" +#include "cge2/spare.h" namespace CGE2 { @@ -132,7 +133,7 @@ public: int LabVal(Action snq, int lab); Sprite *expand(); Sprite *contract(); - Sprite *backShow(bool fast = false); + void backShow(void); void setName(char *newName); inline char *name() { return (_ext) ? _ext->_name : NULL; |