aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--engines/dreamweb/monitor.cpp34
-rw-r--r--engines/dreamweb/stubs.cpp34
2 files changed, 34 insertions, 34 deletions
diff --git a/engines/dreamweb/monitor.cpp b/engines/dreamweb/monitor.cpp
index 5da481a60f..4386e1a8a3 100644
--- a/engines/dreamweb/monitor.cpp
+++ b/engines/dreamweb/monitor.cpp
@@ -158,5 +158,39 @@ void DreamGenContext::input() {
}
}
+void DreamGenContext::printcurs() {
+ uint16 x = data.word(kCurslocx);
+ uint16 y = data.word(kCurslocy);
+ uint16 height;
+ if (data.byte(kForeignrelease)) {
+ y -= 3;
+ height = 11;
+ } else
+ height = 8;
+ multiget(textUnder(), x, y, 6, height);
+ ++data.word(kMaintimer);
+ if ((data.word(kMaintimer) & 16) == 0)
+ showframe((Frame *)segRef(data.word(kTempcharset)).ptr(0, 0), x, y, '/' - 32, 0);
+ multidump(x - 6, y, 12, height);
+}
+
+void DreamGenContext::delcurs() {
+ uint16 x = data.word(kCurslocx);
+ uint16 y = data.word(kCurslocy);
+ uint16 width = 6;
+ uint16 height;
+ if (data.byte(kForeignrelease)) {
+ y -= 3;
+ height = 11;
+ } else
+ height = 8;
+ multiput(textUnder(), x, y, width, height);
+ multidump(x, y, width, height);
+}
+
+void DreamGenContext::hangoncurs() {
+ hangoncurs(cx);
+}
+
} /*namespace dreamgen */
diff --git a/engines/dreamweb/stubs.cpp b/engines/dreamweb/stubs.cpp
index 2c0c8eca32..0daba39183 100644
--- a/engines/dreamweb/stubs.cpp
+++ b/engines/dreamweb/stubs.cpp
@@ -258,40 +258,6 @@ void DreamGenContext::loadtempcharset(const char *fileName) {
data.word(kTempcharset) = standardload(fileName);
}
-void DreamGenContext::printcurs() {
- uint16 x = data.word(kCurslocx);
- uint16 y = data.word(kCurslocy);
- uint16 height;
- if (data.byte(kForeignrelease)) {
- y -= 3;
- height = 11;
- } else
- height = 8;
- multiget(textUnder(), x, y, 6, height);
- ++data.word(kMaintimer);
- if ((data.word(kMaintimer) & 16) == 0)
- showframe((Frame *)segRef(data.word(kTempcharset)).ptr(0, 0), x, y, '/' - 32, 0);
- multidump(x - 6, y, 12, height);
-}
-
-void DreamGenContext::delcurs() {
- uint16 x = data.word(kCurslocx);
- uint16 y = data.word(kCurslocy);
- uint16 width = 6;
- uint16 height;
- if (data.byte(kForeignrelease)) {
- y -= 3;
- height = 11;
- } else
- height = 8;
- multiput(textUnder(), x, y, width, height);
- multidump(x, y, width, height);
-}
-
-void DreamGenContext::hangoncurs() {
- hangoncurs(cx);
-}
-
void DreamGenContext::hangoncurs(uint16 frameCount) {
for (uint16 i = 0; i < frameCount; ++i) {
printcurs();