aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorBertrand Augereau2011-09-02 07:59:52 +0200
committerBertrand Augereau2011-09-02 07:59:52 +0200
commit3fff4d97b5a16686a1eedd52554b61ef38fd0a40 (patch)
tree9c9a845304b5a08897ef5bbd9cbe5440215d00c8 /engines
parentc51797dae69a8f4925d320a20228777dbc2add82 (diff)
downloadscummvm-rg350-3fff4d97b5a16686a1eedd52554b61ef38fd0a40.tar.gz
scummvm-rg350-3fff4d97b5a16686a1eedd52554b61ef38fd0a40.tar.bz2
scummvm-rg350-3fff4d97b5a16686a1eedd52554b61ef38fd0a40.zip
DREAMWEB: Useless stub removal
Diffstat (limited to 'engines')
-rw-r--r--engines/dreamweb/sprite.cpp11
-rw-r--r--engines/dreamweb/stubs.h1
2 files changed, 0 insertions, 12 deletions
diff --git a/engines/dreamweb/sprite.cpp b/engines/dreamweb/sprite.cpp
index 7cd54c9242..df134b696d 100644
--- a/engines/dreamweb/sprite.cpp
+++ b/engines/dreamweb/sprite.cpp
@@ -90,17 +90,6 @@ Sprite *DreamGenContext::makesprite(uint8 x, uint8 y, uint16 updateCallback, uin
return sprite;
}
-void DreamGenContext::makesprite() { // NB: returns new sprite in es:bx
- Sprite *sprite = makesprite(si & 0xff, si >> 8, cx, dx, di);
-
- // Recover es:bx from sprite
- es = data.word(kBuffers);
- bx = kSpritetable;
- Sprite *sprites = (Sprite *)es.ptr(bx, sizeof(Sprite) * 16);
- bx += sizeof(Sprite) * (sprite - sprites);
- //
-}
-
void DreamGenContext::spriteupdate() {
Sprite *sprites = spritetable();
sprites[0].hidden = data.byte(kRyanon);
diff --git a/engines/dreamweb/stubs.h b/engines/dreamweb/stubs.h
index 67bba274a7..e1abc1b1dc 100644
--- a/engines/dreamweb/stubs.h
+++ b/engines/dreamweb/stubs.h
@@ -76,7 +76,6 @@
void multiput();
void eraseoldobs();
void clearsprites();
- void makesprite();
Sprite *makesprite(uint8 x, uint8 y, uint16 updateCallback, uint16 frameData, uint16 somethingInDi);
void spriteupdate();
void initman();