]> git.mxchange.org Git - flightgear.git/log
flightgear.git
14 years agoFix NaN due to possibly uninitialized _lastViewport in FGPanelNode
Csaba Halasz [Tue, 24 Nov 2009 13:47:59 +0000 (14:47 +0100)]
Fix NaN due to possibly uninitialized _lastViewport in FGPanelNode

14 years agoDetect zero length fuselage in YASim/Airplane.cpp. Also, initialized _failureMsg...
Csaba Halasz [Sun, 25 Oct 2009 15:38:31 +0000 (16:38 +0100)]
Detect zero length fuselage in YASim/Airplane.cpp. Also, initialized _failureMsg member in the constructor and added another check for failure.

14 years agoFix NaNs in TACAN::update
Csaba Halasz [Sun, 25 Oct 2009 14:11:20 +0000 (15:11 +0100)]
Fix NaNs in TACAN::update

14 years agoFix NaN in FGAILocalTraffic::FlyTrafficPattern
Csaba Halasz [Sun, 25 Oct 2009 14:09:35 +0000 (15:09 +0100)]
Fix NaN in FGAILocalTraffic::FlyTrafficPattern

14 years agoMerge branches 'jmt/aircraft-name' and 'jmt/runway'
Tim Moore [Mon, 21 Dec 2009 23:16:38 +0000 (00:16 +0100)]
Merge branches 'jmt/aircraft-name' and 'jmt/runway'

14 years agoMerge branch 'durk/traffic'
Tim Moore [Mon, 21 Dec 2009 23:15:13 +0000 (00:15 +0100)]
Merge branch 'durk/traffic'

14 years agoMerge branch 'ehofman/jsbsim'
Tim Moore [Mon, 21 Dec 2009 23:14:09 +0000 (00:14 +0100)]
Merge branch 'ehofman/jsbsim'

14 years agoMerge branch 'timoore/merge-effects'
Tim Moore [Sun, 20 Dec 2009 11:05:07 +0000 (12:05 +0100)]
Merge branch 'timoore/merge-effects'

14 years agoMerge branch 'ehofman/sound'
Tim Moore [Sun, 20 Dec 2009 10:11:16 +0000 (11:11 +0100)]
Merge branch 'ehofman/sound'

14 years agoChange boost version to 1.37 again
Tim Moore [Sun, 29 Nov 2009 11:44:11 +0000 (12:44 +0100)]
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.

14 years agoDrop boost version back to 1.34
Tim Moore [Sun, 22 Nov 2009 21:54:53 +0000 (22:54 +0100)]
Drop boost version back to 1.34

14 years agoupdated documentation of effects
Tim Moore [Sat, 21 Nov 2009 23:19:43 +0000 (00:19 +0100)]
updated documentation of effects

Still a work in progress...

14 years agobump boost version to 1.37
Tim Moore [Sun, 15 Nov 2009 00:18:01 +0000 (01:18 +0100)]
bump boost version to 1.37

14 years agoAttach an empty shader program to the scene graph root
Tim Moore [Thu, 12 Nov 2009 09:58:42 +0000 (10:58 +0100)]
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.

14 years agoChanges for animated effects
Tim Moore [Tue, 3 Nov 2009 11:41:00 +0000 (12:41 +0100)]
Changes for animated effects

14 years agoMove the property expression code back to simgear.
Tim Moore [Tue, 3 Nov 2009 11:41:00 +0000 (12:41 +0100)]
Move the property expression code back to simgear.

14 years agoDon't allocate string temporaries for comparisons.
Tim Moore [Sun, 8 Nov 2009 20:53:02 +0000 (21:53 +0100)]
Don't allocate string temporaries for comparisons.

14 years agoactivate atc settings in the sound mixer dialog
ehofman [Thu, 10 Dec 2009 09:56:42 +0000 (09:56 +0000)]
activate atc settings in the sound mixer dialog

14 years agoClean up autoconf test for osg::CullSettings::CLEAR_MASK
Tim Moore [Thu, 10 Dec 2009 06:26:38 +0000 (07:26 +0100)]
Clean up autoconf test for osg::CullSettings::CLEAR_MASK

14 years agoActivate external-view checkbox for avionics
ehofman [Tue, 8 Dec 2009 14:43:29 +0000 (14:43 +0000)]
Activate external-view checkbox for avionics

14 years agoif volume is too low, skip the function entirely
ehofman [Tue, 8 Dec 2009 09:53:29 +0000 (09:53 +0000)]
if volume is too low, skip the function entirely

14 years agoJohn Denker:
ehofman [Tue, 8 Dec 2009 09:48:00 +0000 (09:48 +0000)]
John Denker:
Suggestion:  It might be helpful to promote each of
 the .c files to .cxx.

 Rationale:
 -- The configure/makefile system handles CFLAGS
    differently from CXXFLAGS.
 -- It is important for the *info programs to
    compiled and run in exactly the same environment
    as the main fgfs program.  Some users depend on
    compiler or linker flags such as rpath that
    strongly affect the results of the *info programs.
 -- There is no downside;  you code compiles just
    fine as-is under the c++ compiler.

second part of the original commit, for ehofman/sound

14 years agoCase-insensitive aircraft names, for the startup arg, so 'C172', 'F16', etc work.
jmt [Sat, 5 Dec 2009 14:25:31 +0000 (14:25 +0000)]
Case-insensitive aircraft names, for the startup arg, so 'C172', 'F16', etc work.

14 years agoChange int to unsigned in sound device traversal
Tim Moore [Mon, 7 Dec 2009 05:59:04 +0000 (06:59 +0100)]
Change int to unsigned in sound device traversal

14 years agoFix displaced threshold handling when using in-scenery definitions of runways.
jmt [Sat, 5 Dec 2009 10:55:55 +0000 (10:55 +0000)]
Fix displaced threshold handling when using in-scenery definitions of runways.

14 years agoAllow flights that arrive at their departure airport.
durk [Sun, 6 Dec 2009 08:30:47 +0000 (08:30 +0000)]
Allow flights that arrive at their departure airport.

14 years agoadd avionics enable/disable and volume control to the sound fx class.
ehofman [Wed, 2 Dec 2009 09:34:06 +0000 (09:34 +0000)]
add avionics enable/disable and volume control to the sound fx class.

14 years agoTurned out a tied proeprty can't be used as a user archive, use a different one
ehofman [Tue, 1 Dec 2009 10:37:49 +0000 (10:37 +0000)]
Turned out a tied proeprty can't be used as a user archive, use a different one

14 years agoThe problem with the current test is that HAVE_CULLSETTINGS_CLEAR_MASK is always...
ehofman [Tue, 1 Dec 2009 09:08:08 +0000 (09:08 +0000)]
The problem with the current test is that HAVE_CULLSETTINGS_CLEAR_MASK is always defined, either with a value of 1 or a value of 0 while the test in the code checks for '#if defined(HAVE_CULLSETTINGS_CLEAR_MASK)'

14 years agoupdate to allow selection of a new sound device
ehofman [Mon, 30 Nov 2009 14:24:16 +0000 (14:24 +0000)]
update to allow selection of a new sound device

14 years agoChange of thoughts since it makes life easier:
ehofman [Mon, 30 Nov 2009 12:05:20 +0000 (12:05 +0000)]
Change of thoughts since it makes life easier:
/sim/sound/working enable/disable the use of OpenAL
/sin/sound/enabled master mute/unmute

14 years agoFix for older OpenAL versions.
ehofman [Mon, 30 Nov 2009 09:31:55 +0000 (09:31 +0000)]
Fix for older OpenAL versions.

14 years agoadd a new command line option: --show-sound-devices
ehofman [Mon, 30 Nov 2009 08:42:29 +0000 (08:42 +0000)]
add a new command line option: --show-sound-devices

14 years agoadd alcinfo instead.
ehofman [Sun, 29 Nov 2009 18:08:46 +0000 (18:08 +0000)]
add alcinfo instead.

14 years agoAdd HAVE_CULLSETTINGS_CLEAR_MASK to configure.ac and check it in camera code
Tim Moore [Mon, 30 Nov 2009 08:29:07 +0000 (09:29 +0100)]
Add HAVE_CULLSETTINGS_CLEAR_MASK to configure.ac and check it in camera code

This works around a behavior / interface change in OSG post 2.9.6.

14 years agoUpdate camera inheritance masks because of OSG changeset 10838
Csaba Halasz [Sun, 29 Nov 2009 00:57:03 +0000 (01:57 +0100)]
Update camera inheritance masks because of OSG changeset 10838

14 years agoNew Property layout:
ehofman [Sun, 29 Nov 2009 10:24:47 +0000 (10:24 +0000)]
New Property layout:
/sim/sound/enabled enable/disable the use of OpenAL
/sin/sound/pause master mute, effects all SampleGroups
/sim/sound/volume master volume
/sim/sound/effects/enabled enable/disable (mute) sound fx
/sim/sound/effects/volume effects volume
/sim/sound/chatter/enabled enable/disable (mute) atc chatter
/sim/sound/chatter/volume chatter (sample queue) volume

14 years agoList all available playback devices under '/sim/sound/devcies'
ehofman [Sat, 28 Nov 2009 13:33:54 +0000 (13:33 +0000)]
List all available playback devices under '/sim/sound/devcies'

14 years ago* Fix --disable-sound
ehofman [Sat, 28 Nov 2009 10:42:52 +0000 (10:42 +0000)]
* Fix --disable-sound
* Add a new command line option: --sound-device=""
  This makes OpenAL use the sepcified audio device instead of the default
  output device. (Look for playback devices when calling openal-info of alcinfo)

14 years agoCsaba Halasz: Pass file name to xml parser for error reporting from JSBSim.
ehofman [Sun, 29 Nov 2009 09:34:01 +0000 (09:34 +0000)]
Csaba Halasz: Pass file name to xml parser for error reporting from JSBSim.

14 years agoPreLoad and PostLoad also from a separate file.
ehofman [Sat, 28 Nov 2009 14:35:52 +0000 (14:35 +0000)]
PreLoad and PostLoad also from a separate file.

14 years agoSync. withn JSBSim CVS
ehofman [Fri, 27 Nov 2009 08:54:33 +0000 (08:54 +0000)]
Sync. withn JSBSim CVS

14 years agoMerge branch 'luff/kln89'
Tim Moore [Fri, 27 Nov 2009 05:41:43 +0000 (06:41 +0100)]
Merge branch 'luff/kln89'

14 years agoMerge branch 'jmt/gps'
Tim Moore [Fri, 27 Nov 2009 05:40:47 +0000 (06:40 +0100)]
Merge branch 'jmt/gps'

Conflicts:
src/Instrumentation/gps.cxx

14 years agoMerge branch 'jmt/dialog'
Tim Moore [Thu, 26 Nov 2009 22:32:38 +0000 (23:32 +0100)]
Merge branch 'jmt/dialog'

14 years agoMerge branch 'ehofman/sky'
Tim Moore [Thu, 26 Nov 2009 22:32:20 +0000 (23:32 +0100)]
Merge branch 'ehofman/sky'

14 years agoMerge branch 'ehofman/jsbsim'
Tim Moore [Thu, 26 Nov 2009 22:31:59 +0000 (23:31 +0100)]
Merge branch 'ehofman/jsbsim'

14 years agoMerge branches 'csaba/commlist' and 'csaba/recip'
Tim Moore [Thu, 26 Nov 2009 22:31:45 +0000 (23:31 +0100)]
Merge branches 'csaba/commlist' and 'csaba/recip'

14 years agoproper listener velocity calculation, this has no effect yet but is required when...
ehofman [Mon, 23 Nov 2009 09:35:59 +0000 (09:35 +0000)]
proper listener velocity calculation, this has no effect yet but is required when other models start emitting sounds.

14 years agoTie samplegroup 'avionics' to the listener, just in case no other device is created...
ehofman [Thu, 19 Nov 2009 15:28:37 +0000 (15:28 +0000)]
Tie samplegroup 'avionics' to the listener, just in case no other device is created that does it.

14 years agorestore listener position with offset
ehofman [Mon, 16 Nov 2009 13:36:25 +0000 (13:36 +0000)]
restore listener position with offset

14 years agoDave Perry:
jmt [Sat, 14 Nov 2009 11:10:34 +0000 (11:10 +0000)]
Dave Perry:

Allows using a nasal filter to smoothly park the gs needle when out
of range or frequency changes to a station w/o gs.

14 years agotemporarily remove listener (viewer) and source offsets. they mess things up
ehofman [Thu, 12 Nov 2009 20:42:24 +0000 (20:42 +0000)]
temporarily remove listener (viewer) and source offsets. they mess things up

14 years agoput the debugging quat strings as doubles under /sim/current-view/debug instead.
ehofman [Wed, 11 Nov 2009 13:35:58 +0000 (13:35 +0000)]
put the debugging quat strings as doubles under /sim/current-view/debug instead.

14 years agoput the debugging quat strings as doubles under /sim/current-view/debug instead.
ehofman [Wed, 11 Nov 2009 08:22:30 +0000 (08:22 +0000)]
put the debugging quat strings as doubles under /sim/current-view/debug instead.

14 years agoPass the north-east-down velocty directly to the sample_group and do the calculations...
ehofman [Tue, 10 Nov 2009 14:29:25 +0000 (14:29 +0000)]
Pass the north-east-down velocty directly to the sample_group and do the calculations there.

14 years agofix a typo
ehofman [Mon, 9 Nov 2009 10:36:55 +0000 (10:36 +0000)]
fix a typo

14 years agoAdd a description of the 'type' tag
ehofman [Mon, 9 Nov 2009 10:35:49 +0000 (10:35 +0000)]
Add a description of the 'type' tag

14 years agoallow sound effects in the configuration file to be added to the 'avionics' sample...
ehofman [Mon, 9 Nov 2009 10:28:59 +0000 (10:28 +0000)]
allow sound effects in the configuration file to be added to the 'avionics' sample group by setting '<type>avionics</type>'.

14 years agosun postition fixes
ehofman [Mon, 9 Nov 2009 10:28:59 +0000 (10:28 +0000)]
sun postition fixes

Was: allow sound effects in the configuration file to be added to the 'avionics' sample group by setting '<type>avionics</type>'.

but this change obviously snuck in with that.

14 years agoRemove old MSVC6.0 files that doen't work anymore
ehofman [Mon, 9 Nov 2009 09:21:49 +0000 (09:21 +0000)]
Remove old MSVC6.0 files that doen't work anymore

14 years agodon't define constant objects in header files
Tim Moore [Mon, 9 Nov 2009 09:24:46 +0000 (10:24 +0100)]
don't define constant objects in header files

14 years agoJohn Denker:
ehofman [Sun, 8 Nov 2009 13:41:03 +0000 (13:41 +0000)]
John Denker:
Together with previous patch, make view reference frame, view offset,
and current view visible in property tree.
Also some comments about the concepts behind these variables.

14 years agoFix label printing in ATCDialog
Csaba Halasz [Tue, 13 Oct 2009 15:57:00 +0000 (17:57 +0200)]
Fix label printing in ATCDialog

14 years agoDo not pollute comm list by inserting not found elements in FGCommList::FindByPos
Csaba Halasz [Tue, 13 Oct 2009 15:56:06 +0000 (17:56 +0200)]
Do not pollute comm list by inserting not found elements in FGCommList::FindByPos

14 years agoUse wider search in FGCommList::FindByPos
Csaba Halasz [Tue, 13 Oct 2009 15:54:27 +0000 (17:54 +0200)]
Use wider search in FGCommList::FindByPos

14 years agoCase insensitivity for findNextByPartialId.
jmt [Sat, 7 Nov 2009 00:18:21 +0000 (00:18 +0000)]
Case insensitivity for findNextByPartialId.

14 years agoIn the route-manager, track the departure and destination airport objects
jmt [Sat, 7 Nov 2009 00:16:52 +0000 (00:16 +0000)]
In the route-manager, track the departure and destination airport objects

* Expose the airport names as properties
* Use tied properties to simplify the code

14 years agoMake Nasal airportinfo() tolerant of invalid airport idents.
jmt [Fri, 6 Nov 2009 23:12:35 +0000 (23:12 +0000)]
Make Nasal airportinfo() tolerant of invalid airport idents.

14 years agoEnable correct DTO waypoint selection
daveluff [Sat, 7 Nov 2009 00:18:08 +0000 (00:18 +0000)]
Enable correct DTO waypoint selection

14 years agoAllow all approaches to be selected at airports with more than 3 approaches
daveluff [Thu, 5 Nov 2009 20:27:56 +0000 (20:27 +0000)]
Allow all approaches to be selected at airports with more than 3 approaches

14 years agofirst stab at reorganizing fgUpdateSunPos() to make it use quats
ehofman [Fri, 6 Nov 2009 01:05:43 +0000 (01:05 +0000)]
first stab at reorganizing fgUpdateSunPos() to make it use quats

14 years agoSave a costly SGVec3d::fromGeod() calculation
ehofman [Thu, 5 Nov 2009 13:46:49 +0000 (13:46 +0000)]
Save a costly SGVec3d::fromGeod() calculation

14 years agoAdded some null pointer checks in FGAILocalTraffic to handle airports without tower
Csaba Halasz [Sun, 25 Oct 2009 15:08:38 +0000 (16:08 +0100)]
Added some null pointer checks in FGAILocalTraffic to handle airports without tower

14 years agoRe-apply the reciprocal patch from cvs rev 1.3 and correct an order of magnitude...
Csaba Halasz [Sun, 25 Oct 2009 15:23:31 +0000 (16:23 +0100)]
Re-apply the reciprocal patch from cvs rev 1.3 and correct an order of magnitude regression in HeadingIndicatorFG

14 years agoRon Jensen:
torsten [Sun, 25 Oct 2009 14:45:23 +0000 (14:45 +0000)]
Ron Jensen:
This little patch makes the KT-70 read 888-8888 when in self-test mode.
This is the correct behavior, the current behavior, where it reads the
flight level and squawk code in self-test is incorrect.

14 years agoMerge branches 'durk/scenery' and 'ehofman/fog'
Tim Moore [Fri, 6 Nov 2009 22:39:17 +0000 (23:39 +0100)]
Merge branches 'durk/scenery' and 'ehofman/fog'

14 years agoMerge branch 'topic/moon'
Tim Moore [Fri, 6 Nov 2009 22:38:42 +0000 (23:38 +0100)]
Merge branch 'topic/moon'

14 years agoMerge branch 'timoore/atmos'
Tim Moore [Fri, 6 Nov 2009 22:38:37 +0000 (23:38 +0100)]
Merge branch 'timoore/atmos'

14 years agoMerge branch 'tat/configure'
Tim Moore [Fri, 6 Nov 2009 22:38:29 +0000 (23:38 +0100)]
Merge branch 'tat/configure'

14 years agoMerge branch 'aperry/tsync'
Tim Moore [Fri, 6 Nov 2009 22:37:14 +0000 (23:37 +0100)]
Merge branch 'aperry/tsync'

14 years agopass the geodetic position and view orientation quat to the sky repositioning function
ehofman [Thu, 5 Nov 2009 12:49:29 +0000 (12:49 +0000)]
pass the geodetic position and view orientation quat to the sky repositioning function

14 years agoJohn Denker:
ehofman [Thu, 5 Nov 2009 09:18:27 +0000 (09:18 +0000)]
John Denker:
Add a view debugging functions and represent the viewer quats in the property tree for debugging.

Do a nontrivial calculation, demonstrating how to find the 12:00 orientation given the view and the view offset.  it, and observe that the 12:00 direction does not change when you change the view offset, which is a nontrivial result.

Erik: This already proved to be useful since I now obserbed that the sky and fog coloring code depends on view offset rather that the view orientations. This is why those effects are out of line in some views.

14 years agoAllow the DIR page to be exited properly using the inner knob
daveluff [Tue, 3 Nov 2009 22:55:36 +0000 (22:55 +0000)]
Allow the DIR page to be exited properly using the inner knob

14 years agoMake the comments about switching to the DIR page more useful
daveluff [Tue, 3 Nov 2009 22:54:05 +0000 (22:54 +0000)]
Make the comments about switching to the DIR page more useful

14 years agoI really have no idea why but the velocity should be 100 times larger than feet-per...
ehofman [Tue, 3 Nov 2009 12:58:35 +0000 (12:58 +0000)]
I really have no idea why but the velocity should be 100 times larger than feet-per-second suggests to work properly. oh and change sign

14 years agoUse the proper absolute position for the listener
ehofman [Tue, 3 Nov 2009 09:59:05 +0000 (09:59 +0000)]
Use the proper absolute position for the listener

14 years agoDynamic combo-boxes; read values from the property tree.
jmt [Mon, 2 Nov 2009 23:35:10 +0000 (23:35 +0000)]
Dynamic combo-boxes; read values from the property tree.

14 years agoCheck one potential source of the prime-meridian crash.
jmt [Mon, 2 Nov 2009 23:33:07 +0000 (23:33 +0000)]
Check one potential source of the prime-meridian crash.

14 years agorocket engine and piston engine fixes
ehofman [Mon, 2 Nov 2009 12:22:45 +0000 (12:22 +0000)]
rocket engine and piston engine fixes

14 years agominor upodate by John
ehofman [Mon, 2 Nov 2009 13:48:09 +0000 (13:48 +0000)]
minor upodate by John

14 years agoJohn Denker: Simplify redundant code and superfluous variable
ehofman [Mon, 2 Nov 2009 13:26:45 +0000 (13:26 +0000)]
John Denker: Simplify redundant code and superfluous variable

14 years agoPosition and orientation fixes for the sound code, thanks to Tim Moore
ehofman [Mon, 2 Nov 2009 10:31:42 +0000 (10:31 +0000)]
Position and orientation fixes for the sound code, thanks to Tim Moore

14 years agoproper sound orientation(?) and comment out velocity since it messes with OpenAL...
ehofman [Sun, 1 Nov 2009 14:53:36 +0000 (14:53 +0000)]
proper sound orientation(?) and comment out velocity since it messes with OpenAL in such a way that volume doesn't work properly anymore

14 years agoRevert lighting "cleanup" for now.
Tim Moore [Sat, 31 Oct 2009 22:00:11 +0000 (23:00 +0100)]
Revert lighting "cleanup" for now.

The osgViewer headlight appears to be critical for enabling lighting.

14 years agoanother attempt at getting something useful without any result.
ehofman [Sat, 31 Oct 2009 14:20:14 +0000 (14:20 +0000)]
another attempt at getting something useful without any result.

14 years agofix moon lighting at night
Tim Moore [Fri, 30 Oct 2009 10:32:58 +0000 (11:32 +0100)]
fix moon lighting at night

This hasn't worked since the OSG port was initially checked in. A real
phase-of-the-moon bug!

14 years agoCommit the current state of affairs to see if it fixes the position code for others
ehofman [Thu, 29 Oct 2009 13:34:43 +0000 (13:34 +0000)]
Commit the current state of affairs to see if it fixes the position code for others

14 years agoinitlialize _playing for FGATC. Proper listerner orientation based on view offset...
ehofman [Wed, 28 Oct 2009 14:29:38 +0000 (14:29 +0000)]
initlialize _playing for FGATC. Proper listerner orientation based on view offset. proper velocity orientation

14 years agosync. w. JSBSim CVS
ehofman [Wed, 28 Oct 2009 14:28:17 +0000 (14:28 +0000)]
sync. w. JSBSim CVS