aboutsummaryrefslogtreecommitdiff
path: root/engines/cge2
diff options
context:
space:
mode:
Diffstat (limited to 'engines/cge2')
-rw-r--r--engines/cge2/vga13h.cpp8
-rw-r--r--engines/cge2/vga13h.h3
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;