diff options
author | Bertrand Augereau | 2011-09-02 04:33:05 +0200 |
---|---|---|
committer | Bertrand Augereau | 2011-09-02 04:33:38 +0200 |
commit | 3a5e17d5525bfe1f42a465247b47f4b74d6f5c6c (patch) | |
tree | b5f2a3dcf89421887f472afc71f309c9cd3b1e03 /engines/dreamweb | |
parent | 483fae0c564973ff27878133749c51fc8111304f (diff) | |
download | scummvm-rg350-3a5e17d5525bfe1f42a465247b47f4b74d6f5c6c.tar.gz scummvm-rg350-3a5e17d5525bfe1f42a465247b47f4b74d6f5c6c.tar.bz2 scummvm-rg350-3a5e17d5525bfe1f42a465247b47f4b74d6f5c6c.zip |
DREAMWEB: Removal of stubs that became useless
Diffstat (limited to 'engines/dreamweb')
-rw-r--r-- | engines/dreamweb/stubs.cpp | 5 | ||||
-rw-r--r-- | engines/dreamweb/stubs.h | 2 | ||||
-rw-r--r-- | engines/dreamweb/vgagrafx.cpp | 7 |
3 files changed, 0 insertions, 14 deletions
diff --git a/engines/dreamweb/stubs.cpp b/engines/dreamweb/stubs.cpp index ff79a90088..d63e8843f6 100644 --- a/engines/dreamweb/stubs.cpp +++ b/engines/dreamweb/stubs.cpp @@ -1737,11 +1737,6 @@ bool DreamGenContext::compare(uint8 index, uint8 flag, const char id[4]) { return true; } -void DreamGenContext::isitdescribed() { - const ObjPos *pos = (const ObjPos *)es.ptr(bx, sizeof(ObjPos)); - flags._z = !isitdescribed(pos); -} - bool DreamGenContext::isitdescribed(const ObjPos *pos) { uint16 offset = segRef(data.word(kSetdesc)).word(kSettextdat + pos->index * 2); uint8 result = segRef(data.word(kSetdesc)).byte(kSettext + offset); diff --git a/engines/dreamweb/stubs.h b/engines/dreamweb/stubs.h index f6d57c18bf..da743c05f0 100644 --- a/engines/dreamweb/stubs.h +++ b/engines/dreamweb/stubs.h @@ -216,9 +216,7 @@ void obicons(); void compare(); bool compare(uint8 index, uint8 flag, const char id[4]); - void pixelcheckset(); bool pixelcheckset(const ObjPos *pos, uint8 x, uint8 y); - void isitdescribed(); bool isitdescribed(const ObjPos *objPos); void checkifset(); bool checkifset(uint8 x, uint8 y); diff --git a/engines/dreamweb/vgagrafx.cpp b/engines/dreamweb/vgagrafx.cpp index be3f58ce63..53db811313 100644 --- a/engines/dreamweb/vgagrafx.cpp +++ b/engines/dreamweb/vgagrafx.cpp @@ -455,13 +455,6 @@ void DreamGenContext::transferinv() { data.word(kExframepos) += byteCount; } -void DreamGenContext::pixelcheckset() { - uint8 x = al; - uint8 y = ah; - const ObjPos *pos = (const ObjPos *)es.ptr(bx, sizeof(ObjPos)); - flags._z = !pixelcheckset(pos, x, y); -} - bool DreamGenContext::pixelcheckset(const ObjPos *pos, uint8 x, uint8 y) { x -= pos->xMin; y -= pos->yMin; |