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
/
init.c
diff --git
a/src/init.c
b/src/init.c
index ef6586f701c4f6465f59766db271a4c1a7fb0555..232f37a426733617f104e436b1b5377a2d584bc0 100644
(file)
--- a/
src/init.c
+++ b/
src/init.c
@@
-153,6
+153,7
@@
void InitNetworkServer()
#endif
}
#endif
}
+#if 0
static void ReloadCustomSounds()
{
int i;
static void ReloadCustomSounds()
{
int i;
@@
-161,9
+162,8
@@
static void ReloadCustomSounds()
printf("DEBUG: reloading sounds '%s' ...\n", artwork.sounds_set_current);
#endif
printf("DEBUG: reloading sounds '%s' ...\n", artwork.sounds_set_current);
#endif
-
FreeAllSounds
();
+
LoadSoundsInfo
();
- InitSoundList(NUM_SOUNDS);
for(i=0; i<NUM_SOUNDS; i++)
LoadSoundToList(sound_name[i], i);
}
for(i=0; i<NUM_SOUNDS; i++)
LoadSoundToList(sound_name[i], i);
}
@@
-178,11
+178,15
@@
static void ReloadCustomMusic()
LoadCustomMusic();
}
LoadCustomMusic();
}
+#endif
static void InitSoundServer()
{
OpenAudio();
static void InitSoundServer()
{
OpenAudio();
+#if 0
SetAudioReloadFunctions(ReloadCustomSounds, ReloadCustomMusic);
SetAudioReloadFunctions(ReloadCustomSounds, ReloadCustomMusic);
+#endif
+ InitSoundList(sound_name, NUM_SOUNDS);
StartSoundserver();
}
StartSoundserver();
}