diff options
author | Matthew Hoops | 2012-06-06 21:46:25 -0400 |
---|---|---|
committer | Matthew Hoops | 2012-06-06 21:47:36 -0400 |
commit | f3fba318466d8afdfe14d42e4ef9f1902375166d (patch) | |
tree | a9f1e42e58c9cf319ee125a6d17623b20a2c8d63 | |
parent | 8c3d2fc7410ab3f55735f6a78dadbeec23c59b6c (diff) | |
download | scummvm-rg350-f3fba318466d8afdfe14d42e4ef9f1902375166d.tar.gz scummvm-rg350-f3fba318466d8afdfe14d42e4ef9f1902375166d.tar.bz2 scummvm-rg350-f3fba318466d8afdfe14d42e4ef9f1902375166d.zip |
SCUMM: Implement football2002 u32 opcode 1028
Scoreboard transitions now play
-rw-r--r-- | engines/scumm/he/logic/football.cpp | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/engines/scumm/he/logic/football.cpp b/engines/scumm/he/logic/football.cpp index f86f97eaf7..5a0d423508 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); } |