diff options
Diffstat (limited to 'engines/dreamweb/dreamgen.cpp')
-rw-r--r-- | engines/dreamweb/dreamgen.cpp | 77 |
1 files changed, 0 insertions, 77 deletions
diff --git a/engines/dreamweb/dreamgen.cpp b/engines/dreamweb/dreamgen.cpp index 4a0611d594..13cb4253ae 100644 --- a/engines/dreamweb/dreamgen.cpp +++ b/engines/dreamweb/dreamgen.cpp @@ -26,83 +26,6 @@ namespace DreamGen { -void DreamGenContext::dirFile() { - STACK_CHECK; - al = 34; - es.byte(di) = al; - push(es); - push(di); - ds = data.word(kTextfile1); - si = (66*2); - searchForString(); - _cmp(al, 0); - if (flags.z()) - goto foundfile; - di = pop(); - es = pop(); - push(es); - push(di); - ds = data.word(kTextfile2); - si = (66*2); - searchForString(); - _cmp(al, 0); - if (flags.z()) - goto foundfile; - di = pop(); - es = pop(); - push(es); - push(di); - ds = data.word(kTextfile3); - si = (66*2); - searchForString(); - _cmp(al, 0); - if (flags.z()) - goto foundfile; - di = pop(); - es = pop(); - al = 7; - monMessage(); - return; -foundfile: - ax = pop(); - ax = pop(); - getKeyAndLogo(); - _cmp(al, 0); - if (flags.z()) - goto keyok2; - return; -keyok2: - push(es); - push(bx); - ds = cs; - si = offset_operand1+1; - es = cs; - di = 408+1; - cx = 12; - _movsb(cx, true); - monitorLogo(); - scrollMonitor(); - al = 10; - monMessage(); - bx = pop(); - es = pop(); -directloop2: - al = es.byte(bx); - _inc(bx); - _cmp(al, 34); - if (flags.z()) - goto endofdir2; - _cmp(al, '*'); - if (flags.z()) - goto endofdir2; - _cmp(al, '='); - if (!flags.z()) - goto directloop2; - monPrint(); - goto directloop2; -endofdir2: - scrollMonitor(); -} void DreamGenContext::__start() { static const uint8 src[] = { |