]> git.mxchange.org Git - flightgear.git/commit
Added an interface for an environment controller, together with a
authordavid <david>
Tue, 7 May 2002 00:03:54 +0000 (00:03 +0000)
committerdavid <david>
Tue, 7 May 2002 00:03:54 +0000 (00:03 +0000)
commitce69eb8e79e6de9cbdf6c4187ad4524c4ce642c9
tree7221d89d89fc6dfa3d908c2abacf97e96c2b8dd0
parentbe71e0f555c87799f405e6ce4c9d8e70d41fd5f9
Added an interface for an environment controller, together with a
default implementation that uses user-supplied params.  Currently, the
only parameters are

  /environment/params/base-wind-speed-kt
  /environment/params/gust-wind-speed-kt

but others will show up soon (i.e. sheer, variable direction, variable
visibility, etc.).  To activate these properties, you have to
configure --with-new-environment.

The gusting function is simplistic and needs to be replaced with
something better, though it doesn't feel too far off.
src/Environment/Makefile.am
src/Environment/environment.hxx
src/Environment/environment_ctrl.cxx [new file with mode: 0644]
src/Environment/environment_ctrl.hxx [new file with mode: 0644]
src/Environment/environment_mgr.cxx
src/Environment/environment_mgr.hxx