diff options
Diffstat (limited to 'engines/dreamweb/monitor.cpp')
-rw-r--r-- | engines/dreamweb/monitor.cpp | 31 |
1 files changed, 23 insertions, 8 deletions
diff --git a/engines/dreamweb/monitor.cpp b/engines/dreamweb/monitor.cpp index 26caeb29ec..f3aad7a496 100644 --- a/engines/dreamweb/monitor.cpp +++ b/engines/dreamweb/monitor.cpp @@ -61,10 +61,10 @@ void DreamGenContext::useMon() { printOuterMon(); initialMonCols(); printLogo(); - workToScreenCPP(); + workToScreen(); turnOnPower(); - fadeupYellows(); - fadeupMonFirst(); + fadeUpYellows(); + fadeUpMonFirst(); data.word(kMonadx) = 76; data.word(kMonady) = 141; monMessage(1); @@ -171,10 +171,12 @@ bool DreamGenContext::execCommand() { void DreamBase::monitorLogo() { if (data.byte(kLogonum) != data.byte(kOldlogonum)) { data.byte(kOldlogonum) = data.byte(kLogonum); + //fadeDownMon(); // FIXME: Commented out in ASM printLogo(); printUnderMon(); - workToScreenCPP(); + workToScreen(); printLogo(); + //fadeUpMon(); // FIXME: Commented out in ASM printLogo(); playChannel1(26); randomAccess(20); @@ -265,7 +267,7 @@ void DreamBase::printCurs() { height = 11; } else height = 8; - multiGet(textUnder(), x, y, 6, height); + multiGet(_textUnder, x, y, 6, height); ++data.word(kMaintimer); if ((data.word(kMaintimer) & 16) == 0) showFrame(engine->tempCharset(), x, y, '/' - 32, 0); @@ -282,14 +284,14 @@ void DreamBase::delCurs() { height = 11; } else height = 8; - multiPut(textUnder(), x, y, width, height); + multiPut(_textUnder, x, y, width, height); multiDump(x, y, width, height); } void DreamBase::scrollMonitor() { printLogo(); printUnderMon(); - workToScreenCPP(); + workToScreen(); playChannel1(25); } @@ -424,7 +426,7 @@ void DreamBase::loadCart() { data.word(kTextfile3) = standardLoad("DREAMWEB.T24"); // monitor file 24 } -void DreamGenContext::showKeys() { +void DreamBase::showKeys() { randomAccess(10); scrollMonitor(); monMessage(18); @@ -512,4 +514,17 @@ void DreamGenContext::signOn() { } } +void DreamGenContext::searchForFiles() { + bx = kTextstart; + + while (true) { + al = es.byte(bx); + bx++; + if (al == '*') + return; // "endofdir" + if (al == 34) + monPrint(); + } +} + } // End of namespace DreamGen |