aboutsummaryrefslogtreecommitdiff
path: root/engines/dreamweb/monitor.cpp
diff options
context:
space:
mode:
authorMax Horn2011-12-13 14:21:21 +0100
committerWillem Jan Palenstijn2011-12-14 12:46:40 +0100
commitb466575d9e36d1c36e64e2d3cccadfd44e2e6940 (patch)
tree806ef134dd2170db5ed7e514fb54a37e5a95e8a1 /engines/dreamweb/monitor.cpp
parente44a79fdd49e746947cbb88e3982dc8c89e2ae44 (diff)
downloadscummvm-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.cpp12
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();
}