Ejemplo n.º 1
0
int I_StartSound (int id, void *data, int vol, int sep, int pitch, int priority)
{
/*
  // hacks out certain PC sounds
  if (snd_SfxDevice == PC
	&& (data == S_sfx[sfx_posact].data
	||  data == S_sfx[sfx_bgact].data
	||  data == S_sfx[sfx_dmact].data
	||  data == S_sfx[sfx_dmpain].data
	||  data == S_sfx[sfx_popain].data
	||  data == S_sfx[sfx_sawidl].data)) return -1;

  else
		*/
	return SFX_PlayPatch(data, pitch, sep, vol, 0, 0);

}
Ejemplo n.º 2
0
int I_StartSound(int id, void *data, int vol, int sep, int pitch,
                 int priority)
{
    return SFX_PlayPatch(data, pitch, sep, vol, 0, 0);
}