ThorstenB
dd7c88b8cb
Make voiceplayer independent
...
- former mk-viii voiceplayer is now an independent FGVoicePlayer
- voiceplayer still sits in mk-viii module for now
- add option to configure location/prefix of voice samples
- add pause/resume to voiceplayer
2011-02-25 21:12:34 +01:00
Torsten Dreyer
f938a23d7c
clear two gcc warnings
2011-02-25 20:46:18 +01:00
Torsten Dreyer
41e69a0795
Merge branch 'next' of http://git.gitorious.org/fg/flightgear into next
2011-02-22 08:24:45 +01:00
Torsten Dreyer
6c3035af60
allow proxy to set as an url
2011-02-20 17:14:30 +01:00
Torsten Dreyer
e5fb1f281f
Merge branch 'next' of gitorious.org:fg/flightgear into next
2011-02-20 12:06:41 +01:00
Torsten Dreyer
3ccfdac8fe
use http_proxy environment variable
2011-02-20 11:42:21 +01:00
Torsten Dreyer
031ed14fb2
Merge branch 'next' of http://git.gitorious.org/fg/flightgear into next
2011-02-20 11:12:22 +01:00
ThorstenB
6cd0e5aac4
Merge remote branch 'origin/releases/2.2.0' into next
2011-02-19 12:00:43 +01:00
ThorstenB
118d8fbca5
#84 : John Denker: Set correct file modes
...
Sources shouldn't be executable.
2011-02-19 11:55:43 +01:00
Torsten Dreyer
556885e553
remove unused code and use code from simgear
2011-02-19 11:23:36 +01:00
ThorstenB
3c3f3a096e
John Denker: move branch cut and apply clamps
...
fixed un-normalized outputs
2011-02-16 19:53:10 +01:00
John Denker
214919da20
More accurate, more symmetrical computation of tangent vector.
2011-02-16 19:44:23 +01:00
John Denker
02f42b8816
fix up some comments
2011-02-16 19:44:14 +01:00
John Denker
54fb3b64d0
Implement gs-direct-deg property.
...
Useful when posing aircraft for pictures, not quite on glideslope.
2011-02-16 19:34:38 +01:00
ThorstenB
8962477cfa
Fix huge multiplayer memory leak.
...
Almost all FGPropertyData elements received via MP were leaked.
Property data is now cleanly deallocated in the FGExternalMotionData destructor.
Thanks to Jester for reporting rising mem consumption in MP mode.
2011-02-16 00:49:00 +01:00
Torsten Dreyer
8e81541cd5
Merge branch 'next' of http://git.gitorious.org/fg/flightgear into next
2011-02-15 20:09:53 +01:00
Tim Moore
9c98258ab0
Merge branch 'releases/2.2.0' into next
...
Conflicts:
CMakeModules/FindSvnClient.cmake
src/FDM/JSBSim/JSBSim.cxx
2011-02-15 13:26:24 +01:00
Tim Moore
c5366cceb6
accomodate changes to osgDB::DatabasePager interface
...
The change was introduced in OSG SVN revision 12080. Note: that
revision has a bug that causes fgfs to crash. The bug is fixed in
revision 12170.
2011-02-15 12:42:53 +01:00
Torsten Dreyer
96a902a2eb
Merge branch 'next' of http://git.gitorious.org/fg/flightgear into next
2011-02-14 22:15:37 +01:00
Torsten Dreyer
df370549c3
Warning fixes for MSVC
2011-02-14 22:11:56 +01:00
Torsten Dreyer
5ec361ae06
Fix wrong throttle-position on init (trim)
2011-02-14 21:01:48 +01:00
Torsten Dreyer
a1acd92a1c
gcc warning fixes
2011-02-14 20:58:54 +01:00
Torsten Dreyer
eb68d1a927
Merge branch 'next' of http://git.gitorious.org/fg/flightgear into next
2011-02-14 20:54:09 +01:00
Torsten Dreyer
ddd04d91ca
TankProperties: don't allow negative values
2011-02-14 20:45:59 +01:00
Torsten Dreyer
fff48bdd6a
Refactor controls.cxx: use simgear functions
...
- use TiedPropertyList
- use SG_CLAMP_RANGE
2011-02-14 20:44:20 +01:00
Torsten Dreyer
03aac3de8b
Refactor ridgelift: use simgear::TiedPropertyList
2011-02-14 20:26:39 +01:00
ThorstenB
7bc9749d91
Support scenery reloading (needs simgear update).
...
TileMgr subsystem reinit: remove all scenery tiles from scenegraph and
clear cache (simgear update required).
"normal" sim resets: no TileMgr reset is needed (avoid reloading scenery).
2011-02-13 19:26:55 +01:00
ThorstenB
4a351fdd8b
Update tile loader options whenever its config properties change
...
New listener for tile-loader properties.
2011-02-13 19:26:44 +01:00
ThorstenB
45f526aca5
Minor output format issue.
2011-02-13 19:26:32 +01:00
ThorstenB
526cd9fa6e
Avoid crash and/or long delay on shutdown in METAR loader.
...
Catching loader thread on subsystem destruction is too late, since it
depends on other subsystems (which are destroyed earlier).
=> Need to stop & join thread during subsystem shutdown.
Also changed loader sleep logic - to avoid excessive delays (up to
30 seconds) on shutdown.
(Issues mostly happened when running offline with realwx enabled.)
2011-02-13 18:44:56 +01:00
ThorstenB
ae320ca46c
Avoid crash and/or long delay on shutdown in METAR loader.
...
Catching loader thread on subsystem destruction is too late, since it
depends on other subsystems (which are destroyed earlier).
=> Need to stop & join thread during subsystem shutdown.
Also changed loader sleep logic - to avoid excessive delays (up to
30 seconds) on shutdown.
(Issues mostly happened when running offline with realwx enabled.)
2011-02-13 16:54:08 +01:00
Torsten Dreyer
c7cccd8758
TankProperty: a bugfix and a new properties
...
- Fix initial number of TankProperty instances (thanks to Csaba)
- Add new property for unusable fuel and compute "empty" state
2011-02-12 21:36:58 +01:00
ThorstenB
a4ebec667d
Ivan Ngeow: Fixed compile for FreeBSD platforms.
2011-02-11 18:54:54 +01:00
ThorstenB
8ca9f26e1b
Ivan Ngeow: Fixed compile for FreeBSD platforms.
2011-02-11 18:53:35 +01:00
Torsten Dreyer
94d870d930
Support more than eight tanks
...
I was naive enough to think that no aircraft ever uses more
than eight tanks. Csabe proved me wrong and came up with a
fix - Thanks.
2011-02-08 21:23:02 +01:00
Torsten Dreyer
07190fb953
Merge branch 'next' of http://git.gitorious.org/fg/flightgear into next
2011-02-06 22:28:40 +01:00
Torsten Dreyer
fcf1709df6
Fix the tank properties if no content was defined in fg
2011-02-06 22:08:46 +01:00
Torsten Dreyer
e3fe296eaa
Merge branch 'next' of http://git.gitorious.org/fg/flightgear into next
2011-02-06 20:33:05 +01:00
Torsten Dreyer
292b0214fb
Repair windows vc90 build broken by TankProperties commit
2011-02-06 20:04:12 +01:00
Torsten Dreyer
717ffe584f
Unified handling of (fuel-)tank properties
...
Ensure consistent properties for all fuel tanks
2011-02-06 17:33:31 +01:00
ThorstenB
591ef4ab01
Fixed incomplete merge of JSBSim.cxx
...
Commit 287cc74965
wasn't merged to release/2.2.0
properly by Commit b649f97b19
.
2011-02-06 16:46:36 +01:00
Torsten Dreyer
49dda9bfb6
Merge branch 'next' of http://git.gitorious.org/fg/flightgear into next
2011-02-06 15:44:30 +01:00
Torsten Dreyer
d1b35578c8
Move tiedpropertylist from flightgear to simgear
2011-02-06 15:44:09 +01:00
ThorstenB
ac71778319
Bertrand Coconnier: updated fix for #204 and #222 : JSBSim reset
...
Use shared property pointers instead of path strings, adapt method
names to JSBSim style, catch all property ties, proper error handling
when tieing failed.
2011-02-06 15:34:32 +01:00
ThorstenB
6b6d7059de
Improved fix for #204 and #222 : JSBSim::unbind() needs to untie _all_ its properties
...
Extends and partially reverts commit 287cc74965
Previous fix did not consider properties outside the /fdm/jsbsim branch.
FGPropertyManager now keeps track of all its tied properties - and provides
a method to cleanly untie them again.
2011-02-06 15:34:16 +01:00
ThorstenB
68728c9449
Betrand Coconnier: fix bugs #47,#184: roll/pitch/speed via command-line
...
Specifying initial roll, pitch and speed should be working again.
2011-02-06 15:33:49 +01:00
ThorstenB
b649f97b19
Fix for bug #204 and #222 by Bertrand Coconnier; NaNs (bug #222 ) were basically generated because the method JSBSim::unbind() was not implemented in JSBSim.cxx.
2011-02-06 15:33:27 +01:00
ThorstenB
0d233c0dfc
Bertrand Coconnier: updated fix for #204 and #222 : JSBSim reset
...
Use shared property pointers instead of path strings, adapt method
names to JSBSim style, catch all property ties, proper error handling
when tieing failed.
2011-02-06 15:16:58 +01:00
ThorstenB
ad8d46ba64
Improved fix for #204 and #222 : JSBSim::unbind() needs to untie _all_ its properties
...
Extends and partially reverts commit 287cc74965
Previous fix did not consider properties outside the /fdm/jsbsim branch.
FGPropertyManager now keeps track of all its tied properties - and provides
a method to cleanly untie them again.
2011-02-05 17:49:26 +01:00
ThorstenB
edfc06119a
Not reported by cppcheck: fix another memory leak :)
...
Extends/changes commit 687be04678
to fix a related second leak (with "model").
2011-02-04 19:38:22 +01:00