jmt
049e1ae23e
Fix compilation - missing include of globals.hxx
2009-09-09 08:56:32 +02:00
jmt
6fa1b3dfd0
Add normalised glideslope deviation property to nav-radio.
2009-09-09 08:56:32 +02:00
jmt
e2f0d1960e
Further re-factoring of nav-radio code, again no functionality changed should occur. Radio reception / GPS slaving / Glideslope handling and CDI updating are all separate functions now.
2009-09-09 08:56:32 +02:00
ehofman
e8db3a514a
Dont execute code in case the soundmanager isn't properly initialized
2009-09-09 08:56:32 +02:00
jmt
80e67b17c2
Set runway elevation to the airport elevation, and don't reset ILS/LOC elevation when aligning with runways.
2009-09-09 08:56:31 +02:00
frohlich
2f6107982c
Use the new vector conversion functions.
...
Modified Files:
src/FDM/groundcache.cxx src/Main/renderer.cxx
src/Main/viewer.cxx src/Scenery/scenery.cxx
2009-09-09 08:56:31 +02:00
frohlich
5c56757303
Move dynamic_casts to EffectGeode into the findMaterial method.
...
Modified Files:
src/Scenery/scenery.cxx
2009-09-09 08:56:31 +02:00
frohlich
690231ff64
Fix a problem introduced with the past vector changes.
...
Fix a potential nan problem with the scenery_available method.
Modified Files:
src/Scenery/scenery.cxx
2009-09-09 08:56:31 +02:00
ehofman
1fa48722b4
One last update; remember whether input or output is requested. This will make sure FlightGear isn't communicating in both directions all the time.
2009-09-09 08:56:31 +02:00
ehofman
aeefd12522
Don't forget to clear the previous configuration
2009-09-09 08:56:31 +02:00
ehofman
ea4a3ee1df
Make FGIO a proper subsystem and add a reinit method for the generic protocol. This should allow for easy runtime reloading of the configuration file.
2009-09-09 08:56:31 +02:00
ehofman
f220feb684
Sync. with JSBSim (CVS) again
2009-09-09 08:56:31 +02:00
frohlich
d9d725f28d
Remove obsolete version test.
...
Modified Files:
src/Main/fg_os_osgviewer.cxx
2009-09-09 08:56:31 +02:00
frohlich
4e7b084568
Simplify, fix some comments.
...
Modified Files:
src/Main/viewer.cxx
2009-09-09 08:56:31 +02:00
frohlich
93d2f8a963
Correct logic to determine if we really have a hit.
...
Modified Files:
src/Scenery/scenery.cxx
2009-09-09 08:56:31 +02:00
frohlich
cb10d714fd
Initialize all members.
...
Modified Files:
src/AIModel/AIAircraft.cxx src/AIModel/AIBase.cxx
2009-09-09 08:56:31 +02:00
frohlich
ccb9e64caf
Avoid division by zero.
...
Modified Files:
src/Instrumentation/dme.cxx
2009-09-09 08:56:31 +02:00
torsten
e98d7a1ea4
Tatsuhiro Nishioka:
...
FG crashes at exit at very high likelihood.
The cause of the crash is that some subsystems (input and gui) call get_subsystems() at their destructor.
This is very dangerous since SGSubSystemMgr::get_subsystem() can refer to already deleted subsystems.
2009-09-09 08:56:31 +02:00
frohlich
8676c2bbd8
Replace the SGVec*::sg() methods with the equivalent SGVec*::data() calls.
...
Modified Files:
src/Traffic/Schedule.cxx src/Sound/fg_fx.cxx src/Main/main.cxx
src/Instrumentation/navradio.cxx
src/AIModel/AIFlightPlanCreateCruise.cxx
2009-09-09 08:56:30 +02:00
torsten
a26ca9f3e3
Tatsuhiro Nishioka:
...
Fixed: wrong event name for abs-hat0-y
Modified: let AxisElement to generate normalized input (-1.0 to 1.0).
This can be temporal and can be removed when AxisEvent normalizes its value.
Modified: clean up code
Added: some comments so other Mac developers can see what's going on
2009-09-09 08:56:30 +02:00
jmt
80a6317ab6
Re-structure the nav-radio code, in preparation for cleaner GPS-slave separation. No functionality changes (hopefully).
2009-09-09 08:56:30 +02:00
jmt
5a01c55335
Allow the joystick hat to move the view, even when the sim is paused.
2009-09-09 08:56:30 +02:00
jmt
25c55f67bf
More precise matching of ILS records to navaids.
2009-09-03 00:02:48 +02:00
ehofman
98b5e7e6fe
Bertrand Coconnier:
...
Additionally to the original fix (problem with the Tec2b matrix initialization) I have modified the code for the "STRUCTURE" contacts in order not to generate NaNs when the z direction of the body frame is normal to the ground normal. Now there should no longer be any NaN generated by the landing gear code.
2009-09-03 00:02:48 +02:00
jmt
294a7b675a
Add support for processing the ICAO.ils.xml scenery data into ILS/LOC nav records.
2009-09-03 00:02:48 +02:00
durk
ce084ab1c5
Two minor (codewise) fixes to ensure everything works as advertised:
...
- Make sure to initialize the groundnetwork after succesful loading.
- Ensure that the AI groundnetwork code proximity detection code used the
correct values for bearing. (Note that detecting the proximity of the
user aircraft appears still to be broken. I'll look into that later).
2009-09-03 00:02:48 +02:00
durk
1ae2b59333
Added two missing files from JSBSim.org that were missing in the last sync.
2009-09-03 00:02:48 +02:00
ehofman
48cad71a70
Sync with JSBSim CVS again
2009-09-03 00:02:48 +02:00
curt
f07a83c73a
Allow setting of NED velocities.
2009-09-03 00:02:48 +02:00
jmt
2dee4ef14f
Update FGRunway to process information from threshold.xml files.
2009-09-03 00:02:47 +02:00
jmt
7ff374ef8b
Trigger lazy loading of Airport data from the scenery on access.
2009-09-03 00:02:47 +02:00
torsten
b1e2b7ee20
missing declaration of SGPropertyNode
2009-09-03 00:02:47 +02:00
jmt
cc0c19f62e
XMLLoader re-factoring.
2009-09-03 00:02:47 +02:00
jmt
1c015387ba
Initial framing for reading in-scenery airport data.
2009-09-03 00:02:47 +02:00
torsten
a1a610f7d5
- added support for MAC OSX and initial hotplug support from Tatsuhiro Nishioka
...
- added support for per-device <nasal> <open> and <close>
2009-09-03 00:02:47 +02:00
Tim Moore
be4b46b894
change back unsigned byte count to signed (multiplaymgr)
...
Also, small fixes to generic protocol from AndersG
2009-08-27 00:12:44 +02:00
Tim Moore
acbcf94bde
AIGroundVehicle from Vivian Meazza
2009-08-25 12:52:50 +02:00
timoore
b1ea517fc9
AIGroundVehicle from Vivian Meazza
2009-08-25 12:48:16 +02:00
Tim Moore
5b29cd4cc0
fix warnings in Multiplayer, Scripting, and Time
2009-08-24 18:07:19 +02:00
Tim Moore
62620177aa
Fix transmission of float and double values in generic protocol
...
gcc -Wall -Werror turned up some problems with the type-punning of pointers
used to write the message buffer; it turns out that truncated ints were being
written to the message buffer when values needed to be swapped to network byte
order.
2009-08-24 18:06:06 +02:00
Tim Moore
0a64405cad
fix warnings in Main
2009-08-24 18:03:49 +02:00
Tim Moore
67c7d8642a
fix warnings in Instrumentation
...
Mostly signed comparisons and order of initializers in constructors
2009-08-24 18:02:15 +02:00
Tim Moore
8238bcddbd
fix warnings in GUI code
2009-08-24 18:00:10 +02:00
Tim Moore
185ede0159
Fix order of initializers in constructor
2009-08-24 17:58:27 +02:00
Tim Moore
5a1e0d92f4
fix gcc warnings
...
Mostly comment out unused variables.
2009-08-24 17:57:32 +02:00
Tim Moore
1e049f24b0
fixes to remove warnings
...
Comment out unused variables; fix a real bug in uiuc_gear().
2009-08-24 17:56:39 +02:00
Tim Moore
bfe942268e
Initialize some variables
2009-08-24 17:54:48 +02:00
Tim Moore
c6d4f3b0ff
Fix to LaRCsim interpolation code
...
Is this code still used? I don't know, but -Wall -Werror turned up a problem.
2009-08-24 17:53:57 +02:00
Tim Moore
d838ef5f40
compilation fixes for gcc -Wall -Werror
...
Most are cosmetic, but the changes in the FGATCInstruction constructor
fix unitialized members.
2009-08-24 17:13:31 +02:00
Tim Moore
b1a3d8ba16
more warning fixes
...
flightgear compiles with gcc -Wall -Werror
2009-08-24 00:01:37 +02:00