Tim Moore
0d9f2e3c95
Merge branch 'topic/pu-crash'
2010-01-11 07:46:27 +01:00
Tim Moore
ff96add35f
Merge branch 'timoore/props'
2010-01-11 07:46:13 +01:00
ehofman
8e4d979aca
Don't initialize the soundmanager wehn defining --disable-sound. Sound can still be enabled at runtime by setting /sim/sound/working to 'true'
2010-01-10 23:33:57 +01:00
durk
d8ae90801a
Some additional changes to ensure that FlightGear at least compiles after configuring with --disable-atcdcl. Some substitution code is added in ATC/atcutils.cxx and ATC/atcutils.hxx. Note that the new code doesn't run properly yet. Instead, it is just meant to identify which parts need replacement. Getting that to work will be the next step.
2010-01-05 22:21:49 +01:00
ehofman
56ed207097
Tatsuhiro Nishioka:
...
These patches fixes minor bug in addition to providing --with-openal-framework and --with-cocoa-framework.
Now you can use your own version of OpenAL.framework for selecting various audio output device.
Plus, you can build FG/SG on Snow Leopard with cocoa configuration.
2010-01-05 22:21:17 +01:00
torsten
168af9dc1e
- added a differential filter
...
- use /orientation/track-deg instead of computing our own track
- some cosmetic changes
2010-01-05 22:20:42 +01:00
torsten
78d8e7edfd
now that there is a true track property, the magnetic track is nice to have, too.
2010-01-05 22:19:58 +01:00
torsten
f14fc6b98f
wrong logic never found the 'end'
2010-01-03 22:43:40 +01:00
torsten
1290c25a38
eliminate gcc warnings
2010-01-03 22:40:04 +01:00
torsten
c0b64dccdb
purge gcc warning
...
xxx will be initialized after yyy
2010-01-03 22:39:44 +01:00
torsten
690395354f
provide a property /orientation/track
...
The track is computed between two subsequent settings of the geodetic position and represents the true track.
Also the _set_Latitude() and _set_Longitude() methods were removed. Use _set_Geodetic_Position(lat,lon) instead.
2010-01-03 22:26:16 +01:00
torsten
149c6acc85
purge gcc warnings:
...
- xxx will be initialized after yyy
- age_factor may be used uninitialized
2010-01-03 10:35:33 +01:00
durk
8114d1d899
Conditional compilation of ATCDCL module. Use --disable-atcdcl to try building flightgear without ATCDCL code.
2009-12-30 17:44:06 +01:00
Tim Moore
1e6ed8db68
Move getLoggingClasses() result buffer to file level.
...
Getting it out of the function fixes some corruption problems at program exit.
2009-12-30 17:34:58 +01:00
torsten
95e2d62d94
bugfix: don't call the update_helper() for every instance of FGXMLAutopilot. Compute the helper properties only once per FGXMLAutopilotGroup's update() method. Only one AutopilotGroup shall be instantiated, but many Autopilots may exist.
2009-12-30 10:34:11 +01:00
ehofman
0238a09c4d
skip voice delimiter (messages).
2009-12-30 10:29:41 +01:00
ehofman
2a53154e0f
Stuart Buchanan: Properly catch an exception.
2009-12-30 10:29:05 +01:00
jmt
38e76a175e
Navradio: constructor cleanup, tie/untie helper, and a new 'operable' property to make it clear when the radio is functioning.
2009-12-27 10:03:08 +01:00
jmt
5cad5aa7da
Autopilot: clean up the helpers code (which drives the various /internal/) properties. Fixes various heading modes to work in all aircraft.
2009-12-27 09:34:39 +01:00
ehofman
90e44c6696
Display the (default) OpenAL renderer as well as the OpenAL vendor when requesting the list of sound devices.
2009-12-27 09:33:14 +01:00
jmt
7a007d9638
OSG ref_ptr fix: use .get() explicitly.
2009-12-27 09:32:18 +01:00
mfranz
7bec212976
error message like xmllint; prepare for python3
2009-12-27 09:30:44 +01:00
mfranz
30524c7c05
faster reload; colorize symbols; environment variable; comments++; cleanup
...
Note that Python's XML parser is picky about accents. Choose encoding
ISO-8859-1 for latin1 accents or UTF-8 for UTF-8 accents. (Don't use latin1
comments in UTF-8 encoding!) Use xmllint to check for the validity of your
XML files (or let ./scripts/tools/fg-check do that for you):
$ xmllint a26-yasim.xml
a26-yasim.xml:113: parser error : Input is not proper UTF-8, indicate encoding !
Bytes: 0xE8 0x73 0x20 0x6C
moment d'apr?s la doc : ________________________ = __________ =
^
2009-12-23 09:41:20 +01:00
jmt
8cfdfb21a5
GPS / route-manager: only drive autopilot true-heading in LEG mode, for compatibility with the old behaviour.
2009-12-23 09:40:58 +01:00
Csaba Halasz
8d7f61b568
Use the _controlled member instead of the tower pointer itself to check for valid tower in AILocalTraffic as tower doesn't always reflect current state.
2009-12-22 08:07:44 +01:00
jmt
053d405a5c
GPS: make 'loadRouteWaypoint' robust about bad scratch/index values.
2009-12-22 07:44:24 +01:00
jmt
52905875f9
Fix airportinfo() ILS frequency listing to use underscores.
2009-12-22 07:44:12 +01:00
jmt
d3d17d9ec0
Fix GPS SGPropertyNode tie() handling, as suggested by John Denker.
2009-12-22 07:42:14 +01:00
jmt
45d0e14cad
JSD: Make false courses work for more than one instance of navradio.
2009-12-22 07:41:30 +01:00
Csaba Halasz
8d4a838cd5
Initialize eta and dist_out members in TowerPlaneRec
2009-12-22 07:19:45 +01:00
Csaba Halasz
2683a9bd2d
Fix NaN due to possibly uninitialized _lastViewport in FGPanelNode
2009-12-22 07:18:58 +01:00
Csaba Halasz
54691c0086
Detect zero length fuselage in YASim/Airplane.cpp. Also, initialized _failureMsg member in the constructor and added another check for failure.
2009-12-22 07:17:27 +01:00
Csaba Halasz
41752bab57
Fix NaNs in TACAN::update
2009-12-22 07:16:44 +01:00
Csaba Halasz
de7a6b5e01
Fix NaN in FGAILocalTraffic::FlyTrafficPattern
2009-12-22 07:16:04 +01:00
Tim Moore
d2c7179cd0
Merge branches 'jmt/aircraft-name' and 'jmt/runway'
2009-12-22 00:16:38 +01:00
Tim Moore
bb419b588c
Merge branch 'durk/traffic'
2009-12-22 00:15:13 +01:00
Tim Moore
50c1fe2d3e
Merge branch 'ehofman/jsbsim'
2009-12-22 00:14:09 +01:00
Tim Moore
15b6c431c0
Merge branch 'timoore/merge-effects'
2009-12-20 12:05:07 +01:00
Tim Moore
b5c46a8d59
Merge branch 'ehofman/sound'
2009-12-20 11:11:16 +01:00
Tim Moore
17df9cc459
Change boost version to 1.37 again
...
boost/tr1 doesn't support unordered_map before, and I don't want to
test for it myself.
2009-12-20 10:34:07 +01:00
Tim Moore
b4f58ef24e
Drop boost version back to 1.34
2009-12-20 10:34:07 +01:00
Tim Moore
cb0472f33e
updated documentation of effects
...
Still a work in progress...
2009-12-20 10:34:07 +01:00
Tim Moore
fcd3348ae6
bump boost version to 1.37
2009-12-20 10:34:07 +01:00
Tim Moore
6acd657a05
Attach an empty shader program to the scene graph root
...
This establishes a default state of using the OpenGL fixed function pipeline.
Otherwise a shader program from a state set can leak into state sets that don't
use shaders at all.
2009-12-20 10:34:07 +01:00
Tim Moore
9a94b26609
Changes for animated effects
2009-12-20 10:34:07 +01:00
Tim Moore
3abe700dc8
Move the property expression code back to simgear.
2009-12-20 10:34:07 +01:00
Tim Moore
c4e62cc69f
Don't allocate string temporaries for comparisons.
2009-12-20 10:34:07 +01:00
jmt
88dc75695b
Probably best if the string and its length agree. :)
2009-12-20 08:44:50 +01:00
jmt
3180d5f4f2
Add runway ILS frequency to Nasal airportinfo() query, as discussed on the list.
2009-12-20 08:44:47 +01:00
jmt
718d99f420
Fix for Martin: tolerate runway-associated navaids with a bogus ICAO/runway ident.
2009-12-20 08:39:33 +01:00