]>
git.mxchange.org Git - flightgear.git/log
daveluff [Tue, 8 Sep 2009 20:55:30 +0000 (20:55 +0000)]
Fix MSVC compilation
torsten [Tue, 8 Sep 2009 17:50:14 +0000 (17:50 +0000)]
Tatsuhiro Nishioka:
Handle number keys on Keypad properly on Mac OS X
ehofman [Tue, 8 Sep 2009 17:07:31 +0000 (17:07 +0000)]
test for the presence of alut.h. if it's not found only display a warning message in gl-info and test-env-map. A clean build without glut installed is now possible.
ehofman [Tue, 8 Sep 2009 17:06:13 +0000 (17:06 +0000)]
Dont execute code in case the soundmanager isn't properly initialized
jmt [Tue, 8 Sep 2009 16:03:48 +0000 (16:03 +0000)]
Fix compilation - missing include of globals.hxx
jmt [Tue, 8 Sep 2009 16:02:59 +0000 (16:02 +0000)]
Add normalised glideslope deviation property to nav-radio.
jmt [Tue, 8 Sep 2009 14:23:44 +0000 (14:23 +0000)]
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.
ehofman [Tue, 8 Sep 2009 13:51:24 +0000 (13:51 +0000)]
Dont execute code in case the soundmanager isn't properly initialized
jmt [Tue, 8 Sep 2009 11:23:53 +0000 (11:23 +0000)]
Set runway elevation to the airport elevation, and don't reset ILS/LOC elevation when aligning with runways.
frohlich [Mon, 7 Sep 2009 21:40:46 +0000 (21:40 +0000)]
Use the new vector conversion functions.
Modified Files:
src/FDM/groundcache.cxx src/Main/renderer.cxx
src/Main/viewer.cxx src/Scenery/scenery.cxx
frohlich [Mon, 7 Sep 2009 20:40:08 +0000 (20:40 +0000)]
Move dynamic_casts to EffectGeode into the findMaterial method.
Modified Files:
src/Scenery/scenery.cxx
frohlich [Mon, 7 Sep 2009 18:01:33 +0000 (18:01 +0000)]
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
ehofman [Mon, 7 Sep 2009 10:19:45 +0000 (10:19 +0000)]
One last update; remember whether input or output is requested. This will make sure FlightGear isn't communicating in both directions all the time.
ehofman [Mon, 7 Sep 2009 07:52:30 +0000 (07:52 +0000)]
Don't forget to clear the previous configuration
ehofman [Mon, 7 Sep 2009 07:27:38 +0000 (07:27 +0000)]
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.
ehofman [Sat, 5 Sep 2009 12:22:54 +0000 (12:22 +0000)]
Sync. with JSBSim (CVS) again
frohlich [Sat, 5 Sep 2009 11:01:41 +0000 (11:01 +0000)]
Remove obsolete version test.
Modified Files:
src/Main/fg_os_osgviewer.cxx
frohlich [Sat, 5 Sep 2009 11:01:06 +0000 (11:01 +0000)]
Simplify, fix some comments.
Modified Files:
src/Main/viewer.cxx
frohlich [Fri, 4 Sep 2009 17:05:05 +0000 (17:05 +0000)]
Correct logic to determine if we really have a hit.
Modified Files:
src/Scenery/scenery.cxx
frohlich [Fri, 4 Sep 2009 17:03:50 +0000 (17:03 +0000)]
Initialize all members.
Modified Files:
src/AIModel/AIAircraft.cxx src/AIModel/AIBase.cxx
frohlich [Fri, 4 Sep 2009 17:01:53 +0000 (17:01 +0000)]
Avoid division by zero.
Modified Files:
src/Instrumentation/dme.cxx
torsten [Fri, 4 Sep 2009 05:42:58 +0000 (05:42 +0000)]
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.
frohlich [Thu, 3 Sep 2009 20:18:34 +0000 (20:18 +0000)]
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
torsten [Thu, 3 Sep 2009 08:45:43 +0000 (08:45 +0000)]
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
jmt [Wed, 2 Sep 2009 17:01:30 +0000 (17:01 +0000)]
Re-structure the nav-radio code, in preparation for cleaner GPS-slave separation. No functionality changes (hopefully).
jmt [Wed, 2 Sep 2009 14:07:43 +0000 (14:07 +0000)]
Allow the joystick hat to move the view, even when the sim is paused.
jmt [Mon, 31 Aug 2009 23:11:23 +0000 (23:11 +0000)]
More precise matching of ILS records to navaids.
ehofman [Mon, 31 Aug 2009 07:06:26 +0000 (07:06 +0000)]
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.
jmt [Sun, 30 Aug 2009 17:13:53 +0000 (17:13 +0000)]
Add support for processing the ICAO.ils.xml scenery data into ILS/LOC nav records.
durk [Sun, 30 Aug 2009 14:39:04 +0000 (14:39 +0000)]
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).
durk [Sun, 30 Aug 2009 12:25:08 +0000 (12:25 +0000)]
Added two missing files from JSBSim.org that were missing in the last sync.
ehofman [Sun, 30 Aug 2009 08:22:03 +0000 (08:22 +0000)]
Sync with JSBSim CVS again
curt [Sat, 29 Aug 2009 18:42:58 +0000 (18:42 +0000)]
Allow setting of NED velocities.
jmt [Sat, 29 Aug 2009 18:26:54 +0000 (18:26 +0000)]
Update FGRunway to process information from threshold.xml files.
jmt [Sat, 29 Aug 2009 18:00:14 +0000 (18:00 +0000)]
Trigger lazy loading of Airport data from the scenery on access.
torsten [Sat, 29 Aug 2009 13:24:33 +0000 (13:24 +0000)]
missing declaration of SGPropertyNode
jmt [Sat, 29 Aug 2009 10:21:51 +0000 (10:21 +0000)]
XMLLoader re-factoring.
jmt [Sat, 29 Aug 2009 10:21:21 +0000 (10:21 +0000)]
Initial framing for reading in-scenery airport data.
torsten [Fri, 28 Aug 2009 15:05:21 +0000 (15:05 +0000)]
- added support for MAC OSX and initial hotplug support from Tatsuhiro Nishioka
- added support for per-device <nasal> <open> and <close>
Tim Moore [Wed, 26 Aug 2009 22:12:44 +0000 (00:12 +0200)]
change back unsigned byte count to signed (multiplaymgr)
Also, small fixes to generic protocol from AndersG
Tim Moore [Tue, 25 Aug 2009 09:54:49 +0000 (11:54 +0200)]
AIGroundVehicle from Vivian Meazza
timoore [Tue, 25 Aug 2009 10:02:18 +0000 (10:02 +0000)]
AIGroundVehicle from Vivian Meazza
Tim Moore [Mon, 24 Aug 2009 16:07:19 +0000 (18:07 +0200)]
fix warnings in Multiplayer, Scripting, and Time
Tim Moore [Mon, 24 Aug 2009 16:06:06 +0000 (18:06 +0200)]
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.
Tim Moore [Mon, 24 Aug 2009 16:03:49 +0000 (18:03 +0200)]
fix warnings in Main
Tim Moore [Mon, 24 Aug 2009 16:02:15 +0000 (18:02 +0200)]
fix warnings in Instrumentation
Mostly signed comparisons and order of initializers in constructors
Tim Moore [Mon, 24 Aug 2009 16:00:10 +0000 (18:00 +0200)]
fix warnings in GUI code
Tim Moore [Mon, 24 Aug 2009 15:58:27 +0000 (17:58 +0200)]
Fix order of initializers in constructor
Tim Moore [Mon, 24 Aug 2009 15:57:32 +0000 (17:57 +0200)]
fix gcc warnings
Mostly comment out unused variables.
Tim Moore [Mon, 24 Aug 2009 15:56:39 +0000 (17:56 +0200)]
fixes to remove warnings
Comment out unused variables; fix a real bug in uiuc_gear().
Tim Moore [Mon, 24 Aug 2009 15:54:48 +0000 (17:54 +0200)]
Initialize some variables
Tim Moore [Mon, 24 Aug 2009 15:53:57 +0000 (17:53 +0200)]
Fix to LaRCsim interpolation code
Is this code still used? I don't know, but -Wall -Werror turned up a problem.
Tim Moore [Mon, 24 Aug 2009 15:13:31 +0000 (17:13 +0200)]
compilation fixes for gcc -Wall -Werror
Most are cosmetic, but the changes in the FGATCInstruction constructor
fix unitialized members.
Tim Moore [Sun, 23 Aug 2009 22:01:37 +0000 (00:01 +0200)]
more warning fixes
flightgear compiles with gcc -Wall -Werror
torsten [Sun, 23 Aug 2009 18:13:32 +0000 (18:13 +0000)]
warning fixes
torsten [Sun, 23 Aug 2009 17:58:01 +0000 (17:58 +0000)]
warning fixes
torsten [Sun, 23 Aug 2009 10:36:08 +0000 (10:36 +0000)]
Olaf Flebbe: the plib/ul.h is needed for the TGT_PLATFORM Macro to make the tags <windows> or
<mac> work in the joystick xml files.
ehofman [Sat, 22 Aug 2009 13:40:30 +0000 (13:40 +0000)]
temporary fix for a division by zero problem for some aircraft
torsten [Sat, 22 Aug 2009 08:32:36 +0000 (08:32 +0000)]
add option <grab/> to the device configuration. If this is set to 'true', the events from this devices are exclusively handled by our handler and are not distributed to other driver(s).
torsten [Fri, 21 Aug 2009 21:46:58 +0000 (21:46 +0000)]
warning fixes
torsten [Fri, 21 Aug 2009 14:53:46 +0000 (14:53 +0000)]
warning fixes
torsten [Fri, 21 Aug 2009 14:42:49 +0000 (14:42 +0000)]
even more warning fixes
torsten [Fri, 21 Aug 2009 14:33:30 +0000 (14:33 +0000)]
warning fixes
torsten [Fri, 21 Aug 2009 14:29:11 +0000 (14:29 +0000)]
the warning extinguisher hits again...
torsten [Thu, 20 Aug 2009 22:06:38 +0000 (22:06 +0000)]
warning fixes
torsten [Thu, 20 Aug 2009 21:53:29 +0000 (21:53 +0000)]
warning fixes
torsten [Thu, 20 Aug 2009 21:44:32 +0000 (21:44 +0000)]
fix warnings (order of initialization)
fredb [Thu, 20 Aug 2009 06:53:07 +0000 (06:53 +0000)]
Compile under MSVC9 again
ehofman [Thu, 20 Aug 2009 05:33:20 +0000 (05:33 +0000)]
Add Bertrand Coconnier's latest landing gear code
torsten [Wed, 19 Aug 2009 14:16:25 +0000 (14:16 +0000)]
Tom P: magnetic-variation isn't boolean.
fredb [Sun, 16 Aug 2009 21:34:15 +0000 (21:34 +0000)]
Compile under MSVC9 again
ehofman [Sun, 16 Aug 2009 19:57:54 +0000 (19:57 +0000)]
Changed my mind, the 'scene specular' color is actually the diffuse color and the sun specular color is the scene specular color
ehofman [Sun, 16 Aug 2009 19:45:06 +0000 (19:45 +0000)]
forgot a few untie's and fix a small bug
ehofman [Sun, 16 Aug 2009 19:36:55 +0000 (19:36 +0000)]
Update to the latest version of JSBSim
ehofman [Sun, 16 Aug 2009 19:35:24 +0000 (19:35 +0000)]
Expose the color of the sun (which is not the scene specular color anymore)
fredb [Sat, 15 Aug 2009 17:13:06 +0000 (17:13 +0000)]
Alex Perry : Minor bug fix patch for terrasync
curt [Thu, 13 Aug 2009 17:01:36 +0000 (17:01 +0000)]
Fix a bug that is screwing me!
fredb [Thu, 13 Aug 2009 06:35:41 +0000 (06:35 +0000)]
Update MSVC9 projects
fredb [Thu, 13 Aug 2009 06:35:11 +0000 (06:35 +0000)]
Win32 fix and suppress one warning
timoore [Wed, 12 Aug 2009 22:00:11 +0000 (22:00 +0000)]
fgviewer: support random objects, vegetation, and static models
torsten [Wed, 12 Aug 2009 06:08:12 +0000 (06:08 +0000)]
Add a debug property to make devices print out incoming events on the console.
torsten [Tue, 11 Aug 2009 16:41:19 +0000 (16:41 +0000)]
fixed typo. Thanks m.
torsten [Tue, 11 Aug 2009 16:21:19 +0000 (16:21 +0000)]
be compatible with older kernels
torsten [Tue, 11 Aug 2009 16:18:02 +0000 (16:18 +0000)]
missing dbus include path
torsten [Tue, 11 Aug 2009 15:59:30 +0000 (15:59 +0000)]
Advanced input subsystem - Step3: Adding support for the Linux event devices
timoore [Mon, 10 Aug 2009 21:43:55 +0000 (21:43 +0000)]
Get fgviewer working as a part of fgfs
Move fgviewer code into fgfs binary. Its osgViewer-style main function is
called from bootstrap.cxx if the --fgviewer argument is passed to fgfs.
Use fgfs initialization functions in fgviewer codepath. Read
command-line arguments and autosave.xml.
frohlich [Mon, 10 Aug 2009 05:21:44 +0000 (05:21 +0000)]
Use the 'all but self' capability of the scenery elevaton code instead of
playing with node masks.
Modified Files:
src/AIModel/AIAircraft.cxx src/AIModel/AIBallistic.cxx
src/AIModel/AIBase.cxx src/AIModel/AIBase.hxx
src/AIModel/AIShip.cxx src/AIModel/AIShip.hxx
src/AIModel/AIThermal.cxx src/ATCDCL/AILocalTraffic.cxx
fredb [Sat, 8 Aug 2009 12:44:23 +0000 (12:44 +0000)]
Update MSVC9 projects
fredb [Sat, 8 Aug 2009 12:43:32 +0000 (12:43 +0000)]
Compile under MSVC9
timoore [Sat, 8 Aug 2009 10:20:32 +0000 (10:20 +0000)]
From Till Busch - reload shaders command
Also, more documentation for effects.
torsten [Fri, 7 Aug 2009 18:56:48 +0000 (18:56 +0000)]
Advanced input subsystem - Step2: Split up current input subsystem
- encapsulate code into classes
- create separate subsystem for keyboard, mouse and joystick
- group new subsystems into subsystemgroup "input"
frohlich [Fri, 7 Aug 2009 05:24:18 +0000 (05:24 +0000)]
Add a possible node not to visit.
Modified Files:
scenery.cxx scenery.hxx
torsten [Wed, 5 Aug 2009 14:29:32 +0000 (14:29 +0000)]
Advanced input subsystem - Step1: cleanup dependencies
torsten [Wed, 5 Aug 2009 14:20:04 +0000 (14:20 +0000)]
Advanced input subsystem - Step1: cleanup dependencies
fredb [Sun, 2 Aug 2009 10:16:45 +0000 (10:16 +0000)]
Compile under MSVC9 again
ehofman [Wed, 29 Jul 2009 13:50:39 +0000 (13:50 +0000)]
Sync. with JSBSim
fredb [Mon, 27 Jul 2009 09:51:56 +0000 (09:51 +0000)]
Fix case typo
fredb [Sun, 26 Jul 2009 18:54:55 +0000 (18:54 +0000)]
Compile under MSVC9
daveluff [Wed, 22 Jul 2009 21:00:43 +0000 (21:00 +0000)]
Fix the rendering of the KLN89 on the 2D panel that was broken during the move to osg. This is an interim step with the aim being to eventually use render-to-texture.
torsten [Wed, 22 Jul 2009 16:54:58 +0000 (16:54 +0000)]
At startup, fetch METAR for closest airport that has one, which is not necessarily the same.