aboutsummaryrefslogtreecommitdiff
path: root/scumm
diff options
context:
space:
mode:
authorTravis Howell2004-09-07 13:30:25 +0000
committerTravis Howell2004-09-07 13:30:25 +0000
commit452f783fc8559d3b5d492598054d024dee33f577 (patch)
treebe8c996af00c2cb3652e4fb14c2508a4cf4a8d43 /scumm
parent5532f83a56e23d9fcb46bedd9c326be2d7684fcd (diff)
downloadscummvm-rg350-452f783fc8559d3b5d492598054d024dee33f577.tar.gz
scummvm-rg350-452f783fc8559d3b5d492598054d024dee33f577.tar.bz2
scummvm-rg350-452f783fc8559d3b5d492598054d024dee33f577.zip
Add opcode
svn-id: r14946
Diffstat (limited to 'scumm')
-rw-r--r--scumm/intern.h1
-rw-r--r--scumm/script_v72he.cpp11
-rw-r--r--scumm/script_v80he.cpp2
-rw-r--r--scumm/script_v90he.cpp2
4 files changed, 13 insertions, 3 deletions
diff --git a/scumm/intern.h b/scumm/intern.h
index 9d6297fcf0..2837ae303e 100644
--- a/scumm/intern.h
+++ b/scumm/intern.h
@@ -733,6 +733,7 @@ protected:
void o72_arrayOps();
void o72_dimArray();
void o72_dim2dimArray();
+ void o72_unknownC1();
void o72_drawWizImage();
void o72_shuffle();
void o72_jumpToScript();
diff --git a/scumm/script_v72he.cpp b/scumm/script_v72he.cpp
index 48a3e0262b..069755241f 100644
--- a/scumm/script_v72he.cpp
+++ b/scumm/script_v72he.cpp
@@ -286,7 +286,7 @@ void ScummEngine_v72he::setupOpcodes() {
OPCODE(o6_startScriptQuick2),
/* C0 */
OPCODE(o72_dim2dimArray),
- OPCODE(o6_invalid),
+ OPCODE(o72_unknownC1),
OPCODE(o6_invalid),
OPCODE(o6_invalid),
/* C4 */
@@ -1242,6 +1242,15 @@ void ScummEngine_v72he::o72_dim2dimArray() {
defineArray(fetchScriptWord(), data, 0, a, 0, b);
}
+void ScummEngine_v72he::o72_unknownC1() {
+ byte string[80];
+
+ copyScriptString(string);
+ pop();
+
+ debug(1, "stub o72_unknownC1(%s)", string);
+}
+
void ScummEngine_v72he::drawWizImage(int restype, int resnum, int x1, int y1, int flags) {
const uint8 *dataPtr = getResourceAddress(restype, resnum);
if (dataPtr) {
diff --git a/scumm/script_v80he.cpp b/scumm/script_v80he.cpp
index cf9337ba2f..746a019bc3 100644
--- a/scumm/script_v80he.cpp
+++ b/scumm/script_v80he.cpp
@@ -286,7 +286,7 @@ void ScummEngine_v80he::setupOpcodes() {
OPCODE(o6_startScriptQuick2),
/* C0 */
OPCODE(o72_dim2dimArray),
- OPCODE(o6_invalid),
+ OPCODE(o72_unknownC1),
OPCODE(o6_invalid),
OPCODE(o6_invalid),
/* C4 */
diff --git a/scumm/script_v90he.cpp b/scumm/script_v90he.cpp
index 4bf6f74949..fba95c58c1 100644
--- a/scumm/script_v90he.cpp
+++ b/scumm/script_v90he.cpp
@@ -286,7 +286,7 @@ void ScummEngine_v90he::setupOpcodes() {
OPCODE(o6_startScriptQuick2),
/* C0 */
OPCODE(o72_dim2dimArray),
- OPCODE(o6_invalid),
+ OPCODE(o72_unknownC1),
OPCODE(o6_invalid),
OPCODE(o6_invalid),
/* C4 */