]> git.mxchange.org Git - flightgear.git/log
flightgear.git
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 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 agoFix typo
Tim Moore [Sat, 24 Oct 2009 21:14:48 +0000 (23:14 +0200)]
Fix typo

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 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 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 agoexplicitly activate the sound manager
ehofman [Sun, 18 Oct 2009 13:45:01 +0000 (13:45 +0000)]
explicitly activate the sound manager

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 agoSoundManager fixes
ehofman [Fri, 16 Oct 2009 09:45:54 +0000 (09:45 +0000)]
SoundManager fixes

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 agoCorrect (and verrified) position, orientation and velocity vector. Todo: proper sound...
ehofman [Sun, 11 Oct 2009 13:40:12 +0000 (13:40 +0000)]
Correct (and verrified) position, orientation and velocity vector. Todo: proper sound orientation (the all face forward using the airplane orientation now) and disabling doppler effect when tied to the listener

14 years agoSplit up FGFX into a dedicated effects class (FGFX) and a sample queue class. Registe...
ehofman [Wed, 7 Oct 2009 20:56:24 +0000 (20:56 +0000)]
Split up FGFX into a dedicated effects class (FGFX) and a sample queue class. Register the sample queue cass as 'queue' at the SoundManager and tie it to the listener position.

14 years agoadd the option to tie a SampleGroup to the listener position and orientation
ehofman [Wed, 7 Oct 2009 12:55:08 +0000 (12:55 +0000)]
add the option to tie a SampleGroup to the listener position and orientation

14 years ago(try to) properly align model and viewer
ehofman [Tue, 6 Oct 2009 12:09:50 +0000 (12:09 +0000)]
(try to) properly align model and viewer

14 years agoallow disabling sound completely (note: openal gets initialized but shuts down a...
ehofman [Mon, 5 Oct 2009 13:47:03 +0000 (13:47 +0000)]
allow disabling sound completely (note: openal gets initialized but shuts down a bit later leaving the soundmanager to handle only very specific commands). At this time by specifying '--prop:/sim/sound/enabled=false', not sure why '--disable-sound' doesn't work properly

14 years agoAdd the Sound Manager before any other subsystem that uses it. This makes sure the...
ehofman [Mon, 5 Oct 2009 09:12:50 +0000 (09:12 +0000)]
Add the Sound Manager before any other subsystem that uses it. This makes sure the SoundMgr is available at construction time which makes the code much cleaner. Call the update_last() after any other class

14 years agoInitial commit of the new sound system, expect more updates to follow
ehofman [Sun, 4 Oct 2009 13:52:53 +0000 (13:52 +0000)]
Initial commit of the new sound system, expect more updates to follow

14 years agoMerge branch 'topic/atis' into merge/master-atis
Tim Moore [Tue, 6 Oct 2009 08:21:19 +0000 (10:21 +0200)]
Merge branch 'topic/atis' into merge/master-atis

14 years agoMerge branch 'jmt/navradio'
Tim Moore [Thu, 1 Oct 2009 21:49:57 +0000 (23:49 +0200)]
Merge branch 'jmt/navradio'

The previous merge claimed to have merged this branch; it didn't because
I had reset the branch to someplace weird.

14 years agoMerge branches 'jmt/navradio', 'jmt/cleanup' and 'torsten/gps-fix'
Tim Moore [Thu, 1 Oct 2009 13:17:24 +0000 (15:17 +0200)]
Merge branches 'jmt/navradio', 'jmt/cleanup' and 'torsten/gps-fix'

14 years agoAllow airports system to function without an environment manager - useful in some...
jmt [Mon, 28 Sep 2009 23:43:31 +0000 (23:43 +0000)]
Allow airports system to function without an environment manager - useful in some tests I'm writing.

14 years agoMerge branch 'jmt/reciprocal'
Tim Moore [Wed, 23 Sep 2009 05:44:02 +0000 (07:44 +0200)]
Merge branch 'jmt/reciprocal'

14 years agoAlex Buzin: Fix wrong calculation of temperature and dewpoint
torsten [Tue, 22 Sep 2009 18:47:24 +0000 (18:47 +0000)]
Alex Buzin: Fix wrong calculation of temperature and dewpoint

14 years agoCatch a possible NAN at insanely low but greater than zero speeds
torsten [Tue, 22 Sep 2009 14:22:49 +0000 (14:22 +0000)]
Catch a possible NAN at insanely low but greater than zero speeds

14 years agoFix the temperature computation.
torsten [Sun, 20 Sep 2009 15:46:05 +0000 (15:46 +0000)]
Fix the temperature computation.

14 years agoRon Jensen:
torsten [Sun, 20 Sep 2009 15:42:46 +0000 (15:42 +0000)]
Ron Jensen:
While troubleshooting the new environment I discovered the metar station
elevation (station_elevation_ft) is never being set because there is a
local variable that overrides it.

14 years agoMerge branch 'tat/configure'
Tim Moore [Sun, 20 Sep 2009 20:44:58 +0000 (22:44 +0200)]
Merge branch 'tat/configure'

14 years agoRemove plib/fnt.h from panel header.
jmt [Sun, 20 Sep 2009 08:21:47 +0000 (08:21 +0000)]
Remove plib/fnt.h from panel header.

14 years agoReplace one SGD_ constant with a local one, in LaRCsim.
jmt [Sun, 20 Sep 2009 08:21:27 +0000 (08:21 +0000)]
Replace one SGD_ constant with a local one, in LaRCsim.

14 years agoRemove <plib/sg> includes.
jmt [Sun, 20 Sep 2009 08:21:05 +0000 (08:21 +0000)]
Remove <plib/sg> includes.

14 years agoRemove use of plig/sg from render-area-2d.
jmt [Sat, 19 Sep 2009 19:21:28 +0000 (19:21 +0000)]
Remove use of plig/sg from render-area-2d.

14 years agoRemove audio update from main.cxx, back to FGFX (but keep the timing-dependent piece...
jmt [Sat, 19 Sep 2009 18:57:04 +0000 (18:57 +0000)]
Remove audio update from main.cxx, back to FGFX (but keep the timing-dependent piece done artificially late)

14 years agoBreak viewmgr.hxx dependency on on viewer.hxx.
jmt [Sat, 19 Sep 2009 18:41:55 +0000 (18:41 +0000)]
Break viewmgr.hxx dependency on on viewer.hxx.

14 years agouse boost::tie instead of make_ref
Tim Moore [Sat, 19 Sep 2009 21:55:09 +0000 (23:55 +0200)]
use boost::tie instead of make_ref

14 years agofix ATIS on 64bit machines
Csaba Halasz [Sat, 19 Sep 2009 19:41:12 +0000 (21:41 +0200)]
fix ATIS on 64bit machines

14 years agoMSVC fixes for atis merge.
v meazza [Sat, 19 Sep 2009 10:02:36 +0000 (11:02 +0100)]
MSVC fixes for atis merge.

Avoid dynamic arrays such as char msg[len]; they are a gcc-ism.

14 years agoFGFX clean-ups, conversion of one more sgVec user.
jmt [Sat, 19 Sep 2009 08:03:17 +0000 (08:03 +0000)]
FGFX clean-ups, conversion of one more sgVec user.

14 years agoPut back an unfortunate include, until ViewMgr can be fixed to not inline FGViewer...
jmt [Fri, 18 Sep 2009 17:27:16 +0000 (17:27 +0000)]
Put back an unfortunate include, until ViewMgr can be fixed to not inline FGViewer destructor calls.

14 years agoDrat, this is really needed. Yuck, yuck, yuck.
jmt [Fri, 18 Sep 2009 17:17:06 +0000 (17:17 +0000)]
Drat, this is really needed. Yuck, yuck, yuck.

14 years agoHeader clean-ups in viewer/view-mgr.
jmt [Fri, 18 Sep 2009 16:50:08 +0000 (16:50 +0000)]
Header clean-ups in viewer/view-mgr.

14 years agoATIS overhaul by John Denker, adapted to trunk by me.
jmt [Fri, 18 Sep 2009 15:27:19 +0000 (15:27 +0000)]
ATIS overhaul by John Denker, adapted to trunk by me.

8:: AWOS is available at AWOS locations.  (Previously only ATIS was
   implemented.)

 9:: ATIS phraseology now more nearly conforms to international
   standard METAR pattern, and therefore to usual FAA practice.(*)

Items marked with a (*) are fully implemented in the /text/ of the
ATIS message, but the voiced version of the message is degraded by
limitations of the FGFS built-in text-to-speech system.

 10:: ATIS now reports sky condition.(*)

 11:: ATIS now reports multiple layers of clouds, not just the lowest
 layer.(*)

 12:: ATIS now takes field elevation into account when calculating
   sky condition and ceiling.

 13:: ATIS now reports dewpoint.(*)

 14:: ATIS now can handle negative quantities (temperature and dewpoint).(*)

 15:: ATIS can now report report fractional-mile visibility.(*)

 16:: ATIS now uses magnetic (not true) wind directions, as it should.

 17:: ATIS generates correct runway number and suffix (nine right,
   one one left).

 18:: ATIS can be received on nav frequencies, not just comm.

 19:: Nothing bad happens if the same ATIS is tuned up on more than
   one receiver.

 20:: ATIS can be updated at times other than at the top of the hour.

 21:: ATIS listens for an "attention" signal, and responds to changes
   in the weather by issuing a new ATIS message (somewhat like a
   "special observation").

 22:: ATIS volume now responds to radio volume setting.

 23:: Area-related services (i.e. approach radar) are handled
   more-nearly consistently with radio-frequency related services.

 24:: ATIS sequence-letter generation has been fixed.

 25:: ATIS messages are now in the property tree, so they can be read
   e.g. via the http interface.

14 years agoonly complain about binary record length mismatch if mode is binary.
torsten [Thu, 17 Sep 2009 20:17:35 +0000 (20:17 +0000)]
only complain about binary record length mismatch if mode is binary.

14 years agounintentional introduction of a not yet ready util.
torsten [Fri, 18 Sep 2009 07:37:23 +0000 (07:37 +0000)]
unintentional introduction of a not yet ready util.

14 years agoand the (hopefully) last one from Tat's Mac-can-run-make patch
torsten [Thu, 17 Sep 2009 18:42:15 +0000 (18:42 +0000)]
and the (hopefully) last one from Tat's Mac-can-run-make patch

14 years agoforgotten ones from Tat's patch to enable make builds on Macs
torsten [Thu, 17 Sep 2009 17:03:26 +0000 (17:03 +0000)]
forgotten ones from Tat's patch to enable make builds on Macs

14 years agoNavRadio: By way of an experiment, make false courses/lobes disable-able via a property.
jmt [Thu, 17 Sep 2009 09:30:19 +0000 (09:30 +0000)]
NavRadio: By way of an experiment, make false courses/lobes disable-able via a property.

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 agoNavRadio DME in-range flag, and audio code improvements. By John Denker, adapted...
jmt [Wed, 16 Sep 2009 10:12:50 +0000 (10:12 +0000)]
NavRadio DME in-range flag, and audio code improvements. By John Denker, adapted to current trunk by me.

14 years agoDifferent approach to handling the paired-ILS-on-opposite-runways situation. This...
jmt [Wed, 16 Sep 2009 09:35:22 +0000 (09:35 +0000)]
Different approach to handling the paired-ILS-on-opposite-runways situation. This uses additional information we now store (in FGRunway) to be more explicit about the behaviour (i.e only look at paired navids), and crucially, does not misbehave near either threshold. Instead it always switches about the runway midpoint (so back-course/missed-approaches are broken as before), leading to stable behaviour when touching down.

I am pretty confident this is (was, from FS2004) also the 'solution' taken by MSFS.

14 years agoAssociate non-ILS localisers with their runway.
jmt [Wed, 16 Sep 2009 00:23:34 +0000 (00:23 +0000)]
Associate non-ILS localisers with their runway.

14 years agoMake FGRunway track reciprocal runways.
jmt [Wed, 16 Sep 2009 00:17:12 +0000 (00:17 +0000)]
Make FGRunway track reciprocal runways.

14 years agoOne more divide by zero fix from Torsten.
jmt [Tue, 15 Sep 2009 15:34:36 +0000 (15:34 +0000)]
One more divide by zero fix from Torsten.

14 years agoWork around the penaltyForNav broken-ness, by ensuring GS behaves sanely even if...
jmt [Tue, 15 Sep 2009 10:15:42 +0000 (10:15 +0000)]
Work around the penaltyForNav broken-ness, by ensuring GS behaves sanely even if non-matches LOC and GS transmitters are selected. Which happens. Yuck.

14 years agonavradio: fix crash spotted by Torsten, when nav range is unspecified.
jmt [Mon, 14 Sep 2009 22:41:29 +0000 (22:41 +0000)]
navradio: fix crash spotted by Torsten, when nav range is unspecified.

14 years agoFix the has-gs flag when switching to a VOR (thanks Torsten), and expose GS validity...
jmt [Mon, 14 Sep 2009 21:53:55 +0000 (21:53 +0000)]
Fix the has-gs flag when switching to a VOR (thanks Torsten), and expose GS validity via a new gs-in-range boolean prop, as suggested by John Denker.

14 years agoLogging: less verbose about navaids we didn't align.
jmt [Mon, 14 Sep 2009 12:44:30 +0000 (12:44 +0000)]
Logging: less verbose about navaids we didn't align.

14 years agoLogging: less verbose traffic-manager startup.
jmt [Mon, 14 Sep 2009 12:39:41 +0000 (12:39 +0000)]
Logging: less verbose traffic-manager startup.

14 years agoLogging: less verbose panel loading.
jmt [Mon, 14 Sep 2009 12:39:25 +0000 (12:39 +0000)]
Logging: less verbose panel loading.

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