pingus-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Pingus-CVS] CVS: Games/Pingus/src/actions exiter.cxx,1.2,1.3 splashed.c


From: grumbel
Subject: [Pingus-CVS] CVS: Games/Pingus/src/actions exiter.cxx,1.2,1.3 splashed.cxx,1.2,1.3
Date: 22 Aug 2002 02:20:14 -0000

Update of /usr/local/cvsroot/Games/Pingus/src/actions
In directory dark:/tmp/cvs-serv9940/actions

Modified Files:
        exiter.cxx splashed.cxx 
Log Message:
some sound fixes/changes

Index: exiter.cxx
===================================================================
RCS file: /usr/local/cvsroot/Games/Pingus/src/actions/exiter.cxx,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- exiter.cxx  13 Jun 2002 14:25:12 -0000      1.2
+++ exiter.cxx  22 Aug 2002 02:20:12 -0000      1.3
@@ -37,7 +37,7 @@
     {
       if (pingu->get_status() != PS_EXITED)
        {
-         PingusSound::play_sound("sounds/oing.wav");
+         PingusSound::play_sound("sounds/yipee.wav");
          pingu->set_status(PS_EXITED); 
        }
     }

Index: splashed.cxx
===================================================================
RCS file: /usr/local/cvsroot/Games/Pingus/src/actions/splashed.cxx,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- splashed.cxx        13 Jun 2002 14:25:12 -0000      1.2
+++ splashed.cxx        22 Aug 2002 02:20:12 -0000      1.3
@@ -17,6 +17,7 @@
 //  along with this program; if not, write to the Free Software
 //  Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
 
+#include "../world.hxx"
 #include "../pingu.hxx"
 #include "../sound.hxx"
 #include "splashed.hxx"
@@ -44,7 +45,7 @@
   if (!particle_thrown)
     {
       particle_thrown = true;
-      PingusSound::play_sound("sounds/splat.wav");
+      pingu->get_world ()->play_wav("sounds/splash.wav", pingu->get_pos ());
     }
 
   if (sprite.finished ())





reply via email to

[Prev in Thread] Current Thread [Next in Thread]