ThorstenB
38226af24e
Improve timing statistics
...
Enable/disable and print statistics at run-time.
Configurable intervals and filters.
2011-03-23 23:09:02 +01:00
ThorstenB
b4c47b06d5
Drop unnecessary include dependency.
...
Make Csaba happy...
2011-03-23 22:50:56 +01:00
ThorstenB
189457f2af
Minor namespace issue
...
using "using" in the .cxx now :)
2011-03-23 22:49:18 +01:00
ThorstenB
5ace4e9632
Fix reset during replay issue
...
Need to properly reset the replay manager's states on sim reset.
Also remove obsolete method.
2011-03-22 21:02:57 +01:00
Torsten Dreyer
0114fd962e
Fix broken tank properties. More verbose generic protocol error messages
2011-03-22 18:00:55 +01:00
ThorstenB
991beb0b5e
replay/FDM shell subsystem refactoring
...
Move final bits of replay code to where it belongs.
Use subsystem suspend/resume for FDM shell during instant replay.
2011-03-21 23:07:05 +01:00
ThorstenB
b6d70d2c71
Replay improvements
...
Clear replay buffers on sim reset.
Allow instant replay to be activated properly when sim is paused.
2011-03-20 15:03:47 +01:00
Erik Hofman
51a6302f48
Make sure Include/config.h gets found which is located in /src
2011-03-19 16:04:32 +01:00
ThorstenB
befc533398
More virtual destructors.
2011-03-19 15:02:17 +01:00
ThorstenB
4b74636d04
Avoid nuisance sound effects after sim-reset.
2011-03-19 14:51:39 +01:00
ThorstenB
badec14d27
Cut&paste voiceplayer into a separate module.
...
GPWS and TCAS are now completely separate - but use the same voice player.
2011-03-09 23:49:25 +01:00
ThorstenB
59f2328551
Used tied property list.
2011-03-09 23:10:55 +01:00
ThorstenB
b3d59ed563
Fixed an property tieing issue on sim reset.
...
Oops, my commit f6fde388a2
untied the
tank properties also on reset - should also re-tie them after the
reset then...
2011-03-09 23:02:19 +01:00
ThorstenB
18ada05d41
Fix navreceiver to make DME work with ILS signals.
...
Property "dme-in-range" should also work with ILS signals, which include
a DME. The nav database (dme_list) doesn't have separate entries for
"ILS-DME" (unlike for "VOR-DME"), so searching a DME by frequency didn't
work for ILS.
=> "instrumentation/nav[*]/dme-in-range" can now be used to enable/disable
cockpit DME displays.
2011-03-09 22:04:03 +01:00
ThorstenB
f6fde388a2
Untie all TiedPropertyLists before destruction.
...
Untieing needs to be done prior to the destruction of the object which
aggregated the TiedPropertyList. So the TiedPropertyLists destructor can't
untie the properties automatically (and it doesn't). So, do some manual
clean-up.
2011-03-07 19:38:48 +01:00
ThorstenB
4761a3cdcf
Fix another (tiny) memory leak.
...
SGCloudField::addCloud does *not* keep a reference to SGNewCloud - so we
only need a temporary object. Also adapt to changed addCloud interface
to make things a little more obvious.
2011-03-07 19:38:48 +01:00
Csaba Halasz
ae8438333c
Quick fix for ascii generic input line separator problem
2011-03-06 02:38:39 +01:00
Torsten Dreyer
1050a35d92
prepare for subsystem_mgr.hxx no longer including props.hxx
...
subsystem_mgr.hxx will soon no longer include props.hxx since it
does not (need to) know about properties at all.
2011-02-27 12:53:47 +01:00
ThorstenB
645ef8036a
TCAS clean-up.
...
Change default voice samples.
2011-02-25 21:12:35 +01:00
ThorstenB
f6b9c5b908
Make AIplanes respond to TCAS RAs.
2011-02-25 21:12:35 +01:00
ThorstenB
27a0ff5442
Added tracker stage to TCAS.
...
Added relative/absolte altitude display mode to wxradar.
2011-02-25 21:12:35 +01:00
ThorstenB
0f7f7fce6b
Expose vertical speed for MP planes
...
vertical speed of MP planes was always 0,
calculate their (average) vertical speed since
it's required for TCAS and TCAS display
2011-02-25 21:12:35 +01:00
ThorstenB
b6eba5ce65
New TCAS display mode for wxradar.
...
- new mode to display traffic in TCAS-style
- select symbols according to TCAS-threat level
2011-02-25 21:12:35 +01:00
ThorstenB
bdd931aed9
Introduce new TCAS instrument
...
- implements a TCAS II v7.0
2011-02-25 21:12:35 +01:00
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
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
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
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
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
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