]> git.mxchange.org Git - flightgear.git/log
flightgear.git
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 agoAdd support for high speed trains. Change update rate to main frame rate, and move...
Tim Moore [Sat, 31 Oct 2009 23:15:14 +0000 (00:15 +0100)]
Add support for high speed trains. Change update rate to main frame rate, and move framerate-heavy functions to a 20Hz update cycle. Jitter is much reduced, at a small cost to framerate

Signed-off-by: v meazza <vivian.meazza@lineone.net>
Conflicts:

src/AIModel/AIGroundVehicle.cxx

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

14 years agoBugfix - don't exclude seaports or heliports when looking up by ICAO.
jmt [Wed, 28 Oct 2009 08:27:19 +0000 (08:27 +0000)]
Bugfix - don't exclude seaports or heliports when looking up by ICAO.

14 years agoCheck for an empty search query in GPS searches, and fix test code.
jmt [Tue, 27 Oct 2009 19:23:56 +0000 (19:23 +0000)]
Check for an empty search query in GPS searches, and fix test code.

14 years agoRemove the unecessary distinction between waypoints of the core approach and waypoint...
daveluff [Tue, 27 Oct 2009 00:32:57 +0000 (00:32 +0000)]
Remove the unecessary distinction between waypoints of the core approach and waypoints of the missed approach procedure

14 years agoRemove system typedefs for MSC in net_fdm.hxx
Tim Moore [Mon, 26 Oct 2009 22:46:17 +0000 (23:46 +0100)]
Remove system typedefs for MSC in net_fdm.hxx

They are defined by stdint.hxx now.

14 years agostdint.h or equivalent is needed for net_fdm.hxx
Tim Moore [Mon, 26 Oct 2009 21:40:43 +0000 (22:40 +0100)]
stdint.h or equivalent is needed for net_fdm.hxx

14 years agoBetter idents for waypoints defined by lon/lat.
jmt [Mon, 26 Oct 2009 20:23:33 +0000 (20:23 +0000)]
Better idents for waypoints defined by lon/lat.

14 years agoMSVC fix
ehofman [Mon, 26 Oct 2009 19:52:11 +0000 (19:52 +0000)]
MSVC fix

14 years agomingw fix
ehofman [Mon, 26 Oct 2009 19:49:33 +0000 (19:49 +0000)]
mingw fix

14 years agoSync. w. JSBSim cvs
ehofman [Mon, 26 Oct 2009 13:29:58 +0000 (13:29 +0000)]
Sync. w. JSBSim cvs

14 years agoCsaba Halasz: C++-ify ATCVoice WriteMessage
ehofman [Mon, 26 Oct 2009 13:31:41 +0000 (13:31 +0000)]
Csaba Halasz: C++-ify ATCVoice WriteMessage

14 years agofix a pointer reference.
ehofman [Mon, 26 Oct 2009 09:47:16 +0000 (09:47 +0000)]
fix a pointer reference.

14 years agoAdjust fog color.
ehofman [Mon, 26 Oct 2009 09:46:05 +0000 (09:46 +0000)]
Adjust fog color.

14 years agomore include SGMath.hxx to keep MSVC happy
Tim Moore [Tue, 20 Oct 2009 08:18:51 +0000 (10:18 +0200)]
more include SGMath.hxx to keep MSVC happy

14 years agoRevoke url change detection code.
durk [Sun, 25 Oct 2009 20:09:20 +0000 (20:09 +0000)]
Revoke url change detection code.

14 years agoGenerate sea level pressure from metar
Tim Moore [Mon, 26 Oct 2009 05:54:39 +0000 (06:54 +0100)]
Generate sea level pressure from metar

This needs to account for the current temperature.

14 years agoExpand SIAP idents as found in FAA ARINC dataset to the full approach name as shown...
daveluff [Sat, 24 Oct 2009 19:36:12 +0000 (19:36 +0000)]
Expand SIAP idents as found in FAA ARINC dataset to the full approach name as shown on the approach chart and possibly the GPS

14 years agoFix typo
Tim Moore [Sat, 24 Oct 2009 21:14:48 +0000 (23:14 +0200)]
Fix typo

14 years agodelete char array with delete[]
Tim Moore [Sat, 24 Oct 2009 20:49:18 +0000 (22:49 +0200)]
delete char array with delete[]

14 years agoTwo patches:
durk [Sat, 24 Oct 2009 09:22:20 +0000 (09:22 +0000)]
Two patches:

1) Fix for the "use custom scenery airport data" property.
2) Make it a little harder for stupid people to make money behind our backs.

14 years agoUse shared pointers for any reference to SGSoundSample
ehofman [Sat, 24 Oct 2009 12:57:50 +0000 (12:57 +0000)]
Use shared pointers for any reference to SGSoundSample

14 years agoDon't make the SoundManager a memebr of the subsystem manager; It needs to be initial...
ehofman [Sat, 24 Oct 2009 08:31:37 +0000 (08:31 +0000)]
Don't make the SoundManager a memebr of the subsystem manager; It needs to be initialized very early and destroyed as late as possible. That doesn't work as a subsystem meber onless some sort of priority scheme gets implemented. Get rid of auto_ptr which doesn work for the samples either.

14 years agoSync. with JSBSim CVS
ehofman [Sat, 24 Oct 2009 08:25:55 +0000 (08:25 +0000)]
Sync. with JSBSim CVS

14 years agoThis is one leftover from Tat's patch from 2009-09-16:
torsten [Wed, 21 Oct 2009 20:20:03 +0000 (20:20 +0000)]
This is one leftover from Tat's patch from 2009-09-16:

I believe these patches are really important for Mac users since they don't have to wait for my updating xcode project files.
these also saves up to 50% of build time since most of users don't have to make universal binaries.

14 years agoFix for an uninitialised value, reported by Dave Luff.
jmt [Wed, 21 Oct 2009 22:47:29 +0000 (22:47 +0000)]
Fix for an uninitialised value, reported by Dave Luff.

14 years agoRoute tweaks, especially in-flight activation and deactivation
jmt [Wed, 21 Oct 2009 22:42:24 +0000 (22:42 +0000)]
Route tweaks, especially in-flight activation and deactivation

* Don't require a valid departure and destination airport
* Handle in-air route activation cleanly
* Handle end-of-route situation cleanly

14 years agoAdd a proper typecast
ehofman [Thu, 22 Oct 2009 12:53:48 +0000 (12:53 +0000)]
Add a proper typecast

14 years agoline up aircraft orientation and velocity vector
ehofman [Thu, 22 Oct 2009 11:51:15 +0000 (11:51 +0000)]
line up aircraft orientation and velocity vector

14 years agoTweak permitted indices for GPS route insert commands.
jmt [Wed, 21 Oct 2009 07:18:36 +0000 (07:18 +0000)]
Tweak permitted indices for GPS route insert commands.

14 years agoGPS commands to edit the route manager route.
jmt [Wed, 21 Oct 2009 07:18:19 +0000 (07:18 +0000)]
GPS commands to edit the route manager route.

14 years agoAssorted small soundsystem related fixes.
ehofman [Tue, 20 Oct 2009 11:31:42 +0000 (11:31 +0000)]
Assorted small soundsystem related fixes.

14 years agoUse auto_ptr when calling SGSoundSample
ehofman [Mon, 19 Oct 2009 14:10:31 +0000 (14:10 +0000)]
Use auto_ptr when calling SGSoundSample

14 years agoremove a debugging left-over
ehofman [Mon, 19 Oct 2009 11:08:27 +0000 (11:08 +0000)]
remove a debugging left-over

14 years agoFix a number of small bugs; eg test if SoundMgr::load fails and return false in that...
ehofman [Mon, 19 Oct 2009 10:41:17 +0000 (10:41 +0000)]
Fix a number of small bugs; eg test if SoundMgr::load fails and return false in that case.

14 years agoMake sure the unbind method is called for all registered subsystems proir to deleting...
ehofman [Mon, 19 Oct 2009 08:57:14 +0000 (08:57 +0000)]
Make sure the unbind method is called for all registered subsystems proir to deleting the subsystem manager.

14 years agoRemoved code from ConsumeFuel() which failed due to rounding error.
ehofman [Mon, 19 Oct 2009 07:54:48 +0000 (07:54 +0000)]
Removed code from ConsumeFuel() which failed due to rounding error.

14 years agoMake panel-IO quieter.
jmt [Sun, 18 Oct 2009 23:02:51 +0000 (23:02 +0000)]
Make panel-IO quieter.

14 years agoHUD tweak - don't show cross-track error if it's (effectively) zero.
jmt [Sun, 18 Oct 2009 21:08:22 +0000 (21:08 +0000)]
HUD tweak - don't show cross-track error if it's (effectively) zero.

14 years agoGPS data validity clean-up; it was a mess, now it's more robust. Thanks to Dave Luff...
jmt [Sun, 18 Oct 2009 20:42:14 +0000 (20:42 +0000)]
GPS data validity clean-up; it was a mess, now it's more robust. Thanks to Dave Luff for reporting.

14 years agoFix route-manager / GPS sequencing interaction; tied properties need help to fire...
jmt [Sun, 18 Oct 2009 19:59:01 +0000 (19:59 +0000)]
Fix route-manager / GPS sequencing interaction; tied properties need help to fire listeners.