projects
/
rocksndiamonds.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
rnd-20020428-3-src
[rocksndiamonds.git]
/
src
/
main.c
diff --git
a/src/main.c
b/src/main.c
index 8533d336d74f9b5479151118d3a12a00f2668bc7..335cee2329c7b391fb16aee053a089fd2da17502 100644
(file)
--- a/
src/main.c
+++ b/
src/main.c
@@
-136,20
+136,18
@@
char *sound_name[NUM_SOUNDS] =
"gate.wav"
};
"gate.wav"
};
-/*
background music
*/
-int background_loop[] =
+/*
sound effects: setup file identifiers and corresponding default filenames
*/
+struct
{
{
-#if 0
- SND_ALCHEMY,
- SND_CHASE,
- SND_NETWORK,
- SND_CZARDASZ,
- SND_TYGER,
- SND_VOYAGER,
- SND_TWILIGHT
-#endif
+ char *identifier;
+ char *default_filename;
+}
+sound_effect[NUM_SOUND_EFFECTS] =
+{
+ { "collecting_infotron", "infotron.wav" },
+ { "falling_zonk", "zonkdown.wav" },
+ { "pushing_zonk", "zonkpush.wav" }
};
};
-int num_bg_loops = sizeof(background_loop)/sizeof(int);
char *element_info[] =
{
char *element_info[] =
{