]> git.mxchange.org Git - flightgear.git/log
flightgear.git
20 years agoMatch the changes in SimGear to fix an NVidia problem.
ehofman [Fri, 2 Apr 2004 19:44:42 +0000 (19:44 +0000)]
Match the changes in SimGear to fix an NVidia problem.

20 years agoFrederic Bouvier:
ehofman [Fri, 2 Apr 2004 16:50:38 +0000 (16:50 +0000)]
Frederic Bouvier:

Cure the performance penalty that leads to draw the aircraft twice.
Also cure the transparency bug over the aircraft.

20 years agoTowards better support for a per engine master bat/alt switch.
curt [Fri, 2 Apr 2004 16:20:46 +0000 (16:20 +0000)]
Towards better support for a per engine master bat/alt switch.

20 years agoreflect net_ftm/net_ctrls changes.
curt [Fri, 2 Apr 2004 16:20:17 +0000 (16:20 +0000)]
reflect net_ftm/net_ctrls changes.

20 years agonative_ctrls:
curt [Fri, 2 Apr 2004 16:19:59 +0000 (16:19 +0000)]
native_ctrls:
- We need to be able to support a per engine master bat/alt switch.
- Forgot to write the gear level state into the network structure.

native_fdm:
- renamed EGT->egt for consistancy.
- added manifold pressure to the structure.

20 years agoClean up some debugging output.
curt [Fri, 2 Apr 2004 16:17:08 +0000 (16:17 +0000)]
Clean up some debugging output.

20 years agoFrederic Bouvier:
ehofman [Fri, 2 Apr 2004 14:43:31 +0000 (14:43 +0000)]
Frederic Bouvier:

  Add a select method to FGAircraftModel to draw the aircraft
  or not when calling ssgCullAndDraw on the whole scene.

20 years agoFrederic Bouvier:
ehofman [Fri, 2 Apr 2004 14:42:42 +0000 (14:42 +0000)]
Frederic Bouvier:

  Add a static function that will be installed as a callback to
  cull or not the terrain leaves in tiles.
  Add a function to set the filter.

20 years agoFrederic Bouvier:
ehofman [Fri, 2 Apr 2004 14:42:03 +0000 (14:42 +0000)]
Frederic Bouvier:

  Add a pretrav callback to the first kid of geometry that should
  be the terrain_branch. The callback is a static function in
  FGTileMgr

20 years agoFrederic Bouvier:
ehofman [Fri, 2 Apr 2004 14:41:35 +0000 (14:41 +0000)]
Frederic Bouvier:

Call sgLoad3DModel from simgear instead of duplicating code.

20 years agoFrederic Bouvier:
ehofman [Fri, 2 Apr 2004 14:40:54 +0000 (14:40 +0000)]
Frederic Bouvier:

FG_ENABLE_MULTIPASS_CLOUDS must be defined to enable
 the algorithm. I made this because the stencil buffer
 must be initialized at the beginning of the program and
 OpenGL can fallback to software rendering if it can't
 find a visual with stencil buffer. I didn't touch the
 configure script, so CXXFLAGS=-DFG_ENABLE_MULTIPASS_CLOUDS
 must be set before running ./configure.

 If FG_ENABLE_MULTIPASS_CLOUDS is defined, the main render
 loop begins by reading the /sim/rendering/multi-pass-clouds
 property. It is a boolean property so there are only two
 quality levels. false means no multi pass and no use of
 the stencil buffer, true means an additionnal pass for
 both upper and lower cloud layers.

 The algorithms are as follow :
  /sim/rendering/multi-pass-clouds=false
   1. draw sky dome
   2. draw terrain only
   3. draw clouds above the viewer
   4. draw models except the aircraft
   5. draw clouds below the viewer
   6. draw the aircraft.
  The cloud rendering doesn't update the depth buffer.
  This means that models overwrite clouds above the viewer.
  This is only noticeable for tall buildings and when
  flying very low. Also, drawing low clouds after models
  means that they are not blended with models' translucent
  surfaces. Large transparent area require alpha test
  enabled and AI aircraft canopy are making holes. The
  pilot's aircraft being rendered at the end, there is no
  problem with canopy or prop disc.

  /sim/rendering/multi-pass-clouds=true
   1. draw the sky dome
   2. draw the terrain only
   3. draw all clouds
   4. draw models except the aircraft
   5. redraw the clouds where the models where drawn ( stencil
      test on )
   6. draw the aircraft
  The assumptions made by this algoritm are that the terrain
  is not transparent ( should be true in all cases and
  that there are no clouds between the aircraft and the viewer.
  Assuming these facts, there should be no blending bugs.

  The screenshot rendering is not updated yet.

20 years agoClean up a couple bugs in the multiengine handling of the net_fdm.hxx
curt [Fri, 2 Apr 2004 01:54:38 +0000 (01:54 +0000)]
Clean up a couple bugs in the multiengine handling of the net_fdm.hxx
external interface.

20 years agoI was too agressive in the fg_os port. Glut doesn't support grabbing
andy [Thu, 1 Apr 2004 23:28:47 +0000 (23:28 +0000)]
I was too agressive in the fg_os port.  Glut doesn't support grabbing
the keyboard modifiers outside of a key event handler, so adding the
fgGetKeyModifiers() call to doMouseMotion was broken.  The user could
see "phantom" modifier keys.

20 years agoRe-enable glut game mode for now
andy [Thu, 1 Apr 2004 15:44:13 +0000 (15:44 +0000)]
Re-enable glut game mode for now

20 years agoClean up various compiler warnings that have crept into the code. This
curt [Thu, 1 Apr 2004 15:27:53 +0000 (15:27 +0000)]
Clean up various compiler warnings that have crept into the code.  This
by no means get's them all, but it's a start.

20 years agoWin32 typos crept in during the patch. Fix from Frederic Bouvier.
andy [Thu, 1 Apr 2004 15:14:34 +0000 (15:14 +0000)]
Win32 typos crept in during the patch.  Fix from Frederic Bouvier.

20 years agoDon't include an unnecessary header.
curt [Wed, 31 Mar 2004 23:53:51 +0000 (23:53 +0000)]
Don't include an unnecessary header.

20 years agoYank out all the glut dependencies and concentrate them in a (easily
andy [Wed, 31 Mar 2004 21:10:32 +0000 (21:10 +0000)]
Yank out all the glut dependencies and concentrate them in a (easily
reimplementable) Main/fg_os.cxx file.

20 years agoFrederic Bouvier:
ehofman [Tue, 30 Mar 2004 09:05:05 +0000 (09:05 +0000)]
Frederic Bouvier:

trying the --show-aircraft option, I noticed that I had
no output. This is because there are still output to
cout or cerr, that are not triggering my console patch
for windows. The patch attached use SG_LOG instead.
A request to hit a key is also added because otherwise,
the console window will disappear as soon as the program
stop.

This problem is minor though given the fact that fgfs.exe
is shipped with fgrun that do show the available aircraft
in a much nicer manner.

20 years agoInitial 0.9.4 setup file.
curt [Mon, 29 Mar 2004 20:57:11 +0000 (20:57 +0000)]
Initial 0.9.4 setup file.

20 years agoMake sure fgadmin get's into future release tar balls.
curt [Mon, 29 Mar 2004 17:42:10 +0000 (17:42 +0000)]
Make sure fgadmin get's into future release tar balls.

20 years agoA few abs->fabs where we are passing a double in
daveluff [Mon, 29 Mar 2004 10:25:21 +0000 (10:25 +0000)]
A few abs->fabs where we are passing a double in

20 years agoPatch from Fred Bouvier to use multi-platform ul library from plib for directory...
daveluff [Mon, 29 Mar 2004 10:20:19 +0000 (10:20 +0000)]
Patch from Fred Bouvier to use multi-platform ul library from plib for directory searching instead of ifdefs

20 years agoMore work to get the starter behavior right, without breaking David's
andy [Sat, 27 Mar 2004 18:34:04 +0000 (18:34 +0000)]
More work to get the starter behavior right, without breaking David's
work on the pa28 idle and without creating ridiculous side effects
(like being able to fly the aircraft with the starter motor, heh).
This one looks pretty good for now, pending work on the propeller to
get its low speed drag in line with reality.

20 years agoAdd the IRIX packaging files for use with swpkg
ehofman [Sat, 27 Mar 2004 15:16:03 +0000 (15:16 +0000)]
Add the IRIX packaging files for use with swpkg

20 years agoYASim now supports the new fuel.nas fuel management system. It
andy [Sat, 27 Mar 2004 04:07:18 +0000 (04:07 +0000)]
YASim now supports the new fuel.nas fuel management system.  It
reads the /consumables tree for input to determine weights, but
places output only in /engines/engine[n]/fuel-consumed-lbs where
it gets picked up by the Nasal code.

20 years agoTune up the starter torque to match the recent changes to engine
andy [Fri, 26 Mar 2004 22:53:41 +0000 (22:53 +0000)]
Tune up the starter torque to match the recent changes to engine
friction.  We should get these better calibrated at some point...

20 years agoFinal 0.9.4 tweaks.
curt [Fri, 26 Mar 2004 21:46:49 +0000 (21:46 +0000)]
Final 0.9.4 tweaks.

20 years agoForgot to handle "unspecified" properties in getprop(). Treat them
andy [Wed, 24 Mar 2004 19:06:54 +0000 (19:06 +0000)]
Forgot to handle "unspecified" properties in getprop().  Treat them
as strings.

20 years agoFailed timers should log errors rather than silently eating them.
andy [Wed, 24 Mar 2004 18:37:58 +0000 (18:37 +0000)]
Failed timers should log errors rather than silently eating them.

20 years agoUpdates to the IRIX install hints.
ehofman [Wed, 24 Mar 2004 10:30:04 +0000 (10:30 +0000)]
Updates to the IRIX install hints.

20 years ago0.9.4.pre2 updates.
curt [Wed, 24 Mar 2004 01:05:53 +0000 (01:05 +0000)]
0.9.4.pre2 updates.

20 years agoRound millibars to nearest whole number, and make inches default even in UK until...
daveluff [Wed, 24 Mar 2004 00:28:52 +0000 (00:28 +0000)]
Round millibars to nearest whole number, and make inches default even in UK until the altimeter on the panel gets a millibar adjuster

20 years agoConvert altimeter to millibars for the UK
daveluff [Tue, 23 Mar 2004 23:36:27 +0000 (23:36 +0000)]
Convert altimeter to millibars for the UK

20 years agoAdd altimeter to the ATIS. Always does inches at the moment.
daveluff [Tue, 23 Mar 2004 23:25:37 +0000 (23:25 +0000)]
Add altimeter to the ATIS.  Always does inches at the moment.

20 years agoHide generated binary.
david [Tue, 23 Mar 2004 20:52:01 +0000 (20:52 +0000)]
Hide generated binary.

20 years agoexclude .xcf files from the official base package distribution.
curt [Tue, 23 Mar 2004 19:49:07 +0000 (19:49 +0000)]
exclude .xcf files from the official base package distribution.

20 years agoFor cygwin, make sure to preserve previous contents of EXTRA_DIRS.
curt [Tue, 23 Mar 2004 13:43:13 +0000 (13:43 +0000)]
For cygwin, make sure to preserve previous contents of EXTRA_DIRS.

20 years agoJim Wilson:
curt [Tue, 23 Mar 2004 13:19:40 +0000 (13:19 +0000)]
Jim Wilson:

This is a fix for my earlier "Remove some hardcoded dependencies between fdm,
viewer and acmodel" patch.  The problem was discovered when testing the
wrightFlyer.

20 years agoReturn to original property names.
curt [Tue, 23 Mar 2004 02:44:24 +0000 (02:44 +0000)]
Return to original property names.

20 years agoFix another possible ATC stackdump
daveluff [Mon, 22 Mar 2004 22:09:47 +0000 (22:09 +0000)]
Fix another possible ATC stackdump

20 years agoFix some warnings
daveluff [Mon, 22 Mar 2004 20:57:27 +0000 (20:57 +0000)]
Fix some warnings

20 years agoVarious final tweaks for the 0.9.4.pre1 release.
curt [Mon, 22 Mar 2004 20:19:18 +0000 (20:19 +0000)]
Various final tweaks for the 0.9.4.pre1 release.

20 years agoplib-1.8.0 no longer defines the cchar type (which we used because we were
curt [Mon, 22 Mar 2004 15:00:42 +0000 (15:00 +0000)]
plib-1.8.0 no longer defines the cchar type (which we used because we were
deriving a class and the base class used this type.)  Return to using
const char and hope people compiling against earlier versions of plib
have compilers that think typedef const char cchar; char *abc; is equivalent
to const char *abd;

20 years agoA hack to prevent a devide by zero sotuation. Should we still leave the balloon in...
ehofman [Mon, 22 Mar 2004 10:59:08 +0000 (10:59 +0000)]
A hack to prevent a devide by zero sotuation. Should we still leave the balloon in CVS without WeatherCM?

20 years agoFrederic Bouvier:
curt [Mon, 22 Mar 2004 02:17:41 +0000 (02:17 +0000)]
Frederic Bouvier:

I made these changes because fltk doesn't recognize path
\\SERVER\SHARE as a normal directory, although plib/ul
function succeed at enumerating the content of such a
path.

I had that problem when I decided to test FG on a loaned
HP xw4100 workstation. I installed it over the network and
the install-source became \\myserver\myshare\. with no
scenery files detected.

20 years agoJim Wilson:
curt [Sun, 21 Mar 2004 21:05:06 +0000 (21:05 +0000)]
Jim Wilson:

This patch adds the ability to do a simple scaling of input without having to
add hardcoded helpers.  Example:

    <reference>
      <prop>/autopilot/settings/vertical-speed-fpm</prop>
      <scale>0.01667</scale>
    </reference>

20 years agoFix a problem where the windspeed could be negative in the property tree. Animations...
ehofman [Sun, 21 Mar 2004 10:57:44 +0000 (10:57 +0000)]
Fix a problem where the windspeed could be negative in the property tree. Animations relying on this property could become stressed because of that.

20 years agoFrederic Bouvier:
ehofman [Sat, 20 Mar 2004 22:42:41 +0000 (22:42 +0000)]
Frederic Bouvier:

The message 'Alert: catching up on tile delete queue'
comes from the fact that 48 tiles are scheduled and
added to the cache at startup before the plane location
is initialized. My proposed patch is to initialize
SGLocation with an invalid position and detect this
fact before scheduling tiles. I prefer to do that
rather than testing for lon and lat being 0,0 because
it is a valid position and someone could want to fly
near Accra.

20 years agoFrederic Bouvier:
ehofman [Sat, 20 Mar 2004 22:39:30 +0000 (22:39 +0000)]
Frederic Bouvier:

This patch is for windows only. It hides the console window
until there is a message to print. It only support SG_LOG,
that I think is the right way to display something in FG.

20 years agoSome more tweaks to the landing clearance code
daveluff [Sat, 20 Mar 2004 04:12:05 +0000 (04:12 +0000)]
Some more tweaks to the landing clearance code

20 years agoDelay deletion of AI traffic until after it has had time to release the frequency...
daveluff [Sat, 20 Mar 2004 03:13:29 +0000 (03:13 +0000)]
Delay deletion of AI traffic until after it has had time to release the frequency after its last transmission.  This is a bit of a band-aid for more deep-seated problems with the dialog model, but it will solve some problems for now

20 years agoRelease the frequency after finishing a transmission
daveluff [Sat, 20 Mar 2004 02:56:13 +0000 (02:56 +0000)]
Release the frequency after finishing a transmission

20 years agoSlightly more robust handling of runway vacation
daveluff [Sat, 20 Mar 2004 02:55:25 +0000 (02:55 +0000)]
Slightly more robust handling of runway vacation

20 years agoConvert some char* return types to string
daveluff [Fri, 19 Mar 2004 13:46:15 +0000 (13:46 +0000)]
Convert some char* return types to string

20 years agoJim Wilson:
curt [Fri, 19 Mar 2004 03:30:18 +0000 (03:30 +0000)]
Jim Wilson:

Remove some hardcoded dependencies between fdm, viewer and acmodel classes and
replaced them with property references.   Fix roll offset in viewer.

20 years agoJim Wilson:
curt [Fri, 19 Mar 2004 03:23:28 +0000 (03:23 +0000)]
Jim Wilson:

Add FGPredictor class to xmlauto.  Add support for horizontal navigation based
on flight track as opposed to heading.  Add crosstrack-error support to nav.
Simplify error adjust calculation for horizontal nav (better interception).
Fixed potential divide by zero that was producing nan issues in the xmlauto
code.

20 years agoVarious preparations for the next release.
curt [Thu, 18 Mar 2004 02:37:01 +0000 (02:37 +0000)]
Various preparations for the next release.

20 years agoMake sure /usr/local/{include,lib} is added for cygwin.
curt [Thu, 18 Mar 2004 02:33:59 +0000 (02:33 +0000)]
Make sure /usr/local/{include,lib} is added for cygwin.

20 years agoAdd extern "C" wrappers.
curt [Tue, 16 Mar 2004 20:44:00 +0000 (20:44 +0000)]
Add extern "C" wrappers.

20 years agoRemove the old WeatherCM module.
david [Tue, 16 Mar 2004 20:19:07 +0000 (20:19 +0000)]
Remove the old WeatherCM module.

20 years agoFix a small path conflict.
curt [Tue, 16 Mar 2004 19:23:58 +0000 (19:23 +0000)]
Fix a small path conflict.

20 years agoUpdates to the windows packager script.
curt [Tue, 16 Mar 2004 16:07:25 +0000 (16:07 +0000)]
Updates to the windows packager script.

20 years agoFix a possible crash
daveluff [Tue, 16 Mar 2004 10:35:29 +0000 (10:35 +0000)]
Fix a possible crash

20 years agoCugwin fix (min macro conflicts with a
ehofman [Tue, 16 Mar 2004 10:02:46 +0000 (10:02 +0000)]
Cugwin fix (min macro conflicts with a
windows one)

20 years agoRob Deters: UIUC updates from March 1, 2004.
curt [Tue, 16 Mar 2004 04:01:38 +0000 (04:01 +0000)]
Rob Deters: UIUC updates from March 1, 2004.

20 years agoOops, missed one commit in the last set.
curt [Mon, 15 Mar 2004 20:49:26 +0000 (20:49 +0000)]
Oops, missed one commit in the last set.

20 years agoFrederic Bouvier:
curt [Mon, 15 Mar 2004 20:34:38 +0000 (20:34 +0000)]
Frederic Bouvier:

I made some changes to current CVS :

 - the window is gently resizable, keeping the buttons' height
   unchanged, with a minimun size,
 - the current activity ( installation or removal ) is displayed
   in the progress bar,
 - the progress status is exact. For installation, I am
   using the total bytes read vs the file size. I had to hack
   untarka somehow and bzip2 and Z methods needs to be implemented.
   For removal, I am counting files by in-depth traversal, in the
   same way remove_dir is working. This seems very quick and
   the overhead is unnoticable.
 - the Quit button is the only way to quit the program, and it is
   deactivated during work. Otherwise, we can get the window hidden
   but the program still running in background.
 - cleanup on start options that seemed to be copied from fgrun.
   Valid options are now :
     --silent
            to write fgadmin.prefs and stop immediately
     --install-source=<DIR>
     --scenery-dest=<DIR>

20 years agoRoy Vegard Ovesen:
curt [Mon, 15 Mar 2004 19:23:39 +0000 (19:23 +0000)]
Roy Vegard Ovesen:

I've done som more work on the gps instrument.

- You can now input airport-, nav- or fix-ID to select a waypoint.
- You have to specify either "airport", "nav" or "fix" in the waypoint-type
  property (some fixes and navs have identical IDs).
- Formatted the time to waypoint output.
- Cleaned up and changed some propery names (wp-heading -> wp-bearing).

- I've also added a name member to the FGNav class so that the gps instrument
  can get the name of the nav.
- Changed the airport name parsing in simple.cxx.

20 years agoMake sure delta_u_n and u_n are always explicitely initialized.
curt [Mon, 15 Mar 2004 19:15:40 +0000 (19:15 +0000)]
Make sure delta_u_n and u_n are always explicitely initialized.

20 years agoRoy Vegard Ovesen:
curt [Mon, 15 Mar 2004 19:09:44 +0000 (19:09 +0000)]
Roy Vegard Ovesen:

I've done some changes to xmlauto.cxx.

Only calculate the derivate filtering if derivate time Td is greater than
zero. This means that one can set Td=0.0 in the xml file to completely remove
the derivate action. (Setting Td to zero in the current version would lead to
a division by zero and crash.)

Setting the integrator time Ti to zero doesn't make sense, right! I've
modified so that setting Ti to zero results in the integral action being
completely removed.

20 years agoWork around for the AI-traffic due to precision issues generated by the radio frequen...
daveluff [Mon, 15 Mar 2004 11:14:03 +0000 (11:14 +0000)]
Work around for the AI-traffic due to precision issues generated by the radio frequency dialog

20 years agoFix an issue where math.h doesn't define sqrt in namespace std (at least on MSVC...
ehofman [Mon, 15 Mar 2004 09:24:57 +0000 (09:24 +0000)]
Fix an issue where math.h doesn't define sqrt in namespace std (at least on MSVC) and remove DOS line-endings.

20 years ago- Filter the fuel switch position to allow it to slowly transition through
curt [Sun, 14 Mar 2004 23:04:32 +0000 (23:04 +0000)]
- Filter the fuel switch position to allow it to slowly transition through
  null space without killing the engine (hardware specific problem.)
- NMEA output: I'm slightly confused but it appears that a real GPS outputs
  traditional unix line endings on it's gps strings, we were outputing DOS
  CR/LF which was causing some confusion.  This changes the line ending
  convention to match that of a real gps.
- Calculate true ground track and speed for NMEA.

20 years agoResolve a meters vs. feet interpretation problem with nav station elevations.
curt [Sun, 14 Mar 2004 23:01:44 +0000 (23:01 +0000)]
Resolve a meters vs. feet interpretation problem with nav station elevations.

20 years agoChange nav->get_elev() to nav->get_elev_ft() to convey the actual units
curt [Sun, 14 Mar 2004 23:01:09 +0000 (23:01 +0000)]
Change nav->get_elev() to nav->get_elev_ft() to convey the actual units
explicitely.  This value has always been feet, but there were a couple places
in the code that assumed this elevation was meters.  The result was that you
could park directly over the top of the Black Forest VOR (112.50) NE of KCOS
and get a dme reading of 2.5 or so.  This problem is now resolved.

20 years agoI found a meter/feet conversion problem with DME elevations. These changes
curt [Sun, 14 Mar 2004 22:58:58 +0000 (22:58 +0000)]
I found a meter/feet conversion problem with DME elevations.  These changes
should resolve the problem.

20 years agoSync. with JSBSim CVS.
ehofman [Sun, 14 Mar 2004 14:57:07 +0000 (14:57 +0000)]
Sync. with JSBSim CVS.

20 years agoFix a string clearance issue with certain compilers.
ehofman [Fri, 12 Mar 2004 17:33:30 +0000 (17:33 +0000)]
Fix a string clearance issue with certain compilers.

20 years agoDon't clear the user to land following downwind report if there is other traffic...
daveluff [Fri, 12 Mar 2004 15:59:14 +0000 (15:59 +0000)]
Don't clear the user to land following downwind report if there is other traffic on final to land first - instruct the user to follow the other traffic and clear the user to land once the other traffic is clear of the runway instead.

20 years agoFix a situation where the AI aircraft sometimes wouldn't be visible when they should
daveluff [Fri, 12 Mar 2004 15:58:00 +0000 (15:58 +0000)]
Fix a situation where the AI aircraft sometimes wouldn't be visible when they should

20 years agoStart adding a better framework for ATC-initiated communication. There should be...
daveluff [Wed, 10 Mar 2004 16:01:17 +0000 (16:01 +0000)]
Start adding a better framework for ATC-initiated communication.  There should be no user-visible change from this commit

20 years agoAdd an option for the user to inform the tower (s)he is going around after downwind...
daveluff [Tue, 9 Mar 2004 16:20:55 +0000 (16:20 +0000)]
Add an option for the user to inform the tower (s)he is going around after downwind or final has been reported

20 years agoDavid Culp:
ehofman [Sun, 7 Mar 2004 12:08:46 +0000 (12:08 +0000)]
David Culp:

I added some things to the AI stuff to improve the AIThermal processing.
Before, all the thermals were processed in order, and the last one overwrote
the prior one.  Now, only the data from the nearest thermal is kept.  This
way a tile can be populated with many thermals, and (as long as they have the
same diameter) the one nearest the airplane correctly takes effect.  This
will make us ready for the next step, "auto-thermaling", where FlightGear's
tile manager can cover a tile with thermals, and set the thermal strength
based on land-use type.

I moved the enumerated object_type to the base class.  When an AI object is
created it now sets the _otype variable in the base class.  This lets the AI
manager find out what kind of AI object it is dealing with, using the base
pointer.  I also added a function isa() to the base class, so the manager can
process objects differently based on their type.

The AI manager now sends AIThermal processing to a different function, where
only the data from the nearest thermal is kept.  After the manager processes
all the AI objects, then the results from the nearest thermal are applied to
wind-from-down.

20 years agoMSVC .NET 2003 fix
ehofman [Sun, 7 Mar 2004 09:37:49 +0000 (09:37 +0000)]
MSVC .NET 2003 fix

20 years agoIncrease friction at idle, so that the engine idles more slowly.
david [Sun, 7 Mar 2004 01:26:30 +0000 (01:26 +0000)]
Increase friction at idle, so that the engine idles more slowly.

The friction factor should be tunable through a runtime parameter;
right now, it is optimized for the PA-28-161.

20 years agoStart making the AI traffic robust to not getting a tower pointer from ATC. Eventual...
daveluff [Sat, 6 Mar 2004 14:44:38 +0000 (14:44 +0000)]
Start making the AI traffic robust to not getting a tower pointer from ATC.  Eventually this should also lead to being able to generate AI traffic at uncontrolled airports

20 years agoUse the airport elevation instead of the actual ground elevation when out of visible...
daveluff [Fri, 5 Mar 2004 16:24:04 +0000 (16:24 +0000)]
Use the airport elevation instead of the actual ground elevation when out of visible range of the user.  This should reduce thrashing / pollution of the tile cache.

20 years agoFix a crash that sometimes occurred when reporting downwind in the circuit
daveluff [Fri, 5 Mar 2004 12:34:08 +0000 (12:34 +0000)]
Fix a crash that sometimes occurred when reporting downwind in the circuit

20 years agoFix a problem where track would not get initialised to a sensible value before gettin...
daveluff [Thu, 4 Mar 2004 10:11:29 +0000 (10:11 +0000)]
Fix a problem where track would not get initialised to a sensible value before getting altered

20 years agoPut the Thermal and Storm support code back in
ehofman [Wed, 3 Mar 2004 20:33:08 +0000 (20:33 +0000)]
Put the Thermal and Storm support code back in

20 years agoPut the AIStorm and AIThermal classes back in
ehofman [Wed, 3 Mar 2004 20:26:06 +0000 (20:26 +0000)]
Put the AIStorm and AIThermal classes back in

20 years agoMove the mechanics of turning out of the derived classes into AIPlane. The user...
daveluff [Tue, 2 Mar 2004 10:43:16 +0000 (10:43 +0000)]
Move the mechanics of turning out of the derived classes into AIPlane.  The user-visible effect is that AI planes no longer suddenly change direction without turning properly.

20 years agoDon't cast string to c_str before passing to functions that take string, and remove...
daveluff [Tue, 2 Mar 2004 10:37:38 +0000 (10:37 +0000)]
Don't cast string to c_str before passing to functions that take string, and remove an inadvertant push onto the airport_atc_map of data that already exists on it

20 years agoReturn the closest match instead of the first in-range match when searching by frequency
daveluff [Mon, 1 Mar 2004 13:49:47 +0000 (13:49 +0000)]
Return the closest match instead of the first in-range match when searching by frequency

20 years agoInvestigating some wierd behavior where the threaded metar fetcher would
curt [Sat, 28 Feb 2004 19:52:17 +0000 (19:52 +0000)]
Investigating some wierd behavior where the threaded metar fetcher would
occasionally cause a large number of valid stations to be flagged as invalid.
This *seemed* like a "race condition" type problem because there were some
assumptions in the communication between the main process and the threaded
loader which if they broke down could lead to this problem.

In the process of removing this ambiguity, I restructured the threaded
(and non-threaded) metar fetching code a bit.  Some of the top level logic
(which Erik politely left untouched) didn't make nearly as much sense in the
context of a threaded metar loader and could have contributed to some of the
wierdness I was seeing.

20 years agoRevert the previous patch, wind-heading-from is part of a range, not a direction...
ehofman [Sat, 28 Feb 2004 12:08:01 +0000 (12:08 +0000)]
Revert the previous patch, wind-heading-from is part of a range, not a direction itself.

20 years agoFix a misunderstanding between wind-from and wind-heading
ehofman [Sat, 28 Feb 2004 11:03:59 +0000 (11:03 +0000)]
Fix a misunderstanding between wind-from and wind-heading

20 years agoAdd a function to do plots with any channel being X and any other channel
curt [Fri, 27 Feb 2004 23:28:23 +0000 (23:28 +0000)]
Add a function to do plots with any channel being X and any other channel
being "Y".

20 years agoReverted recent changes -- the dependencies are badly (and
david [Fri, 27 Feb 2004 16:48:27 +0000 (16:48 +0000)]
Reverted recent changes -- the dependencies are badly (and
unnecessarily) tangled.