- Removed xlat_parser.h from the repository. Lemon was always being run on

xlat_parser.y because both files had the same time stamp after an update,
  and Lemon only rewrites the header file if it's changed.
- Added $volume SNDINFO command. This is multiplied with the volume the sound
  is played at to arrive at the final volume (before distance attenuation).
- Added the CHAN_AREA flag to disable 3D panning within the min distance of a
  sound. Sector sound sequences (except doors) use this flag.
- Added the CHAN_LOOP flag to replace the S_Looped* sound functions.
- Restored the sound limiting.


SVN r849 (trunk)
This commit is contained in:
Randy Heit 2008-03-25 04:42:26 +00:00
commit aef34f9aa5
24 changed files with 510 additions and 430 deletions

View file

@ -64,16 +64,16 @@ void DCeiling::PlayCeilingSound ()
{
if (m_Sector->seqType >= 0)
{
SN_StartSequence (m_Sector, m_Sector->seqType, SEQ_PLATFORM, 0);
SN_StartSequence (m_Sector, m_Sector->seqType, SEQ_PLATFORM, 0, false);
}
else
{
if (m_Silent == 2)
SN_StartSequence (m_Sector, "Silence", 0);
SN_StartSequence (m_Sector, "Silence", 0, false);
else if (m_Silent == 1)
SN_StartSequence (m_Sector, "CeilingSemiSilent", 0);
SN_StartSequence (m_Sector, "CeilingSemiSilent", 0, false);
else
SN_StartSequence (m_Sector, "CeilingNormal", 0);
SN_StartSequence (m_Sector, "CeilingNormal", 0, false);
}
}