[Scummvm-cvs-logs] scummvm master -> 1946dead77378bbf16cb1ed65c9937226c749a5e

digitall dgturner at iee.org
Sun Jul 14 06:04:19 CEST 2013


This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .

Summary:
1946dead77 TUCKER: Fix for bug #3614697 - "Spanish version uncompletable..."


Commit: 1946dead77378bbf16cb1ed65c9937226c749a5e
    https://github.com/scummvm/scummvm/commit/1946dead77378bbf16cb1ed65c9937226c749a5e
Author: D G Turner (digitall at scummvm.org)
Date: 2013-07-13T21:04:02-07:00

Commit Message:
TUCKER: Fix for bug #3614697 - "Spanish version uncompletable..."

This add support for the unhandled "mof" instruction present in the
Spanish version. This effectively skips it as a NOP/invalid, which
prevents it locking up the game at the end of the 2nd part.

Changed paths:
    engines/tucker/tucker.cpp



diff --git a/engines/tucker/tucker.cpp b/engines/tucker/tucker.cpp
index 6b538a6..e3fd928 100644
--- a/engines/tucker/tucker.cpp
+++ b/engines/tucker/tucker.cpp
@@ -2991,6 +2991,7 @@ enum TableInstructionCode {
 	kCode_gfg,
 	kCode_gv,
 	kCode_loc,
+	kCode_mof,
 	kCode_opt,
 	kCode_opf,
 	kCode_ofg,
@@ -3041,6 +3042,7 @@ static const struct {
 	{ "gfg", kCode_gfg },
 	{ "gv",  kCode_gv  },
 	{ "loc", kCode_loc },
+	{ "mof", kCode_mof },
 	{ "opt", kCode_opt },
 	{ "opf", kCode_opf },
 	{ "ofg", kCode_ofg },
@@ -3232,6 +3234,9 @@ int TuckerEngine::executeTableInstruction() {
 	case kCode_loc:
 		_nextLocationNum = readTableInstructionParam(2);
 		return 1;
+	case kCode_mof:
+		// TODO: Unknown opcode in Spanish version. Identify if this has any function.
+		return 2;
 	case kCode_opt:
 		_conversationOptionsCount = readTableInstructionParam(2);
 		for (i = 0; i < _conversationOptionsCount; ++i) {






More information about the Scummvm-git-logs mailing list