aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames Brown2002-10-16 10:59:29 +0000
committerJames Brown2002-10-16 10:59:29 +0000
commitc1652de909d456bdb28584ad8a3c55d0017fc713 (patch)
tree7426cda45f17b38684f713d7b269a6ce9c5c9815
parent96c900f095bea4ed64a3e339df457e3eae062f9c (diff)
downloadscummvm-rg350-c1652de909d456bdb28584ad8a3c55d0017fc713.tar.gz
scummvm-rg350-c1652de909d456bdb28584ad8a3c55d0017fc713.tar.bz2
scummvm-rg350-c1652de909d456bdb28584ad8a3c55d0017fc713.zip
Full Throttle: Add stub for opcode CD (something to do with drawing blast objects)
svn-id: r5163
-rw-r--r--scumm/script_v2.cpp11
-rw-r--r--scumm/scumm.h1
2 files changed, 11 insertions, 1 deletions
diff --git a/scumm/script_v2.cpp b/scumm/script_v2.cpp
index 9a63d71547..645899ebed 100644
--- a/scumm/script_v2.cpp
+++ b/scumm/script_v2.cpp
@@ -291,7 +291,7 @@ void Scumm::setupOpcodes2()
&Scumm::o6_pickOneOf,
/* CC */
&Scumm::o6_pickOneOfDefault,
- &Scumm::o6_invalid,
+ &Scumm::o6_unknownCD,
&Scumm::o6_invalid,
&Scumm::o6_invalid,
/* D0 */
@@ -3127,6 +3127,15 @@ void Scumm::o6_getActorPriority()
push(a->layer);
}
+void Scumm::o6_unknownCD() {
+ int a, b, c, d;
+ a = pop();
+ b = pop();
+ c = pop();
+ d = pop();
+ warning("o6_unknownCD: stub(%d, %d, %d, %d)", a, b, c, d);
+}
+
void Scumm::decodeParseString2(int m, int n)
{
byte b;
diff --git a/scumm/scumm.h b/scumm/scumm.h
index b3728b397f..bd537c69d4 100644
--- a/scumm/scumm.h
+++ b/scumm/scumm.h
@@ -1230,6 +1230,7 @@ public:
void o6_getAnimateVariable();
void o6_drawBlastObject();
void o6_getActorPriority();
+ void o6_unknownCD();
/* Scumm Vars */
byte VAR_EGO;