]> git.mxchange.org Git - flightgear.git/commit
Erik Hofman:
authorcurt <curt>
Thu, 9 May 2002 04:24:39 +0000 (04:24 +0000)
committercurt <curt>
Thu, 9 May 2002 04:24:39 +0000 (04:24 +0000)
commit1c513868b77b38bf90f83d4473f0a436da97fbb8
treec2e8b73d4f0bf026324c1ea9f93723c45d7046e1
parent93e0274eb8804fd7c75617138da31e91564771c6
Erik Hofman:

I changed the sound code to let it use FGCondition. This changes the
code and configuration files rather drastically. Furthermore I've added
an in-transit mode which plays the sound only when the tied property is
changing.

Changes:

Code:
* Added condition support to trigger an event
* Removed the <type> section from the main event definition
   (this could be done using conditions)
* Removed the abillity to use several events with the same name,
   instead it is required to use conditions.
* Updated the README.xmlsound

Base package:
* Changed the configuration files accordingly.
* Changed flaps and gear to use the new in-stransit mode.
* Changed the flps.wav file so it can be looped.
* Created a new gear.wav file (whcih can be looped)
   and a gear-lck.wav file for gear locking sound.

IMPORTANT:
To change existing configuration files to the new ones, it is important
to pack events with the same name together into one singel event, using
the condition specification. Also, when using special types (inverted,
flip-flop, raise or fall) these should be changed to a conditions also.
For more information, please look at
FLightGear/docs-mini/README.xmlsound and the supplied aircraft
configuration files located under FlightGear/Aircraft (espesially
c172/c172-sound.xml and c310/c310-sound.xml).
docs-mini/README.xmlsound
src/Sound/fg_fx.cxx
src/Sound/fg_sound.cxx
src/Sound/fg_sound.hxx
src/Sound/soundmgr.cxx
src/Sound/soundmgr.hxx