[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Pingus-CVS] CVS: Games/Pingus/src/actions bomber.cxx,1.6,1.7
From: |
grumbel |
Subject: |
[Pingus-CVS] CVS: Games/Pingus/src/actions bomber.cxx,1.6,1.7 |
Date: |
22 Aug 2002 00:36:32 -0000 |
Update of /usr/local/cvsroot/Games/Pingus/src/actions
In directory dark:/tmp/cvs-serv7629/actions
Modified Files:
bomber.cxx
Log Message:
- replaced some incorrect free()'s with xmlFree()
- added some Free[tm] sounds
- some quirks in the sound code, no fix, but at least it no longer crashes
Index: bomber.cxx
===================================================================
RCS file: /usr/local/cvsroot/Games/Pingus/src/actions/bomber.cxx,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -d -r1.6 -r1.7
--- bomber.cxx 14 Aug 2002 12:45:02 -0000 1.6
+++ bomber.cxx 22 Aug 2002 00:36:30 -0000 1.7
@@ -25,8 +25,9 @@
#include "../force_vector.hxx"
#include "../string_converter.hxx"
#include "../pingu.hxx"
-#include "bomber.hxx"
+#include "../sounds.hxx"
#include "../particles/particle_holder.hxx"
+#include "bomber.hxx"
bool Bomber::static_surface_loaded = false;
CL_Surface Bomber::bomber_radius;
@@ -77,7 +78,7 @@
sprite.update (delta);
if (sprite.get_frame () > 9 && !sound_played) {
- pingu->get_world ()->play_wav("sounds/explode.wav", pingu->get_pos ());
+ pingu->get_world ()->play_wav("sounds/plop.wav", pingu->get_pos ());
sound_played = true;
}
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Pingus-CVS] CVS: Games/Pingus/src/actions bomber.cxx,1.6,1.7,
grumbel <=
- Prev by Date:
[Pingus-CVS] [Bug #1048] Game stays active after minimize or workspace change
- Next by Date:
[Pingus-CVS] CVS: Games/Pingus/src/input axis_factory.cxx,1.7,1.8 button_factory.cxx,1.6,1.7 pointer_factory.cxx,1.4,1.5 scroller_factory.cxx,1.5,1.6
- Previous by thread:
[Pingus-CVS] [Bug #1048] Game stays active after minimize or workspace change
- Next by thread:
[Pingus-CVS] CVS: Games/Pingus/src/input axis_factory.cxx,1.7,1.8 button_factory.cxx,1.6,1.7 pointer_factory.cxx,1.4,1.5 scroller_factory.cxx,1.5,1.6
- Index(es):