[Scummvm-cvs-logs] SF.net SVN: scummvm:[44056] scummvm/trunk/engines/teenagent/callbacks.cpp
megath at users.sourceforge.net
megath at users.sourceforge.net
Sun Sep 13 14:58:38 CEST 2009
Revision: 44056
http://scummvm.svn.sourceforge.net/scummvm/?rev=44056&view=rev
Author: megath
Date: 2009-09-13 12:58:35 +0000 (Sun, 13 Sep 2009)
Log Message:
-----------
fixed sounds for the earlier callbacks
Modified Paths:
--------------
scummvm/trunk/engines/teenagent/callbacks.cpp
Modified: scummvm/trunk/engines/teenagent/callbacks.cpp
===================================================================
--- scummvm/trunk/engines/teenagent/callbacks.cpp 2009-09-13 12:48:57 UTC (rev 44055)
+++ scummvm/trunk/engines/teenagent/callbacks.cpp 2009-09-13 12:58:35 UTC (rev 44056)
@@ -289,6 +289,8 @@
case 0x44fc: //pull out spring from bed
playSound(53, 25);
+ playSound(24, 27);
+ playSound(5, 36);
playActorAnimation(839);
moveTo(278, scene->getPosition().y, 0, true);
inventory->add(0x50);
@@ -299,7 +301,8 @@
if (CHECK_FLAG(0xDBE5, 1)) {
scene->displayMessage((const char *)res->dseg.ptr(0x57c0));
} else {
- playSound(49);
+ playSound(49, 14);
+ playSound(5, 21);
playActorAnimation(869);
inventory->add(0x58);
SET_FLAG(0xDBE5, 1);
@@ -366,7 +369,7 @@
displayMessage(0x5528);
return true;
- case 0x4705: { //prison: getting lamp bulb
+ case 0x4705: //prison: getting lamp bulb
moveTo(144, 185, 4);
playSound(56, 15);
setOns(0, 86); //hiding lamp
@@ -376,7 +379,8 @@
setOns(0, 87);
playSound(34, 1);
- playActorAnimation(818);
+ playSound(5, 15);
+ playActorAnimation(818, true);
playAnimation(819, 1, true);
waitAnimation();
@@ -386,7 +390,6 @@
disableObject(6);
enableObject(5);
inventory->add(0x4c);
- }
return true;
case 0x4794: //prison cell door
@@ -398,7 +401,8 @@
return true;
case 0x47bc: //prison: examining trash can
- playSound(49, 5);
+ playSound(79, 5);
+ playSound(1, 14);
playActorAnimation(966);
displayMessage(0x5955);
return true;
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