]> git.mxchange.org Git - flightgear.git/log
flightgear.git
14 years agoSync. with JSBSim (CVS) again
ehofman [Sat, 5 Sep 2009 12:22:54 +0000 (12:22 +0000)]
Sync. with JSBSim (CVS) again

14 years agoRemove obsolete version test.
frohlich [Sat, 5 Sep 2009 11:01:41 +0000 (11:01 +0000)]
Remove obsolete version test.

Modified Files:
src/Main/fg_os_osgviewer.cxx

14 years agoSimplify, fix some comments.
frohlich [Sat, 5 Sep 2009 11:01:06 +0000 (11:01 +0000)]
Simplify, fix some comments.

Modified Files:
src/Main/viewer.cxx

14 years agoCorrect logic to determine if we really have a hit.
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

14 years agoInitialize all members.
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

14 years agoAvoid division by zero.
frohlich [Fri, 4 Sep 2009 17:01:53 +0000 (17:01 +0000)]
Avoid division by zero.

Modified Files:
src/Instrumentation/dme.cxx

14 years agoTatsuhiro Nishioka:
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.

14 years agoReplace the SGVec*::sg() methods with the equivalent SGVec*::data() calls.
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

14 years agoTatsuhiro Nishioka:
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

14 years agoRe-structure the nav-radio code, in preparation for cleaner GPS-slave separation...
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).

14 years agoAllow the joystick hat to move the view, even when the sim is paused.
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.

14 years agoMore precise matching of ILS records to navaids.
jmt [Mon, 31 Aug 2009 23:11:23 +0000 (23:11 +0000)]
More precise matching of ILS records to navaids.

14 years agoBertrand Coconnier:
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.

14 years agoAdd support for processing the ICAO.ils.xml scenery data into ILS/LOC nav records.
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.

14 years agoTwo minor (codewise) fixes to ensure everything works as advertised:
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).

14 years agoAdded two missing files from JSBSim.org that were missing in the last sync.
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.

14 years agoSync with JSBSim CVS again
ehofman [Sun, 30 Aug 2009 08:22:03 +0000 (08:22 +0000)]
Sync with JSBSim CVS again

14 years agoAllow setting of NED velocities.
curt [Sat, 29 Aug 2009 18:42:58 +0000 (18:42 +0000)]
Allow setting of NED velocities.

14 years agoUpdate FGRunway to process information from threshold.xml files.
jmt [Sat, 29 Aug 2009 18:26:54 +0000 (18:26 +0000)]
Update FGRunway to process information from threshold.xml files.

14 years agoTrigger lazy loading of Airport data from the scenery on access.
jmt [Sat, 29 Aug 2009 18:00:14 +0000 (18:00 +0000)]
Trigger lazy loading of Airport data from the scenery on access.

14 years agomissing declaration of SGPropertyNode
torsten [Sat, 29 Aug 2009 13:24:33 +0000 (13:24 +0000)]
missing declaration of SGPropertyNode

14 years agoXMLLoader re-factoring.
jmt [Sat, 29 Aug 2009 10:21:51 +0000 (10:21 +0000)]
XMLLoader re-factoring.

14 years agoInitial framing for reading in-scenery airport data.
jmt [Sat, 29 Aug 2009 10:21:21 +0000 (10:21 +0000)]
Initial framing for reading in-scenery airport data.

14 years ago- added support for MAC OSX and initial hotplug support from Tatsuhiro Nishioka
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>

14 years agochange back unsigned byte count to signed (multiplaymgr)
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

14 years agoAIGroundVehicle from Vivian Meazza
Tim Moore [Tue, 25 Aug 2009 09:54:49 +0000 (11:54 +0200)]
AIGroundVehicle from Vivian Meazza

14 years agoAIGroundVehicle from Vivian Meazza
timoore [Tue, 25 Aug 2009 10:02:18 +0000 (10:02 +0000)]
AIGroundVehicle from Vivian Meazza

14 years agofix warnings in Multiplayer, Scripting, and Time
Tim Moore [Mon, 24 Aug 2009 16:07:19 +0000 (18:07 +0200)]
fix warnings in Multiplayer, Scripting, and Time

14 years agoFix transmission of float and double values in generic protocol
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.

14 years agofix warnings in Main
Tim Moore [Mon, 24 Aug 2009 16:03:49 +0000 (18:03 +0200)]
fix warnings in Main

14 years agofix warnings in Instrumentation
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

14 years agofix warnings in GUI code
Tim Moore [Mon, 24 Aug 2009 16:00:10 +0000 (18:00 +0200)]
fix warnings in GUI code

14 years agoFix order of initializers in constructor
Tim Moore [Mon, 24 Aug 2009 15:58:27 +0000 (17:58 +0200)]
Fix order of initializers in constructor

14 years agofix gcc warnings
Tim Moore [Mon, 24 Aug 2009 15:57:32 +0000 (17:57 +0200)]
fix gcc warnings

Mostly comment out unused variables.

14 years agofixes to remove warnings
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().

14 years agoInitialize some variables
Tim Moore [Mon, 24 Aug 2009 15:54:48 +0000 (17:54 +0200)]
Initialize some variables

14 years agoFix to LaRCsim interpolation code
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.

14 years agocompilation fixes for gcc -Wall -Werror
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.

14 years agomore warning fixes
Tim Moore [Sun, 23 Aug 2009 22:01:37 +0000 (00:01 +0200)]
more warning fixes

flightgear compiles with gcc -Wall -Werror

14 years agowarning fixes
torsten [Sun, 23 Aug 2009 18:13:32 +0000 (18:13 +0000)]
warning fixes

14 years agowarning fixes
torsten [Sun, 23 Aug 2009 17:58:01 +0000 (17:58 +0000)]
warning fixes

14 years agoOlaf Flebbe: the plib/ul.h is needed for the TGT_PLATFORM Macro to make the tags...
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.

14 years agotemporary fix for a division by zero problem for some aircraft
ehofman [Sat, 22 Aug 2009 13:40:30 +0000 (13:40 +0000)]
temporary fix for a division by zero problem for some aircraft

14 years agoadd option <grab/> to the device configuration. If this is set to 'true', the events...
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).

14 years agowarning fixes
torsten [Fri, 21 Aug 2009 21:46:58 +0000 (21:46 +0000)]
warning fixes

14 years agowarning fixes
torsten [Fri, 21 Aug 2009 14:53:46 +0000 (14:53 +0000)]
warning fixes

14 years agoeven more warning fixes
torsten [Fri, 21 Aug 2009 14:42:49 +0000 (14:42 +0000)]
even more warning fixes

14 years agowarning fixes
torsten [Fri, 21 Aug 2009 14:33:30 +0000 (14:33 +0000)]
warning fixes

14 years agothe warning extinguisher hits again...
torsten [Fri, 21 Aug 2009 14:29:11 +0000 (14:29 +0000)]
the warning extinguisher hits again...

14 years agowarning fixes
torsten [Thu, 20 Aug 2009 22:06:38 +0000 (22:06 +0000)]
warning fixes

14 years agowarning fixes
torsten [Thu, 20 Aug 2009 21:53:29 +0000 (21:53 +0000)]
warning fixes

14 years agofix warnings (order of initialization)
torsten [Thu, 20 Aug 2009 21:44:32 +0000 (21:44 +0000)]
fix warnings (order of initialization)

14 years agoCompile under MSVC9 again
fredb [Thu, 20 Aug 2009 06:53:07 +0000 (06:53 +0000)]
Compile under MSVC9 again

14 years agoAdd Bertrand Coconnier's latest landing gear code
ehofman [Thu, 20 Aug 2009 05:33:20 +0000 (05:33 +0000)]
Add Bertrand Coconnier's latest landing gear code

14 years agoTom P: magnetic-variation isn't boolean.
torsten [Wed, 19 Aug 2009 14:16:25 +0000 (14:16 +0000)]
Tom P: magnetic-variation isn't boolean.

14 years agoCompile under MSVC9 again
fredb [Sun, 16 Aug 2009 21:34:15 +0000 (21:34 +0000)]
Compile under MSVC9 again

14 years agoChanged my mind, the 'scene specular' color is actually the diffuse color and the...
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

14 years agoforgot a few untie's and fix a small bug
ehofman [Sun, 16 Aug 2009 19:45:06 +0000 (19:45 +0000)]
forgot a few untie's and fix a small bug

14 years agoUpdate to the latest version of JSBSim
ehofman [Sun, 16 Aug 2009 19:36:55 +0000 (19:36 +0000)]
Update to the latest version of JSBSim

14 years agoExpose the color of the sun (which is not the scene specular color anymore)
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)

14 years agoAlex Perry : Minor bug fix patch for terrasync
fredb [Sat, 15 Aug 2009 17:13:06 +0000 (17:13 +0000)]
Alex Perry : Minor bug fix patch for terrasync

14 years agoFix a bug that is screwing me!
curt [Thu, 13 Aug 2009 17:01:36 +0000 (17:01 +0000)]
Fix a bug that is screwing me!

14 years agoUpdate MSVC9 projects
fredb [Thu, 13 Aug 2009 06:35:41 +0000 (06:35 +0000)]
Update MSVC9 projects

14 years agoWin32 fix and suppress one warning
fredb [Thu, 13 Aug 2009 06:35:11 +0000 (06:35 +0000)]
Win32 fix and suppress one warning

14 years agofgviewer: support random objects, vegetation, and static models
timoore [Wed, 12 Aug 2009 22:00:11 +0000 (22:00 +0000)]
fgviewer: support random objects, vegetation, and static models

14 years agoAdd a debug property to make devices print out incoming events on the console.
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.

14 years agofixed typo. Thanks m.
torsten [Tue, 11 Aug 2009 16:41:19 +0000 (16:41 +0000)]
fixed typo. Thanks m.

14 years agobe compatible with older kernels
torsten [Tue, 11 Aug 2009 16:21:19 +0000 (16:21 +0000)]
be compatible with older kernels

14 years agomissing dbus include path
torsten [Tue, 11 Aug 2009 16:18:02 +0000 (16:18 +0000)]
missing dbus include path

14 years agoAdvanced input subsystem - Step3: Adding support for the Linux event devices
torsten [Tue, 11 Aug 2009 15:59:30 +0000 (15:59 +0000)]
Advanced input subsystem - Step3: Adding support for the Linux event devices

14 years agoGet fgviewer working as a part of fgfs
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.

14 years agoUse the 'all but self' capability of the scenery elevaton code instead of
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

14 years agoUpdate MSVC9 projects
fredb [Sat, 8 Aug 2009 12:44:23 +0000 (12:44 +0000)]
Update MSVC9 projects

14 years agoCompile under MSVC9
fredb [Sat, 8 Aug 2009 12:43:32 +0000 (12:43 +0000)]
Compile under MSVC9

14 years agoFrom Till Busch - reload shaders command
timoore [Sat, 8 Aug 2009 10:20:32 +0000 (10:20 +0000)]
From Till Busch - reload shaders command

Also, more documentation for effects.

14 years agoAdvanced input subsystem - Step2: Split up current input subsystem
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"

14 years agoAdd a possible node not to visit.
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

14 years agoAdvanced input subsystem - Step1: cleanup dependencies
torsten [Wed, 5 Aug 2009 14:29:32 +0000 (14:29 +0000)]
Advanced input subsystem - Step1: cleanup dependencies

14 years agoAdvanced input subsystem - Step1: cleanup dependencies
torsten [Wed, 5 Aug 2009 14:20:04 +0000 (14:20 +0000)]
Advanced input subsystem - Step1: cleanup dependencies

14 years agoCompile under MSVC9 again
fredb [Sun, 2 Aug 2009 10:16:45 +0000 (10:16 +0000)]
Compile under MSVC9 again

14 years agoSync. with JSBSim
ehofman [Wed, 29 Jul 2009 13:50:39 +0000 (13:50 +0000)]
Sync. with JSBSim

14 years agoFix case typo
fredb [Mon, 27 Jul 2009 09:51:56 +0000 (09:51 +0000)]
Fix case typo

14 years agoCompile under MSVC9
fredb [Sun, 26 Jul 2009 18:54:55 +0000 (18:54 +0000)]
Compile under MSVC9

14 years agoFix the rendering of the KLN89 on the 2D panel that was broken during the move to...
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.

14 years agoAt startup, fetch METAR for closest airport that has one, which is not necessarily...
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.

14 years agoRefer to property types using props:: namespace
Tim Moore [Fri, 17 Jul 2009 12:54:12 +0000 (14:54 +0200)]
Refer to property types using props:: namespace

BOOL, FLOAT etc. conflict with typedefs in windows.h.

14 years agoSGRawValue::DefaultValue is now a function
Tim Moore [Fri, 17 Jul 2009 09:41:49 +0000 (11:41 +0200)]
SGRawValue::DefaultValue is now a function

14 years agoStart of documentation for effects
timoore [Wed, 15 Jul 2009 23:16:41 +0000 (23:16 +0000)]
Start of documentation for effects

14 years agoProperty predicate for techniques
timoore [Wed, 15 Jul 2009 23:16:29 +0000 (23:16 +0000)]
Property predicate for techniques

14 years agoFind material from EffectGeode and Effect
timoore [Wed, 15 Jul 2009 23:16:21 +0000 (23:16 +0000)]
Find material from EffectGeode and Effect

The scenery now uses the Effect class.

14 years agoEnable EffectCullVisitor
timoore [Wed, 15 Jul 2009 23:16:13 +0000 (23:16 +0000)]
Enable EffectCullVisitor

14 years agoaccomodate changed getDisplayName interface in yasim::Hitch
timoore [Wed, 15 Jul 2009 23:16:05 +0000 (23:16 +0000)]
accomodate changed getDisplayName interface in yasim::Hitch

14 years agoSupport for VEC3D and VEC4D properties.
timoore [Wed, 15 Jul 2009 23:15:57 +0000 (23:15 +0000)]
Support for VEC3D and VEC4D properties.

Tiny update to property_list for extended properties.

New property types in nasal.

14 years agoSGPropertyNode::Type moves to simgear::props namespace
timoore [Wed, 15 Jul 2009 23:15:17 +0000 (23:15 +0000)]
SGPropertyNode::Type moves to simgear::props namespace

14 years agoRadar patch from Vivian
Tim Moore [Sat, 11 Jul 2009 23:02:58 +0000 (01:02 +0200)]
Radar patch from Vivian

14 years agoHopefuly fix what might be a 64-bit OS problem
ehofman [Mon, 6 Jul 2009 11:37:29 +0000 (11:37 +0000)]
Hopefuly fix what might be a 64-bit OS problem

15 years agoAdd a note about the generic-protocol-analyse utilty.
ehofman [Tue, 30 Jun 2009 07:49:29 +0000 (07:49 +0000)]
Add a note about the generic-protocol-analyse utilty.

15 years agoalthough the official name is 'bool' also support 'boolean' for backward compatibility.
ehofman [Tue, 30 Jun 2009 07:44:56 +0000 (07:44 +0000)]
although the official name is 'bool' also support 'boolean' for backward compatibility.

15 years agoAdd the statement about the wrong received-buffer size again which might be a useful...
ehofman [Tue, 30 Jun 2009 07:11:52 +0000 (07:11 +0000)]
Add the statement about the wrong received-buffer size again which might be a useful debugging tool.

15 years agoIf more than one packet has arrived in the mean time, process them all.
ehofman [Mon, 29 Jun 2009 14:23:26 +0000 (14:23 +0000)]
If more than one packet has arrived in the mean time, process them all.