[Scummvm-cvs-logs] SF.net SVN: scummvm:[54960] scummvm/trunk/engines/mohawk/myst_stacks/myst. cpp
bgk at users.sourceforge.net
bgk at users.sourceforge.net
Sun Dec 19 08:26:34 CET 2010
Revision: 54960
http://scummvm.svn.sourceforge.net/scummvm/?rev=54960&view=rev
Author: bgk
Date: 2010-12-19 07:26:34 +0000 (Sun, 19 Dec 2010)
Log Message:
-----------
MOHAWK: Add 2 Myst var getter / setters
Modified Paths:
--------------
scummvm/trunk/engines/mohawk/myst_stacks/myst.cpp
Modified: scummvm/trunk/engines/mohawk/myst_stacks/myst.cpp
===================================================================
--- scummvm/trunk/engines/mohawk/myst_stacks/myst.cpp 2010-12-19 07:02:02 UTC (rev 54959)
+++ scummvm/trunk/engines/mohawk/myst_stacks/myst.cpp 2010-12-19 07:26:34 UTC (rev 54960)
@@ -365,10 +365,17 @@
} else {
return 1;
}
- //case 34: // FIXME: Sound Control In Dock Vault
- // return 0;
- // return 1;
- // return 2;
+ case 34: // Sound Control In Dock forechamber
+ if (myst.imagerActive) {
+ if (myst.imagerSelection == 40 && !myst.imagerMountainErased)
+ return 1;
+ else if (myst.imagerSelection == 67 && !myst.imagerWaterErased)
+ return 2;
+ else
+ return 0;
+ } else {
+ return 0;
+ }
case 35: // Dock Forechamber Imager Control Left Digit
if (myst.imagerSelection > 9)
return myst.imagerSelection / 10 - 1;
@@ -652,8 +659,8 @@
case 304: // Myst Library Image Present on Tower Rotation Map
_towerRotationMapInitialized = value;
break;
- //case 309: // FIXME: Red/Blue Book Opened
- // break;
+ case 309: // Tree stopped
+ _treeStopped = value;
default:
refresh = MystScriptParser::setVarValue(var, value);
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