[Scummvm-cvs-logs] SF.net SVN: scummvm:[55861] scummvm/trunk/engines/mohawk/myst_stacks/myst. cpp

bgk at users.sourceforge.net bgk at users.sourceforge.net
Wed Feb 9 21:52:47 CET 2011


Revision: 55861
          http://scummvm.svn.sourceforge.net/scummvm/?rev=55861&view=rev
Author:   bgk
Date:     2011-02-09 20:52:46 +0000 (Wed, 09 Feb 2011)

Log Message:
-----------
MOHAWK: Complete Myst opcode 209, fixing the bookcase door lintel updates

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	2011-02-09 20:07:55 UTC (rev 55860)
+++ scummvm/trunk/engines/mohawk/myst_stacks/myst.cpp	2011-02-09 20:52:46 UTC (rev 55861)
@@ -3230,9 +3230,25 @@
 		_libraryBookcaseChanged = false;
 		_libraryBookcaseMoving = false;
 
+		_vm->_cursor->hideCursor();
+
 		// Play transform sound and video
 		_vm->_sound->replaceSoundMyst(_libraryBookcaseSoundId);
 		_libraryBookcaseMovie->playMovie();
+
+		if (_state.libraryBookcaseDoor) {
+			_vm->_gfx->copyImageSectionToBackBuffer(11179, Common::Rect(0, 0, 106, 81), Common::Rect(0, 72, 106, 153));
+			_vm->_gfx->runTransition(6, Common::Rect(0, 72, 106, 153), 5, 10);
+			_vm->_sound->playSoundBlocking(7348);
+			_vm->_sound->replaceBackgroundMyst(4348, 16384);
+		} else {
+			_vm->_gfx->copyImageSectionToBackBuffer(11178, Common::Rect(0, 0, 107, 67), Common::Rect(437, 84, 544, 151));
+			_vm->_gfx->copyBackBufferToScreen(Common::Rect(437, 84, 544, 151));
+			_vm->_sound->playSoundBlocking(7348);
+			_vm->_sound->replaceBackgroundMyst(4334, 16384);
+		}
+
+		_vm->_cursor->showCursor();
 	}
 }
 


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