diff options
author | Filippos Karapetis | 2011-12-26 22:31:50 +0200 |
---|---|---|
committer | Filippos Karapetis | 2011-12-26 22:31:50 +0200 |
commit | 1ba4f0a1a8965ee141987693770d2bcd3b74c292 (patch) | |
tree | 219b94744b859c5acce9a92483dccf15bd0bb47d /engines/dreamweb/monitor.cpp | |
parent | 4c66f74b58e9a2c191f22a37f485047dd19be131 (diff) | |
download | scummvm-rg350-1ba4f0a1a8965ee141987693770d2bcd3b74c292.tar.gz scummvm-rg350-1ba4f0a1a8965ee141987693770d2bcd3b74c292.tar.bz2 scummvm-rg350-1ba4f0a1a8965ee141987693770d2bcd3b74c292.zip |
Revert "DREAMWEB: Remove dead code and move most functions to DreamBase"
This reverts commit 4c66f74b58e9a2c191f22a37f485047dd19be131.
These functions aren't ready to be moved yet till the remaining two are
finished, and they're so crossreferenced that the safest thing to do is
revert this commit and break it down to smaller chunks
Diffstat (limited to 'engines/dreamweb/monitor.cpp')
-rw-r--r-- | engines/dreamweb/monitor.cpp | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/engines/dreamweb/monitor.cpp b/engines/dreamweb/monitor.cpp index 5e84c82962..0caf4b7c25 100644 --- a/engines/dreamweb/monitor.cpp +++ b/engines/dreamweb/monitor.cpp @@ -233,7 +233,7 @@ void DreamBase::input() { } void DreamGenContext::makeCaps() { - al = DreamBase::makeCaps(al); + al = makeCaps(al); } byte DreamBase::makeCaps(byte c) { @@ -312,6 +312,10 @@ void DreamBase::accessLightOff() { multiDump(74, 182, 12, 8); } +void DreamGenContext::randomAccess() { + randomAccess(cx); +} + void DreamBase::randomAccess(uint16 count) { for (uint16 i = 0; i < count; ++i) { vSync(); @@ -326,7 +330,7 @@ void DreamBase::randomAccess(uint16 count) { } void DreamGenContext::monMessage() { - DreamBase::monMessage(al); + monMessage(al); } void DreamBase::monMessage(uint8 index) { @@ -547,7 +551,7 @@ void DreamGenContext::read() { } } -void DreamBase::signOn() { +void DreamGenContext::signOn() { const char *name = parser(); int8 foundIndex = -1; @@ -605,7 +609,7 @@ void DreamBase::signOn() { } } -void DreamBase::searchForFiles(uint16 segment) { +void DreamGenContext::searchForFiles(uint16 segment) { const char *filesString = (const char *)getSegment(segment).ptr(kTextstart, 0); byte curChar; |