[Scummvm-cvs-logs] SF.net SVN: scummvm:[39624] scummvm/trunk/engines/parallaction/exec_br.cpp
peres001 at users.sourceforge.net
peres001 at users.sourceforge.net
Mon Mar 23 09:05:20 CET 2009
Revision: 39624
http://scummvm.svn.sourceforge.net/scummvm/?rev=39624&view=rev
Author: peres001
Date: 2009-03-23 08:05:20 +0000 (Mon, 23 Mar 2009)
Log Message:
-----------
Partly implemented the STOP script instruction.
Modified Paths:
--------------
scummvm/trunk/engines/parallaction/exec_br.cpp
Modified: scummvm/trunk/engines/parallaction/exec_br.cpp
===================================================================
--- scummvm/trunk/engines/parallaction/exec_br.cpp 2009-03-23 08:00:39 UTC (rev 39623)
+++ scummvm/trunk/engines/parallaction/exec_br.cpp 2009-03-23 08:05:20 UTC (rev 39624)
@@ -503,7 +503,13 @@
DECLARE_INSTRUCTION_OPCODE(stop) {
- warning("Parallaction_br::instOp_stop not yet implemented");
+ ZonePtr z = (*ctxt._inst)->_z;
+ if (ACTIONTYPE(z) == kZoneHear) {
+ warning("Parallaction_br::instOp_stop not yet implemented for HEAR zones");
+ // TODO: stop music or sound effects generated by a zone.
+ } else {
+ z->_flags &= ~kFlagsActing;
+ }
}
DECLARE_INSTRUCTION_OPCODE(loop) {
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