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 bomber.cxx,1.29,1.30 splashe


From: grumbel
Subject: [Pingus-CVS] CVS: Games/Pingus/src/actions bomber.cxx,1.29,1.30 splashed.cxx,1.13,1.14
Date: 3 Mar 2003 20:32:20 -0000

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

Modified Files:
        bomber.cxx splashed.cxx 
Log Message:
seperated PLF loading a bit, not 100% sure if this is a good idea or not.


Index: bomber.cxx
===================================================================
RCS file: /usr/local/cvsroot/Games/Pingus/src/actions/bomber.cxx,v
retrieving revision 1.29
retrieving revision 1.30
diff -u -d -r1.29 -r1.30
--- bomber.cxx  19 Feb 2003 09:50:36 -0000      1.29
+++ bomber.cxx  3 Mar 2003 20:32:18 -0000       1.30
@@ -61,7 +61,7 @@
 void
 Bomber::on_successfull_apply ()
 {
-  WorldObj::get_world()->play_wav("sounds/ohno.wav", pingu->get_pos ());
+  WorldObj::get_world()->play_sound("ohno", pingu->get_pos ());
 }
 
 void
@@ -112,7 +112,7 @@
     }
 
   if (sprite.get_frame () > 9 && !sound_played) {
-    WorldObj::get_world()->play_wav("sounds/plop.wav", pingu->get_pos ());
+    WorldObj::get_world()->play_sound("plop", pingu->get_pos ());
     sound_played = true;
   }
 

Index: splashed.cxx
===================================================================
RCS file: /usr/local/cvsroot/Games/Pingus/src/actions/splashed.cxx,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -d -r1.13 -r1.14
--- splashed.cxx        19 Feb 2003 09:50:36 -0000      1.13
+++ splashed.cxx        3 Mar 2003 20:32:18 -0000       1.14
@@ -43,7 +43,7 @@
   if (!particle_thrown)
     {
       particle_thrown = true;
-      WorldObj::get_world()->play_wav("sounds/splash.wav", pingu->get_pos());
+      WorldObj::get_world()->play_sound("splash", pingu->get_pos());
     }
 
   if (sprite.finished())





reply via email to

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