[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.7,1.8 bomber.hxx
From: |
grumbel |
Subject: |
[Pingus-CVS] CVS: Games/Pingus/src/actions bomber.cxx,1.7,1.8 bomber.hxx,1.6,1.7 |
Date: |
22 Aug 2002 10:21:31 -0000 |
Update of /usr/local/cvsroot/Games/Pingus/src/actions
In directory dark:/tmp/cvs-serv23987/actions
Modified Files:
bomber.cxx bomber.hxx
Log Message:
added oh-no sound
Index: bomber.cxx
===================================================================
RCS file: /usr/local/cvsroot/Games/Pingus/src/actions/bomber.cxx,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -d -r1.7 -r1.8
--- bomber.cxx 22 Aug 2002 00:36:30 -0000 1.7
+++ bomber.cxx 22 Aug 2002 10:21:29 -0000 1.8
@@ -42,6 +42,12 @@
}
void
+Bomber::on_successfull_apply (Pingu* pingu)
+{
+ pingu->get_world ()->play_wav("sounds/ohno.wav", pingu->get_pos ());
+}
+
+void
Bomber::init()
{
// Only load the surface again if no static_surface is available
Index: bomber.hxx
===================================================================
RCS file: /usr/local/cvsroot/Games/Pingus/src/actions/bomber.hxx,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -d -r1.6 -r1.7
--- bomber.hxx 2 Jul 2002 21:46:36 -0000 1.6
+++ bomber.hxx 22 Aug 2002 10:21:29 -0000 1.7
@@ -51,6 +51,7 @@
void update(float delta);
void update_position(float delta);
int activation_time() { return 50; }
+ void on_successfull_apply (Pingu*);
};
#endif
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Pingus-CVS] CVS: Games/Pingus/src/actions bomber.cxx,1.7,1.8 bomber.hxx,1.6,1.7,
grumbel <=
- Prev by Date:
[Pingus-CVS] CVS: Games/Pingus/data/sounds ohno.wav,NONE,1.1
- Next by Date:
[Pingus-CVS] CVS: Games/Pingus/src pingu.cxx,1.17,1.18 pingu_action.hxx,1.9,1.10
- Previous by thread:
[Pingus-CVS] CVS: Games/Pingus/data/sounds ohno.wav,NONE,1.1
- Next by thread:
[Pingus-CVS] CVS: Games/Pingus/src pingu.cxx,1.17,1.18 pingu_action.hxx,1.9,1.10
- Index(es):