]> git.mxchange.org Git - flightgear.git/log
flightgear.git
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.

14 years agoFix a copy-and-paste bug with destination runways. Caught by Scott Hamilton.
jmt [Sun, 18 Oct 2009 17:54:18 +0000 (17:54 +0000)]
Fix a copy-and-paste bug with destination runways. Caught by Scott Hamilton.

14 years agoexplicitly activate the sound manager
ehofman [Sun, 18 Oct 2009 13:45:01 +0000 (13:45 +0000)]
explicitly activate the sound manager

14 years agoAdd a hardwired instrument approach for testing. This will be removed and read from...
daveluff [Sun, 18 Oct 2009 00:32:47 +0000 (00:32 +0000)]
Add a hardwired instrument approach for testing.  This will be removed and read from file shortly

14 years agoFixes for changes in simgear/math/sg_types.hxx
Tim Moore [Sun, 18 Oct 2009 10:16:23 +0000 (12:16 +0200)]
Fixes for changes in simgear/math/sg_types.hxx

14 years agoFix 64 bit linux builds.
frohlich [Sat, 17 Oct 2009 19:21:26 +0000 (19:21 +0000)]
Fix 64 bit linux builds.

Modified Files:
src/ATCDCL/ATCVoice.hxx

14 years agoMy non-precision approach model had been one or more IAFs and then a common core...
daveluff [Sat, 17 Oct 2009 13:04:21 +0000 (13:04 +0000)]
My non-precision approach model had been one or more IAFs and then a common core approach from the IF.  In fact, there can be one or more initial approach routes from the IAFs to the IF, then the core approach.  Replace the IAFs with initial approach routes.  NOTE it is assumed in the code that there is a unique IAF per initial approach route.

14 years agoChange one of the default flight plans to something more convenient for development...
daveluff [Sat, 17 Oct 2009 11:48:17 +0000 (11:48 +0000)]
Change one of the default flight plans to something more convenient for development.  These will eventually all be removed from the code and read from preferences anyway.

14 years agoFix a crash where there is only 1 IAF in an approach
daveluff [Sat, 17 Oct 2009 11:43:19 +0000 (11:43 +0000)]
Fix a crash where there is only 1 IAF in an approach

14 years agoSoundManager fixes
ehofman [Fri, 16 Oct 2009 09:45:54 +0000 (09:45 +0000)]
SoundManager fixes

14 years agoJames Turner: Add autobrake functionality
ehofman [Fri, 16 Oct 2009 08:05:50 +0000 (08:05 +0000)]
James Turner: Add autobrake functionality

14 years agoFurther GPS and route manager behavioural fixes
jmt [Thu, 15 Oct 2009 21:30:10 +0000 (21:30 +0000)]
Further GPS and route manager behavioural fixes

* When the nav-radio is slaved, calculated radial/target-hdg-deg
 (needed by some autopilot logic)
* Handle editing (including deletion) of route waypoints correctly,
 including deleting the active waypoint
* Add a signal to the route manager when the last wpt is reached, and
 use it in the GPS to revert to OBS mode.
* Change the altitude handling to use the specified cruise altitude
* Fix a bug where autopilot/locks/altitude was treated as a boolean

14 years agomove some of the sound postion and orientation calculations over to the sample class...
ehofman [Thu, 15 Oct 2009 09:20:03 +0000 (09:20 +0000)]
move some of the sound postion and orientation calculations over to the sample class which also makes the main code nice and clean

14 years agoChanged starting fuel flow. Fixed aborted start behavior.
ehofman [Thu, 15 Oct 2009 16:17:45 +0000 (16:17 +0000)]
Changed starting fuel flow. Fixed aborted start behavior.

14 years agoThis is the looping fix.
ehofman [Thu, 15 Oct 2009 13:36:52 +0000 (13:36 +0000)]
This is the looping fix.

14 years agofixed egngine feed bug
ehofman [Thu, 15 Oct 2009 08:18:10 +0000 (08:18 +0000)]
fixed egngine feed bug

14 years agoRoute-manager: remove any interaction with the autopilot, or internal sequencing...
jmt [Wed, 14 Oct 2009 06:50:06 +0000 (06:50 +0000)]
Route-manager: remove any interaction with the autopilot, or internal sequencing; assume the GPS always handles this (it should, now). Also fix waypoint altitude handling, which was broken. If not altitude is supplied for a waypoint, default to the requested cruise altitude.

14 years agoFix bug in collision calculations
v meazza [Mon, 12 Oct 2009 09:24:11 +0000 (10:24 +0100)]
Fix bug in collision calculations

Signed-off-by: v meazza <vivian.meazza@lineone.net>
14 years agoremove debug message
v meazza [Tue, 29 Sep 2009 22:25:36 +0000 (23:25 +0100)]
remove debug message

Signed-off-by: v meazza <vivian.meazza@lineone.net>
14 years agoMake the GPS drive the autopilot directly (if configured), also update external cours...
jmt [Tue, 13 Oct 2009 22:02:08 +0000 (22:02 +0000)]
Make the GPS drive the autopilot directly (if configured), also update external course (OBS) source, and init at the current airport.

14 years agoEnsure we always create a GPS instrument.
jmt [Tue, 13 Oct 2009 22:01:48 +0000 (22:01 +0000)]
Ensure we always create a GPS instrument.