[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Pingus-CVS] CVS: Games/Pingus/contrib/soundtest Makefile,1.1,1.2 sound
From: |
grumbel |
Subject: |
[Pingus-CVS] CVS: Games/Pingus/contrib/soundtest Makefile,1.1,1.2 soundtest.cxx,1.4,1.5 |
Date: |
4 Mar 2003 19:22:21 -0000 |
Update of /usr/local/cvsroot/Games/Pingus/contrib/soundtest
In directory dark:/tmp/cvs-serv12052/soundtest
Modified Files:
Makefile soundtest.cxx
Log Message:
added script to extract text for translation from level files
Index: Makefile
===================================================================
RCS file: /usr/local/cvsroot/Games/Pingus/contrib/soundtest/Makefile,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- Makefile 18 Feb 2003 14:21:20 -0000 1.1
+++ Makefile 4 Mar 2003 19:22:19 -0000 1.2
@@ -7,7 +7,7 @@
$(PINGUS_DIR)/debug_stream.o \
$(PINGUS_DIR)/system.o
-soundtest : soundtest.cxx soundtest.hxx
+soundtest : soundtest.cxx soundtest.hxx $(PINGUS_LIBS)
$(CXX) -I$(PINGUS_DIR) $< $(PINGUS_LIBS) -o $@ $(LIBS)
# EOF #
Index: soundtest.cxx
===================================================================
RCS file: /usr/local/cvsroot/Games/Pingus/contrib/soundtest/soundtest.cxx,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -d -r1.4 -r1.5
--- soundtest.cxx 1 Mar 2003 22:31:55 -0000 1.4
+++ soundtest.cxx 4 Mar 2003 19:22:19 -0000 1.5
@@ -76,7 +76,7 @@
left_down = true;
float panning = (CL_Mouse::get_x()-200)/200.0f;
std::cout << "Panning: " << panning << std::endl;
- PingusSound::play_sound("sounds/ohno.wav", CL_Mouse::get_y()/400.0f,
+ PingusSound::play_sound("ohno", CL_Mouse::get_y()/400.0f,
panning);
}
else if (!CL_Mouse::left_pressed())
@@ -89,7 +89,7 @@
{
float panning = (CL_Mouse::get_x()-200)/200.0f;
std::cout << "Panning: " << panning << std::endl;
- PingusSound::play_sound("sounds/chink.wav", CL_Mouse::get_y()/400.0f,
+ PingusSound::play_sound("chink", CL_Mouse::get_y()/400.0f,
panning);
}
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Pingus-CVS] CVS: Games/Pingus/contrib/soundtest Makefile,1.1,1.2 soundtest.cxx,1.4,1.5,
grumbel <=
- Prev by Date:
[Pingus-CVS] CVS: Games/Pingus/data/levels/playable digger-tutorial2-grumbel.xml,1.2,1.3jumper-tutorial-grumbel.xml,1.3,1.4
- Next by Date:
[Pingus-CVS] CVS: Games/Pingus/contrib extract-gettext.sh,NONE,1.1 extract-gettext.xsl,NONE,1.1
- Previous by thread:
[Pingus-CVS] CVS: Games/Pingus/data/levels/playable digger-tutorial2-grumbel.xml,1.2,1.3jumper-tutorial-grumbel.xml,1.3,1.4
- Next by thread:
[Pingus-CVS] CVS: Games/Pingus/contrib extract-gettext.sh,NONE,1.1 extract-gettext.xsl,NONE,1.1
- Index(es):