diff options
Diffstat (limited to 'engines/scumm/he/logic_he.cpp')
-rw-r--r-- | engines/scumm/he/logic_he.cpp | 32 |
1 files changed, 28 insertions, 4 deletions
diff --git a/engines/scumm/he/logic_he.cpp b/engines/scumm/he/logic_he.cpp index add9b982e2..ed92c33105 100644 --- a/engines/scumm/he/logic_he.cpp +++ b/engines/scumm/he/logic_he.cpp @@ -77,11 +77,11 @@ int32 LogicHE::dispatch(int op, int numArgs, int32 *args) { #if 1 Common::String str; - str = Common::String::printf("LogicHE::dispatch(%d, %d, [", op, numArgs); + str = Common::String::format("LogicHE::dispatch(%d, %d, [", op, numArgs); if (numArgs > 0) - str += Common::String::printf("%d", args[0]); + str += Common::String::format("%d", args[0]); for (int i = 1; i < numArgs; i++) { - str += Common::String::printf(", %d", args[i]); + str += Common::String::format(", %d", args[i]); } str += "])"; @@ -232,7 +232,7 @@ int32 LogicHErace::op_1101(int32 *args) { int32 retval; float temp; - temp = args[0] / _userData[532]; + temp = args[0] / _userData[532]; if (_userData[519] != temp) { _userData[519] = temp; op_sub3(temp); @@ -955,6 +955,30 @@ int LogicHEsoccer::op_1021(int32 *args) { } /*********************** + * Backyard Baseball 2001 + * + */ + +int LogicHEbaseball2001::versionID() { + return 1; +} + +int32 LogicHEbaseball2001::dispatch(int op, int numArgs, int32 *args) { + int res = 0; + + switch (op) { + case 3001: + // Check network status + break; + + default: + LogicHE::dispatch(op, numArgs, args); + } + + return res; +} + +/*********************** * Backyard Basketball * */ |