Add opcode
svn-id: r14946
This commit is contained in:
parent
5532f83a56
commit
452f783fc8
4 changed files with 13 additions and 3 deletions
|
@ -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();
|
||||
|
|
|
@ -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) {
|
||||
|
|
|
@ -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 */
|
||||
|
|
|
@ -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 */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue