[Scummvm-cvs-logs] scummvm master -> 3fff4d97b5a16686a1eedd52554b61ef38fd0a40
tramboi
bertrand_augereau at yahoo.fr
Mon Sep 5 16:27:46 CEST 2011
This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .
Summary:
3fff4d97b5 DREAMWEB: Useless stub removal
Commit: 3fff4d97b5a16686a1eedd52554b61ef38fd0a40
https://github.com/scummvm/scummvm/commit/3fff4d97b5a16686a1eedd52554b61ef38fd0a40
Author: Bertrand Augereau (bertrand_augereau at yahoo.fr)
Date: 2011-09-01T22:59:52-07:00
Commit Message:
DREAMWEB: Useless stub removal
Changed paths:
engines/dreamweb/sprite.cpp
engines/dreamweb/stubs.h
diff --git a/engines/dreamweb/sprite.cpp b/engines/dreamweb/sprite.cpp
index 7cd54c9..df134b6 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 67bba27..e1abc1b 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();
More information about the Scummvm-git-logs
mailing list