aboutsummaryrefslogtreecommitdiff
path: root/engines/dreamweb/dreamgen.cpp
diff options
context:
space:
mode:
authorFilippos Karapetis2011-12-18 14:14:25 +0200
committerFilippos Karapetis2011-12-18 15:44:16 +0200
commita5879196df33eb7946b2c7afa6491c9a7d5e7213 (patch)
treeeed18f77f78bc412dfdeedd54eaa9beb3cc233ea /engines/dreamweb/dreamgen.cpp
parent8c8666e811d1b68fec400f4100a02146e0e1235b (diff)
downloadscummvm-rg350-a5879196df33eb7946b2c7afa6491c9a7d5e7213.tar.gz
scummvm-rg350-a5879196df33eb7946b2c7afa6491c9a7d5e7213.tar.bz2
scummvm-rg350-a5879196df33eb7946b2c7afa6491c9a7d5e7213.zip
DREAMWEB: Port 'showdiarykeys' to C++
Diffstat (limited to 'engines/dreamweb/dreamgen.cpp')
-rw-r--r--engines/dreamweb/dreamgen.cpp46
1 files changed, 0 insertions, 46 deletions
diff --git a/engines/dreamweb/dreamgen.cpp b/engines/dreamweb/dreamgen.cpp
index 04276c001e..43c2e50d1e 100644
--- a/engines/dreamweb/dreamgen.cpp
+++ b/engines/dreamweb/dreamgen.cpp
@@ -2463,52 +2463,6 @@ lookcolon:
goto lookcolon;
}
-void DreamGenContext::showDiaryKeys() {
- STACK_CHECK;
- _cmp(data.byte(kPresscount), 0);
- if (flags.z())
- return /* (nokeyatall) */;
- _dec(data.byte(kPresscount));
- _cmp(data.byte(kPresscount), 0);
- if (flags.z())
- return /* (nokeyatall) */;
- _cmp(data.byte(kPressed), 'N');
- if (!flags.z())
- goto nokeyn;
- al = 3;
- _cmp(data.byte(kPresscount), 1);
- if (flags.z())
- goto gotkeyn;
- al = 4;
-gotkeyn:
- ah = 0;
- di = (68+24)+94;
- bx = (48+12)+97;
- ds = data.word(kTempgraphics);
- showFrame();
- _cmp(data.byte(kPresscount), 1);
- if (!flags.z())
- return /* (notshown) */;
- showDiaryPage();
- return;
-nokeyn:
- al = 5;
- _cmp(data.byte(kPresscount), 1);
- if (flags.z())
- goto gotkeyp;
- al = 6;
-gotkeyp:
- ah = 0;
- di = (68+24)+151;
- bx = (48+12)+71;
- ds = data.word(kTempgraphics);
- showFrame();
- _cmp(data.byte(kPresscount), 1);
- if (!flags.z())
- return /* (notshowp) */;
- showDiaryPage();
-}
-
void DreamGenContext::findPathOfPoint() {
STACK_CHECK;
push(ax);