[Scummvm-cvs-logs] scummvm master -> f3fba318466d8afdfe14d42e4ef9f1902375166d

clone2727 clone2727 at gmail.com
Thu Jun 7 03:50:26 CEST 2012


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:
f3fba31846 SCUMM: Implement football2002 u32 opcode 1028


Commit: f3fba318466d8afdfe14d42e4ef9f1902375166d
    https://github.com/scummvm/scummvm/commit/f3fba318466d8afdfe14d42e4ef9f1902375166d
Author: Matthew Hoops (clone2727 at gmail.com)
Date: 2012-06-06T18:47:36-07:00

Commit Message:
SCUMM: Implement football2002 u32 opcode 1028

Scoreboard transitions now play

Changed paths:
    engines/scumm/he/logic/football.cpp



diff --git a/engines/scumm/he/logic/football.cpp b/engines/scumm/he/logic/football.cpp
index f86f97e..5a0d423 100644
--- a/engines/scumm/he/logic/football.cpp
+++ b/engines/scumm/he/logic/football.cpp
@@ -45,6 +45,7 @@ private:
 	int op_1022(int32 *args);
 	int op_1023(int32 *args);
 	int op_1024(int32 *args);
+	int op_1028();
 };
 
 int LogicHEfootball::versionID() {
@@ -83,6 +84,11 @@ int32 LogicHEfootball::dispatch(int op, int numArgs, int32 *args) {
 		res = op_1024(args);
 		break;
 
+	case 1028:
+		// Backyard Football 2002 only
+		res = op_1028();
+		break;
+
 	case 8221968:
 		// Someone had a fun and used his birthday as opcode number
 		res = getFromArray(args[0], args[1], args[2]);
@@ -281,6 +287,12 @@ int LogicHEfootball::op_1024(int32 *args) {
 	return 1;
 }
 
+int LogicHEfootball::op_1028() {
+	// Backyard Football 2002 only
+	writeScummVar(108, 100000000);
+	return 1;
+}
+
 LogicHE *makeLogicHEfootball(ScummEngine_v90he *vm) {
 	return new LogicHEfootball(vm);
 }






More information about the Scummvm-git-logs mailing list