diff options
author | Max Horn | 2011-12-13 14:21:21 +0100 |
---|---|---|
committer | Willem Jan Palenstijn | 2011-12-14 12:46:40 +0100 |
commit | b466575d9e36d1c36e64e2d3cccadfd44e2e6940 (patch) | |
tree | 806ef134dd2170db5ed7e514fb54a37e5a95e8a1 /engines/dreamweb/monitor.cpp | |
parent | e44a79fdd49e746947cbb88e3982dc8c89e2ae44 (diff) | |
download | scummvm-rg350-b466575d9e36d1c36e64e2d3cccadfd44e2e6940.tar.gz scummvm-rg350-b466575d9e36d1c36e64e2d3cccadfd44e2e6940.tar.bz2 scummvm-rg350-b466575d9e36d1c36e64e2d3cccadfd44e2e6940.zip |
DREAMWEB: Move more stuff to DreamBase
Diffstat (limited to 'engines/dreamweb/monitor.cpp')
-rw-r--r-- | engines/dreamweb/monitor.cpp | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/engines/dreamweb/monitor.cpp b/engines/dreamweb/monitor.cpp index 5d0987b29e..30ba9b88e0 100644 --- a/engines/dreamweb/monitor.cpp +++ b/engines/dreamweb/monitor.cpp @@ -165,7 +165,7 @@ bool DreamGenContext::execCommand() { -void DreamGenContext::monitorLogo() { +void DreamBase::monitorLogo() { if (data.byte(kLogonum) != data.byte(kOldlogonum)) { data.byte(kOldlogonum) = data.byte(kLogonum); printLogo(); @@ -283,10 +283,6 @@ void DreamBase::delCurs() { multiDump(x, y, width, height); } -void DreamGenContext::hangOnCurs() { - hangOnCurs(cx); -} - void DreamBase::scrollMonitor() { printLogo(); printUnderMon(); @@ -318,7 +314,7 @@ void DreamGenContext::randomAccess() { randomAccess(cx); } -void DreamGenContext::randomAccess(uint16 count) { +void DreamBase::randomAccess(uint16 count) { for (uint16 i = 0; i < count; ++i) { vSync(); vSync(); @@ -335,7 +331,7 @@ void DreamGenContext::monMessage() { monMessage(al); } -void DreamGenContext::monMessage(uint8 index) { +void DreamBase::monMessage(uint8 index) { assert(index > 0); const char *string = (const char *)getSegment(data.word(kTextfile1)).ptr(kTextstart, 0); for (uint8 i = 0; i < index; ++i) { @@ -345,7 +341,7 @@ void DreamGenContext::monMessage(uint8 index) { monPrint(string); } -void DreamGenContext::netError() { +void DreamBase::netError() { monMessage(5); scrollMonitor(); } |