[Scummvm-cvs-logs] SF.net SVN: scummvm: [27064] scummvm/trunk/engines/saga

thebluegr at users.sourceforge.net thebluegr at users.sourceforge.net
Sun Jun 3 17:50:26 CEST 2007


Revision: 27064
          http://scummvm.svn.sourceforge.net/scummvm/?rev=27064&view=rev
Author:   thebluegr
Date:     2007-06-03 08:50:25 -0700 (Sun, 03 Jun 2007)

Log Message:
-----------
Opcode 11 is sfLockUser. Also updated Scene::getHeight() for this change. Now, the interface is locked when the scripts lock it. This prevents erroneous actor movement when skipping speech by left clicking, and other incorrect behavior. Special thanks to h00ligan for all his help

Modified Paths:
--------------
    scummvm/trunk/engines/saga/scene.h
    scummvm/trunk/engines/saga/sfuncs.cpp

Modified: scummvm/trunk/engines/saga/scene.h
===================================================================
--- scummvm/trunk/engines/saga/scene.h	2007-06-03 14:29:52 UTC (rev 27063)
+++ scummvm/trunk/engines/saga/scene.h	2007-06-03 15:50:25 UTC (rev 27064)
@@ -326,6 +326,8 @@
 	int getHeight() const {
 		if (_vm->_interface->getMode() == kPanelChapterSelection)
 			return _vm->getDisplayInfo().logicalHeight;
+		else if (_vm->getGameType() == GType_IHNM && _vm->_scene->currentChapterNumber() == 8)
+			return _vm->getDisplayInfo().logicalHeight;
 		else
 			return _vm->getDisplayInfo().sceneHeight;
 	}

Modified: scummvm/trunk/engines/saga/sfuncs.cpp
===================================================================
--- scummvm/trunk/engines/saga/sfuncs.cpp	2007-06-03 14:29:52 UTC (rev 27063)
+++ scummvm/trunk/engines/saga/sfuncs.cpp	2007-06-03 15:50:25 UTC (rev 27064)
@@ -148,7 +148,7 @@
 		OPCODE(sfSetActorFacing),
 		OPCODE(sfStartBgdAnim),
 		OPCODE(sfStopBgdAnim),
-		OPCODE(sfNull),
+		OPCODE(sfLockUser),
 		OPCODE(sfPreDialog),
 		OPCODE(sfKillActorThreads),
 		OPCODE(sfFaceTowards),


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