[Scummvm-cvs-logs] SF.net SVN: scummvm:[54214] scummvm/trunk/engines/sci/engine/kgraphics.cpp
thebluegr at users.sourceforge.net
thebluegr at users.sourceforge.net
Fri Nov 12 00:48:02 CET 2010
Revision: 54214
http://scummvm.svn.sourceforge.net/scummvm/?rev=54214&view=rev
Author: thebluegr
Date: 2010-11-11 23:48:01 +0000 (Thu, 11 Nov 2010)
Log Message:
-----------
SCI2: Make robots return immediately for now, till they're implemented
Based on a patch by lskovlun
Modified Paths:
--------------
scummvm/trunk/engines/sci/engine/kgraphics.cpp
Modified: scummvm/trunk/engines/sci/engine/kgraphics.cpp
===================================================================
--- scummvm/trunk/engines/sci/engine/kgraphics.cpp 2010-11-11 23:46:53 UTC (rev 54213)
+++ scummvm/trunk/engines/sci/engine/kgraphics.cpp 2010-11-11 23:48:01 UTC (rev 54214)
@@ -1260,6 +1260,7 @@
// SCI32 variant, can't work like sci16 variants
reg_t kCantBeHere32(EngineState *s, int argc, reg_t *argv) {
+ // TODO
// reg_t curObject = argv[0];
// reg_t listReference = (argc > 1) ? argv[1] : NULL_REG;
@@ -1409,6 +1410,10 @@
break;
case 8: // sync
//warning("kRobot(sync), obj %04x:%04x", PRINT_REG(argv[1]));
+ // HACK: Make robots return immediately for now,
+ // otherwise they just hang for a while.
+ // TODO: Replace with proper robot functionality.
+ writeSelectorValue(s->_segMan, argv[1], SELECTOR(signal), -1);
break;
default:
warning("kRobot(%d)", subop);
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