diff options
Diffstat (limited to 'engines')
-rw-r--r-- | engines/dreamweb/sprite.cpp | 11 | ||||
-rw-r--r-- | engines/dreamweb/stubs.h | 1 |
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(); |