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 bridger.cxx,1.28,1.29 digger.


From: grumbel
Subject: [Pingus-CVS] CVS: Games/Pingus/src/actions bridger.cxx,1.28,1.29 digger.cxx,1.21,1.22 exiter.cxx,1.15,1.16 miner.cxx,1.20,1.21
Date: 4 Mar 2003 13:59:46 -0000

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

Modified Files:
        bridger.cxx digger.cxx exiter.cxx miner.cxx 
Log Message:
fixed memleak in sound


Index: bridger.cxx
===================================================================
RCS file: /usr/local/cvsroot/Games/Pingus/src/actions/bridger.cxx,v
retrieving revision 1.28
retrieving revision 1.29
diff -u -d -r1.28 -r1.29
--- bridger.cxx 19 Feb 2003 09:50:36 -0000      1.28
+++ bridger.cxx 4 Mar 2003 13:59:44 -0000       1.29
@@ -230,7 +230,7 @@
   name = "Bridger (" + to_string(bricks) + ")";
 
   if (bricks < 4)
-    PingusSound::play_sound("sounds/ting.wav");
+    PingusSound::play_sound("ting");
  
   if (pingu->direction.is_right())
     {

Index: digger.cxx
===================================================================
RCS file: /usr/local/cvsroot/Games/Pingus/src/actions/digger.cxx,v
retrieving revision 1.21
retrieving revision 1.22
diff -u -d -r1.21 -r1.22
--- digger.cxx  19 Feb 2003 09:50:36 -0000      1.21
+++ digger.cxx  4 Mar 2003 13:59:44 -0000       1.22
@@ -76,7 +76,7 @@
     {
       if (rel_getpixel(0, -1) ==  Groundtype::GP_SOLID)
        {
-         PingusSound::play_sound("sounds/chink.wav");
+         PingusSound::play_sound("chink");
          return false;  
        }
       else

Index: exiter.cxx
===================================================================
RCS file: /usr/local/cvsroot/Games/Pingus/src/actions/exiter.cxx,v
retrieving revision 1.15
retrieving revision 1.16
diff -u -d -r1.15 -r1.16
--- exiter.cxx  19 Feb 2003 09:50:36 -0000      1.15
+++ exiter.cxx  4 Mar 2003 13:59:44 -0000       1.16
@@ -41,7 +41,7 @@
     {
       if (pingu->get_status() != PS_EXITED)
        {
-         PingusSound::play_sound("sounds/yipee.wav");
+         PingusSound::play_sound("yipee");
          pingu->set_status(PS_EXITED); 
        }
     }

Index: miner.cxx
===================================================================
RCS file: /usr/local/cvsroot/Games/Pingus/src/actions/miner.cxx,v
retrieving revision 1.20
retrieving revision 1.21
diff -u -d -r1.20 -r1.21
--- miner.cxx   19 Feb 2003 09:50:36 -0000      1.20
+++ miner.cxx   4 Mar 2003 13:59:44 -0000       1.21
@@ -82,7 +82,7 @@
        || rel_getpixel(0, pingu_height) == Groundtype::GP_SOLID)
     {
       if (rel_getpixel(0, -1) == Groundtype::GP_SOLID)
-       PingusSound::play_sound("sounds/chink.wav");
+       PingusSound::play_sound("chink");
 
       WorldObj::get_world()->get_colmap ()->remove(miner_radius,
                                                   
static_cast<int>(pingu->get_x() - (miner_radius_width / 2) + pingu->direction), 





reply via email to

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