Skip to content

Commit

Permalink
DREAMWEB: Useless stub removal
Browse files Browse the repository at this point in the history
  • Loading branch information
tramboi committed Sep 2, 2011
1 parent c51797d commit 3fff4d9
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 12 deletions.
11 changes: 0 additions & 11 deletions engines/dreamweb/sprite.cpp
Expand Up @@ -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);
Expand Down
1 change: 0 additions & 1 deletion engines/dreamweb/stubs.h
Expand Up @@ -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();
Expand Down

0 comments on commit 3fff4d9

Please sign in to comment.