diff options
-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; |