projects
/
rocksndiamonds.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
rnd-20100218-1-src
[rocksndiamonds.git]
/
src
/
game_sp
/
Sound.c
diff --git
a/src/game_sp/Sound.c
b/src/game_sp/Sound.c
index 4bb5208421fe95494498a046ecaf5206f2bf2afe..b17c41936a5ce69cdec7cc7254a22f3a7c9c5a15 100644
(file)
--- a/
src/game_sp/Sound.c
+++ b/
src/game_sp/Sound.c
@@
-11,6
+11,8
@@
int MusicOnFlag;
int FXOnFlag;
int MusicOnFlag;
int FXOnFlag;
+#if 0
+
DirectSoundBuffer ZonkFX[1 + 1];
DirectSoundBuffer InfotronFX[1 + 1];
DirectSoundBuffer BugFX[1 + 1];
DirectSoundBuffer ZonkFX[1 + 1];
DirectSoundBuffer InfotronFX[1 + 1];
DirectSoundBuffer BugFX[1 + 1];
@@
-19,6
+21,8
@@
DirectSoundBuffer PushFX;
DirectSoundBuffer ExitFX;
DirectSoundBuffer BaseFX;
DirectSoundBuffer ExitFX;
DirectSoundBuffer BaseFX;
+#endif
+
void LoadSoundFX()
{
void LoadSoundFX()
{
@@
-56,6
+60,8
@@
void LoadSoundFX()
void subSoundFXZonk()
{
void subSoundFXZonk()
{
+#if 0
+
int i;
if (FXOnFlag == 0)
int i;
if (FXOnFlag == 0)
@@
-72,10
+78,14
@@
void subSoundFXZonk()
}
}
}
}
}
}
+
+#endif
}
void subSoundFXBug()
{
}
void subSoundFXBug()
{
+#if 0
+
int i;
if (FXOnFlag == 0)
int i;
if (FXOnFlag == 0)
@@
-92,10
+102,14
@@
void subSoundFXBug()
}
}
}
}
}
}
+
+#endif
}
void subSoundFXInfotron()
{
}
void subSoundFXInfotron()
{
+#if 0
+
int i;
if (FXOnFlag == 0)
int i;
if (FXOnFlag == 0)
@@
-112,10
+126,14
@@
void subSoundFXInfotron()
}
}
}
}
}
}
+
+#endif
}
void subSoundFXExplosion()
{
}
void subSoundFXExplosion()
{
+#if 0
+
int i;
if (FXOnFlag == 0)
int i;
if (FXOnFlag == 0)
@@
-132,10
+150,14
@@
void subSoundFXExplosion()
}
}
}
}
}
}
+
+#endif
}
void subSoundFXBase()
{
}
void subSoundFXBase()
{
+#if 0
+
if (FXOnFlag == 0)
return;
if (FXOnFlag == 0)
return;
@@
-146,10
+168,14
@@
void subSoundFXBase()
{
BaseFX.Play DSBPLAY_DEFAULT;
}
{
BaseFX.Play DSBPLAY_DEFAULT;
}
+
+#endif
}
void subSoundFXPush()
{
}
void subSoundFXPush()
{
+#if 0
+
if (FXOnFlag == 0)
return;
if (FXOnFlag == 0)
return;
@@
-160,10
+186,14
@@
void subSoundFXPush()
{
PushFX.Play DSBPLAY_DEFAULT;
}
{
PushFX.Play DSBPLAY_DEFAULT;
}
+
+#endif
}
void subSoundFXExit()
{
}
void subSoundFXExit()
{
+#if 0
+
if (FXOnFlag == 0)
return;
if (FXOnFlag == 0)
return;
@@
-174,6
+204,8
@@
void subSoundFXExit()
{
ExitFX.Play DSBPLAY_DEFAULT;
}
{
ExitFX.Play DSBPLAY_DEFAULT;
}
+
+#endif
}
void subMusicInit()
}
void subMusicInit()