]> git.mxchange.org Git - flightgear.git/log
flightgear.git
14 years agofgpanel is shouldn't have escaped (yet)
torsten [Thu, 17 Sep 2009 07:39:04 +0000 (07:39 +0000)]
fgpanel is shouldn't have escaped (yet)

14 years agoTatsuhiro Nishioka:
torsten [Wed, 16 Sep 2009 17:07:49 +0000 (17:07 +0000)]
Tatsuhiro Nishioka:
Patches for configure.ac and Makefile.am files in FG/SG so Mac developers can build these in a unix way.
These also enables Mac developers to choose either PLIB framework or PLIB static libs.

14 years agoMerge branch 'topic/atmos-merge' into next
Tim Moore [Sat, 12 Sep 2009 13:50:06 +0000 (15:50 +0200)]
Merge branch 'topic/atmos-merge' into next

John Denker's atmosphere changes. Original commit message:
Two-parameter physics-based model of atmosphere up to 262,467 ft i.e.
the top of the mesosphere. Correctly exhibits the HALT phenomenon.

14 years agoVarious LOC/GS improvements from John Denker, adapted to trunk by me (hopefully not...
jmt [Fri, 11 Sep 2009 23:05:23 +0000 (23:05 +0000)]
Various LOC/GS improvements from John Denker, adapted to trunk by me (hopefully not introducing too many bugs along the way). Includes:
 - false LOC courses and GS lobes
 - LOC sensitivity based on runway dimensions
 - GS cutoff based on range
 - More accurate GS deviation computation, making final approach more stable

14 years agoAvoid strtof() for portability reasons.
curt [Thu, 10 Sep 2009 22:02:59 +0000 (22:02 +0000)]
Avoid strtof() for portability reasons.

14 years agoHandle "double" type fields correctly for ascii input data. Previously double
curt [Thu, 10 Sep 2009 18:12:33 +0000 (18:12 +0000)]
Handle "double" type fields correctly for ascii input data. Previously double
data was being down-cast to float and the loss of precision impacted data types like lon/lat positions dramatically, preventing smooth replay of data.

14 years agoDisable collisions with the MP aircraft again.
frohlich [Thu, 10 Sep 2009 17:45:17 +0000 (17:45 +0000)]
Disable collisions with the MP aircraft again.

Modified Files:
src/AIModel/AIMultiplayer.cxx

14 years agoAdd clamped degrees deviation for glideslope.
jmt [Thu, 10 Sep 2009 08:15:46 +0000 (08:15 +0000)]
Add clamped degrees deviation for glideslope.

14 years agoMerge branch 'jsd/atmos' into topic/atmos-merge
Tim Moore [Thu, 10 Sep 2009 10:14:30 +0000 (12:14 +0200)]
Merge branch 'jsd/atmos' into topic/atmos-merge

Conflicts:
src/Environment/environment.cxx
src/Environment/environment.hxx

John Denker's atmosphere changes. Original commit message:
Two-parameter physics-based model of atmosphere up to 262,467 ft i.e.
the top of the mesosphere. Correctly exhibits the HALT phenomenon.

14 years agocleanup of atmosphere patch
Tim Moore [Thu, 10 Sep 2009 09:42:42 +0000 (11:42 +0200)]
cleanup of atmosphere patch

Remove some dead code and space changes. Replace boost::tuple with std::pair,
but do use boost::tie.

14 years agoTwo-parameter physics-based model of atmosphere up to 262,467 ft i.e. the top of...
John Denker [Thu, 22 Jan 2009 01:11:52 +0000 (18:11 -0700)]
Two-parameter physics-based model of atmosphere up to 262,467 ft i.e. the top of the mesosphere. Correctly exhibits the HALT phenomenon.

14 years agoAdd normalised heading deflection property to navradio.
jmt [Wed, 9 Sep 2009 09:44:52 +0000 (09:44 +0000)]
Add normalised heading deflection property to navradio.

14 years agoFix MSVC compilation
daveluff [Tue, 8 Sep 2009 20:55:30 +0000 (20:55 +0000)]
Fix MSVC compilation

14 years agoTatsuhiro Nishioka:
torsten [Tue, 8 Sep 2009 17:50:14 +0000 (17:50 +0000)]
Tatsuhiro Nishioka:
Handle number keys on Keypad properly on Mac OS X

14 years agotest for the presence of alut.h. if it's not found only display a warning message...
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.

14 years agoDont execute code in case the soundmanager isn't properly initialized
ehofman [Tue, 8 Sep 2009 17:06:13 +0000 (17:06 +0000)]
Dont execute code in case the soundmanager isn't properly initialized

14 years agoFix compilation - missing include of globals.hxx
jmt [Tue, 8 Sep 2009 16:03:48 +0000 (16:03 +0000)]
Fix compilation - missing include of globals.hxx

14 years agoAdd normalised glideslope deviation property to nav-radio.
jmt [Tue, 8 Sep 2009 16:02:59 +0000 (16:02 +0000)]
Add normalised glideslope deviation property to nav-radio.

14 years agoFurther re-factoring of nav-radio code, again no functionality changed should occur...
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.

14 years agoDont execute code in case the soundmanager isn't properly initialized
ehofman [Tue, 8 Sep 2009 13:51:24 +0000 (13:51 +0000)]
Dont execute code in case the soundmanager isn't properly initialized

14 years agoSet runway elevation to the airport elevation, and don't reset ILS/LOC elevation...
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.

14 years agoUse the new vector conversion functions.
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

14 years agoMove dynamic_casts to EffectGeode into the findMaterial method.
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

14 years agoFix a problem introduced with the past vector changes.
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

14 years agoOne last update; remember whether input or output is requested. This will make sure...
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.

14 years agoDon't forget to clear the previous configuration
ehofman [Mon, 7 Sep 2009 07:52:30 +0000 (07:52 +0000)]
Don't forget to clear the previous configuration

14 years agoMake FGIO a proper subsystem and add a reinit method for the generic protocol. This...
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.

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