[Scummvm-cvs-logs] SF.net SVN: scummvm:[53731] scummvm/trunk/engines/scumm
Kirben at users.sourceforge.net
Kirben at users.sourceforge.net
Sat Oct 23 15:39:05 CEST 2010
Revision: 53731
http://scummvm.svn.sourceforge.net/scummvm/?rev=53731&view=rev
Author: Kirben
Date: 2010-10-23 13:39:04 +0000 (Sat, 23 Oct 2010)
Log Message:
-----------
SCUMM: Disable multiplayer option in Backyard Baseball 2001.
Modified Paths:
--------------
scummvm/trunk/engines/scumm/he/logic_he.cpp
scummvm/trunk/engines/scumm/he/logic_he.h
scummvm/trunk/engines/scumm/scumm.cpp
Modified: scummvm/trunk/engines/scumm/he/logic_he.cpp
===================================================================
--- scummvm/trunk/engines/scumm/he/logic_he.cpp 2010-10-23 09:30:26 UTC (rev 53730)
+++ scummvm/trunk/engines/scumm/he/logic_he.cpp 2010-10-23 13:39:04 UTC (rev 53731)
@@ -955,6 +955,30 @@
}
/***********************
+ * 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
*
*/
Modified: scummvm/trunk/engines/scumm/he/logic_he.h
===================================================================
--- scummvm/trunk/engines/scumm/he/logic_he.h 2010-10-23 09:30:26 UTC (rev 53730)
+++ scummvm/trunk/engines/scumm/he/logic_he.h 2010-10-23 13:39:04 UTC (rev 53731)
@@ -133,6 +133,14 @@
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) {}
Modified: scummvm/trunk/engines/scumm/scumm.cpp
===================================================================
--- scummvm/trunk/engines/scumm/scumm.cpp 2010-10-23 09:30:26 UTC (rev 53730)
+++ scummvm/trunk/engines/scumm/scumm.cpp 2010-10-23 13:39:04 UTC (rev 53731)
@@ -1645,6 +1645,10 @@
_logicHE = new LogicHEsoccer(this);
break;
+ case GID_BASEBALL2001:
+ _logicHE = new LogicHEbaseball2001(this);
+ break;
+
case GID_BASKETBALL:
_logicHE = new LogicHEbasketball(this);
break;
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the Scummvm-git-logs
mailing list