diff options
Diffstat (limited to 'engines/dreamweb/print.cpp')
-rw-r--r-- | engines/dreamweb/print.cpp | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/engines/dreamweb/print.cpp b/engines/dreamweb/print.cpp index 0191aa8860..d19a1931d2 100644 --- a/engines/dreamweb/print.cpp +++ b/engines/dreamweb/print.cpp @@ -120,15 +120,6 @@ uint8 DreamBase::printSlow(const uint8 *string, uint16 x, uint16 y, uint8 maxWid } while (true); } -void DreamGenContext::printDirect() { - uint16 y = bx; - const uint8 *initialString = es.ptr(si, 0); - const uint8 *string = initialString; - al = DreamBase::printDirect(&string, di, &y, dl, (bool)(dl & 1)); - si += (string - initialString); - bx = y; -} - uint8 DreamBase::printDirect(const uint8* string, uint16 x, uint16 y, uint8 maxWidth, bool centered) { return printDirect(&string, x, &y, maxWidth, centered); } @@ -216,7 +207,7 @@ uint16 DreamBase::waitFrames() { void DreamGenContext::monPrint() { uint16 originalBx = bx; const char *string = (const char *)es.ptr(bx, 0); - const char *nextString = monPrint(string); + const char *nextString = DreamBase::monPrint(string); bx = originalBx + (nextString - string); } |