projects
/
rocksndiamonds.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
rnd-20040927-3-src
[rocksndiamonds.git]
/
src
/
game_em
/
init.c
diff --git
a/src/game_em/init.c
b/src/game_em/init.c
index 7f775a05322b586bf40a066a4f88e63bef26a70d..c92ebd3658405cd8778bc2bd5e72dd284aea98fa 100644
(file)
--- a/
src/game_em/init.c
+++ b/
src/game_em/init.c
@@
-57,6
+57,7
@@
static const char *sound_names[SAMPLE_MAX] =
"12.collect.au",
"13.diamond.au",
"14.squash.au",
"12.collect.au",
"13.diamond.au",
"14.squash.au",
+ "14.squash.au",
"15.drip.au",
"16.push.au",
"17.dirt.au",
"15.drip.au",
"16.push.au",
"17.dirt.au",
@@
-97,6
+98,7
@@
static const int sound_volume[SAMPLE_MAX] =
100,
100,
100,
100,
100,
100,
+ 100,
20,
100,
100,
20,
100,
100,
@@
-293,6
+295,11
@@
void play_sound(int x, int y, int sample)
#endif
}
#endif
}
+void play_element_sound(int x, int y, int sample, int element)
+{
+ play_sound(x, y, sample);
+}
+
void sound_play(void)
{
#if 0
void sound_play(void)
{
#if 0