aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEugene Sandulenko2004-10-01 23:15:48 +0000
committerEugene Sandulenko2004-10-01 23:15:48 +0000
commit9c4a17bc5d65239bff7f035e143566048d8a6e4a (patch)
tree32d17cf9d217504d0e2fa8b8160456cd44c13188
parente082cb05875e82bec9cb1436ba15bb7b54c14b05 (diff)
downloadscummvm-rg350-9c4a17bc5d65239bff7f035e143566048d8a6e4a.tar.gz
scummvm-rg350-9c4a17bc5d65239bff7f035e143566048d8a6e4a.tar.bz2
scummvm-rg350-9c4a17bc5d65239bff7f035e143566048d8a6e4a.zip
Add couple other HE games and make Blue's birthday demo show intro. It dies
on opcode 2d, though. svn-id: r15375
-rw-r--r--scumm/intern.h1
-rw-r--r--scumm/script_v90he.cpp9
-rw-r--r--scumm/scumm.cpp4
3 files changed, 13 insertions, 1 deletions
diff --git a/scumm/intern.h b/scumm/intern.h
index f0da142cf9..5aa22cded5 100644
--- a/scumm/intern.h
+++ b/scumm/intern.h
@@ -897,6 +897,7 @@ protected:
void o90_unknown94();
void o90_unknown9E();
void o90_getActorAnimProgress();
+ void o90_unknownCF();
};
class ScummEngine_v7 : public ScummEngine_v6 {
diff --git a/scumm/script_v90he.cpp b/scumm/script_v90he.cpp
index 094ad2a4ba..7d1cf16881 100644
--- a/scumm/script_v90he.cpp
+++ b/scumm/script_v90he.cpp
@@ -303,7 +303,7 @@ void ScummEngine_v90he::setupOpcodes() {
OPCODE(o6_pickOneOfDefault),
OPCODE(o6_stampObject),
OPCODE(o72_drawWizImage),
- OPCODE(o6_invalid),
+ OPCODE(o90_unknownCF),
/* D0 */
OPCODE(o6_getDateTime),
OPCODE(o6_stopTalking),
@@ -1168,4 +1168,11 @@ void ScummEngine_v90he::o90_getActorAnimProgress() {
push(a->getAnimProgress());
}
+void ScummEngine_v90he::o90_unknownCF() {
+ byte name[256];
+
+ copyScriptString(name);
+ push(readVar(0));
+}
+
} // End of namespace Scumm
diff --git a/scumm/scumm.cpp b/scumm/scumm.cpp
index f629e231e7..33620d87c7 100644
--- a/scumm/scumm.cpp
+++ b/scumm/scumm.cpp
@@ -311,8 +311,12 @@ static const ScummGameSettings scumm_settings[] = {
GF_NEW_OPCODES | GF_USE_KEY | GF_HUMONGOUS | GF_NEW_COSTUMES, 0, 0},
{"puttrace", "Putt-Putt Enters the Race", GID_HEGAME, 6, 98, MDT_NONE,
GF_NEW_OPCODES | GF_USE_KEY | GF_HUMONGOUS | GF_NEW_COSTUMES, 0, 0},
+ {"BluesABCTime", "Blue's ABC Time", GID_HEGAME, 6, 98, MDT_NONE,
+ GF_NEW_OPCODES | GF_USE_KEY | GF_HUMONGOUS | GF_NEW_COSTUMES, 0, 0},
{"BluesABCTimeDemo", "Blue's ABC Time (Demo)", GID_HEGAME, 6, 98, MDT_NONE,
GF_NEW_OPCODES | GF_USE_KEY | GF_HUMONGOUS | GF_NEW_COSTUMES, 0, 0},
+ {"BluesBirthdayDemo", "Blue's Birthday Adventure (Demo)", GID_HEGAME, 6, 98, MDT_NONE,
+ GF_NEW_OPCODES | GF_USE_KEY | GF_HUMONGOUS | GF_NEW_COSTUMES, 0, 0},
// Global scripts increased to 2048
{"freddi4", "Freddi Fish 4: The Case of the Hogfish Rustlers of Briny Gulch", GID_FREDDI4, 6, 98, MDT_NONE,