* Use spaces for line-out purposes (rather than tabs)

* Tune down the volume of the oil-pumps, power-spikes and power hums a bit, to make them less dominant (and annoying) (from patch #822 by Buginator)


git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@2681 4a71c877-e1ca-e34f-864e-861f7616d084
master
Giel van Schijndel 2007-11-02 22:37:20 +00:00
parent a316f10a0e
commit 533e7e92bf
3 changed files with 10 additions and 10 deletions

View File

@ -401,9 +401,9 @@ audio_module
/*Building FX*/
audio "oilpump.ogg" loop 20 1800
audio "powerhum.ogg" loop 20 1800
audio "powerspk.ogg" oneshot 20 1800
audio "oilpump.ogg" loop 10 1800
audio "powerhum.ogg" loop 15 1800
audio "powerspk.ogg" oneshot 15 1800
audio "steam.ogg" oneshot 20 1800
audio "ecmtower.ogg" oneshot 20 1800
audio "freroar.ogg" oneshot 100 1800

View File

@ -421,7 +421,7 @@ BOOL sound_Play2DSample( TRACK *psTrack, AUDIO_SAMPLE *psSample, BOOL bQueued )
return FALSE;
}
volume = ((float)psTrack->iVol / 100.0f); // each object can have OWN volume!
psSample->fVol = volume; // save volume
psSample->fVol = volume; // save computed volume
volume *= sfx_volume; // and now take into account the Users sound Prefs.
alGenSources( 1, &(psSample->iSample) );
alSourcef( psSample->iSample, AL_PITCH, 1.0f );