aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xdevtools/tasmrecover/tasm-recover1
-rw-r--r--engines/dreamweb/dreamgen.cpp27
-rw-r--r--engines/dreamweb/dreamgen.h1
-rw-r--r--engines/dreamweb/stubs.cpp31
-rw-r--r--engines/dreamweb/stubs.h1
5 files changed, 33 insertions, 28 deletions
diff --git a/devtools/tasmrecover/tasm-recover b/devtools/tasmrecover/tasm-recover
index 346bf9eb43..00aac10a66 100755
--- a/devtools/tasmrecover/tasm-recover
+++ b/devtools/tasmrecover/tasm-recover
@@ -147,6 +147,7 @@ generator = cpp(context, "DreamGen", blacklist = [
'autosetwalk',
'backobject',
'barwoman',
+ 'biblequote',
'blockget',
'blocknametext',
'bothchannels',
diff --git a/engines/dreamweb/dreamgen.cpp b/engines/dreamweb/dreamgen.cpp
index 6e44289078..7c92c4fd9e 100644
--- a/engines/dreamweb/dreamgen.cpp
+++ b/engines/dreamweb/dreamgen.cpp
@@ -2396,33 +2396,6 @@ void DreamGenContext::gettingShot() {
clearBeforeLoad();
}
-void DreamGenContext::bibleQuote() {
- STACK_CHECK;
- mode640x480();
- dx = 1100;
- showPCX();
- fadeScreenUps();
- cx = 80;
- hangOne();
- _cmp(data.byte(kLasthardkey), 1);
- if (flags.z())
- goto biblequotearly;
- cx = 560;
- hangOne();
- _cmp(data.byte(kLasthardkey), 1);
- if (flags.z())
- goto biblequotearly;
- fadeScreenDowns();
- cx = 200;
- hangOne();
- _cmp(data.byte(kLasthardkey), 1);
- if (flags.z())
- goto biblequotearly;
- cancelCh0();
-biblequotearly:
- data.byte(kLasthardkey) = 0;
-}
-
void DreamGenContext::intro() {
STACK_CHECK;
dx = 1035;
diff --git a/engines/dreamweb/dreamgen.h b/engines/dreamweb/dreamgen.h
index e2ffcbed68..ebd7698100 100644
--- a/engines/dreamweb/dreamgen.h
+++ b/engines/dreamweb/dreamgen.h
@@ -787,7 +787,6 @@ public:
void candles1();
void showOpBox();
void clearBeforeLoad();
- void bibleQuote();
void doFade();
void useTrainer();
void dumpCurrent();
diff --git a/engines/dreamweb/stubs.cpp b/engines/dreamweb/stubs.cpp
index 754388d130..5b329f2023 100644
--- a/engines/dreamweb/stubs.cpp
+++ b/engines/dreamweb/stubs.cpp
@@ -3148,5 +3148,36 @@ void DreamGenContext::hangOne() {
hangOne(cx);
}
+void DreamGenContext::bibleQuote() {
+ mode640x480();
+
+ showPCX("DREAMWEB.I00");
+ fadeScreenUps();
+
+ hangOne(80);
+ if (data.byte(kLasthardkey) == 1) {
+ data.byte(kLasthardkey) = 0;
+ return; // "biblequotearly"
+ }
+
+ hangOne(560);
+ if (data.byte(kLasthardkey) == 1) {
+ data.byte(kLasthardkey) = 0;
+ return; // "biblequotearly"
+ }
+
+ fadeScreenDowns();
+
+ hangOne(200);
+ if (data.byte(kLasthardkey) == 1) {
+ data.byte(kLasthardkey) = 0;
+ return; // "biblequotearly"
+ }
+
+ cancelCh0();
+
+ data.byte(kLasthardkey) = 0;
+}
+
} /*namespace dreamgen */
diff --git a/engines/dreamweb/stubs.h b/engines/dreamweb/stubs.h
index 170d10be1f..2715863557 100644
--- a/engines/dreamweb/stubs.h
+++ b/engines/dreamweb/stubs.h
@@ -451,5 +451,6 @@
void hangOne();
void showPCX(const ::Common::String &name);
void showPCX();
+ void bibleQuote();
#endif