[Scummvm-cvs-logs] SF.net SVN: scummvm:[43928] scummvm/trunk/engines/teenagent/callbacks.cpp

megath at users.sourceforge.net megath at users.sourceforge.net
Fri Sep 4 00:41:16 CEST 2009


Revision: 43928
          http://scummvm.svn.sourceforge.net/scummvm/?rev=43928&view=rev
Author:   megath
Date:     2009-09-03 22:41:15 +0000 (Thu, 03 Sep 2009)

Log Message:
-----------
implemented switch in cellar callback

Modified Paths:
--------------
    scummvm/trunk/engines/teenagent/callbacks.cpp

Modified: scummvm/trunk/engines/teenagent/callbacks.cpp
===================================================================
--- scummvm/trunk/engines/teenagent/callbacks.cpp	2009-09-03 22:03:37 UTC (rev 43927)
+++ scummvm/trunk/engines/teenagent/callbacks.cpp	2009-09-03 22:41:15 UTC (rev 43928)
@@ -1170,7 +1170,6 @@
 			playSound(28, 3);
 			playAnimation(596);
 			setOns(1, 30);
-			//loadScene(24, 100, 100);//TODO: Extend and fix the coords
 			SET_FLAG(0xDBA3, 1);
 			enableObject(8);
 		} else {
@@ -1274,6 +1273,22 @@
 		}
 		return true;
 		
+	case 0x6176:
+		if (CHECK_FLAG(0xDBA4, 1)) {
+			displayMessage(0x3801);
+			return true;
+		}
+		playSound(71, 6);
+		playAnimation(598);
+		setOns(2, 0);
+		playAnimation(660, 1);
+		disableObject(1);
+		setLan(1, 0);
+		SET_FLAG(0xDBA4, 1);
+		loadScene(24, scene->getPosition());
+		
+		return true;
+		
 	case 0x6480: //flips
 		if (CHECK_FLAG(0xDB96, 1)) {
 			setOns(3, 36);


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