diff options
author | Travis Howell | 2010-10-23 13:39:04 +0000 |
---|---|---|
committer | Travis Howell | 2010-10-23 13:39:04 +0000 |
commit | 3f4655c03f717a2db549ae2418dac2a22b8709e0 (patch) | |
tree | d16384b8d3fde2fc6bf179f5c706c6aa2e48d9a4 /engines/scumm/he | |
parent | 402fac9ed41cea27d37574aa2db37ce016372106 (diff) | |
download | scummvm-rg350-3f4655c03f717a2db549ae2418dac2a22b8709e0.tar.gz scummvm-rg350-3f4655c03f717a2db549ae2418dac2a22b8709e0.tar.bz2 scummvm-rg350-3f4655c03f717a2db549ae2418dac2a22b8709e0.zip |
SCUMM: Disable multiplayer option in Backyard Baseball 2001.
svn-id: r53731
Diffstat (limited to 'engines/scumm/he')
-rw-r--r-- | engines/scumm/he/logic_he.cpp | 24 | ||||
-rw-r--r-- | engines/scumm/he/logic_he.h | 8 |
2 files changed, 32 insertions, 0 deletions
diff --git a/engines/scumm/he/logic_he.cpp b/engines/scumm/he/logic_he.cpp index add9b982e2..8d1b1e941a 100644 --- a/engines/scumm/he/logic_he.cpp +++ b/engines/scumm/he/logic_he.cpp @@ -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 * */ diff --git a/engines/scumm/he/logic_he.h b/engines/scumm/he/logic_he.h index 7dd141c5b1..ab952abd5e 100644 --- a/engines/scumm/he/logic_he.h +++ b/engines/scumm/he/logic_he.h @@ -133,6 +133,14 @@ private: int op_1021(int32 *args); }; +class LogicHEbaseball2001 : public LogicHE { +public: + LogicHEbaseball2001(ScummEngine_v90he *vm) : LogicHE(vm) {} + + int versionID(); + int32 dispatch(int op, int numArgs, int32 *args); +}; + class LogicHEbasketball : public LogicHE { public: LogicHEbasketball(ScummEngine_v90he *vm) : LogicHE(vm) {} |