]> git.mxchange.org Git - flightgear.git/log
flightgear.git
19 years agoUse standard length types (stdint.h where available) to make the FGNetCTRLS,
curt [Thu, 24 Mar 2005 19:56:57 +0000 (19:56 +0000)]
Use standard length types (stdint.h where available) to make the FGNetCTRLS,
FGNetFDM, and FGNetGUI structures more cross platform/architecture portable.

19 years agoMelchior FRANZ:
ehofman [Thu, 24 Mar 2005 13:41:43 +0000 (13:41 +0000)]
Melchior FRANZ:

The dialog handling has been written at a time when only one dialog was
shown at the same time, and dialogs were shallow -- with only children, but
no grand-children. This makes finding a draggable spot on modern, dialogs
with nested objects quite a challenge. The patches fixes this, and other things:

- check full object tree on button press, not only the outmost layer;
  and don't give up just because we are in *something* (which could well be
  something harmless, like a group); only ignore a few, sensible objects
  (we don't want to drag after a click on a button or into an input field)

- don't lose dialogs as easily when dragging too fast (it does still happen
  if one manages to enter an editable field while dragging, but this is
  a plib problem and I don't feel like fixing that now  :-)

- don't "live"-update input fields while they are in edit mode

- remove some "if (foo) delete foo;" redundancy

19 years agoInsert a sanity hack from Melchior that apparently prevents a NaN from
andy [Wed, 23 Mar 2005 18:54:58 +0000 (18:54 +0000)]
Insert a sanity hack from Melchior that apparently prevents a NaN from
popping up and crashing when the B-29 model is in use.  This isn't the
right solution; we should fine the NaN condition.  But it's harmless
and allows development with the B-29 to continue.

19 years agoI fixed the gear-ratio handling in the solution computations a while
andy [Tue, 22 Mar 2005 18:17:08 +0000 (18:17 +0000)]
I fixed the gear-ratio handling in the solution computations a while
back, but forgot to put the same fix into the runtime code.  Also
added some comments so I don't get confused again the next time I come
through here. :)

19 years agoMathias Fröhlich:
ehofman [Sat, 19 Mar 2005 09:57:18 +0000 (09:57 +0000)]
Mathias Fröhlich:

I have done some cleanup where I moved some values out of classes where they
do not belong and such stuff.
Also the fols offsets are now named in the carrier xml file with a more
verbose name (flols-pos/offset-*) than before (only offset-*).
There is a little preparation for definitions of parking positions on the
carrier which should later be used for starting flightgear directly on the
carrier.

19 years agoPermit a single nasal module to reference any number of files which are all
curt [Wed, 16 Mar 2005 21:36:55 +0000 (21:36 +0000)]
Permit a single nasal module to reference any number of files which are all
loaded into that single nasal name space.

19 years agoAdd support for "offset" tag ... (value = raw * factor + offset)
curt [Thu, 10 Mar 2005 19:06:30 +0000 (19:06 +0000)]
Add support for "offset" tag ... (value = raw * factor + offset)

19 years agoUpdated hybrid of original busy-wait frame rate throttling loop combined with
curt [Wed, 9 Mar 2005 21:56:00 +0000 (21:56 +0000)]
Updated hybrid of original busy-wait frame rate throttling loop combined with
a safe undersleep() to conserve cpu.  Essentially we undersleep our target by
just a bit (to avoid the chance of oversleeping.)  Then we finish off the
remaining time slice with a busy-wait loop.

19 years agoFrederic Bouvier:
ehofman [Wed, 9 Mar 2005 15:12:01 +0000 (15:12 +0000)]
Frederic Bouvier:

Norman Vine wrote :

> Frederic Bouvier writes:
>
>> Quoting Andy Ross:
>>> * Hopefully in a CPU-friendly way.  I know that older versions of
>>>  the NVidia drivers did this by spinning in a polling loop
>>>  inside the driver.  I'm not sure if this has been fixed or not.
>>>
>>> From my experience, the latest non-beta Windows NVidia driver seems to eat CPU
>>
>> even with sync to vblank enabled. The CPU usage is always 100%.
>
> Buried in the PPE sources is a 'hackish' but portable way to limit CPU usage if the desired framerate is met
>
>  /*
>    Frame Rate Limiter.
>
>    This prevents any one 3D window from updating faster than
>    about 60Hz.  This saves a ton of CPU time on fast machines.
>
>    ! I THINK I MUNGED THE VALUE FOR ulMilliSecondSleep() NHV !
>  */
>
>  static ulClock *ck = NULL ;
>
>  if ( frame_rate_limiter )
>  {
>     if ( ck == NULL )
>     {
>       ck = new ulClock ;
>       ck -> update () ;
>     }
>
>     int t_ms = (int) ( ck->getDeltaTime() * 1000.0 ) ; /* Convert to ms */
>
>     if ( t_ms < 16 )
>       ulMilliSecondSleep ( 16 - t_ms ) ;
>  }
>
>

I implemented the method pointed out by Norman. It works great on windows and saves me a lot of CPU cycles. This way, I can get the same framerate in moderately populated areas and have CPU idle 50% of the time instead of wildly looping in the NVidia driver while waiting to sync on vblank.

It has been tested on Linux by Melchior. He saw the same gain in CPU cycles.

19 years agoIRIX fixes.
ehofman [Tue, 8 Mar 2005 19:47:51 +0000 (19:47 +0000)]
IRIX fixes.

19 years agoIRIX fix.
ehofman [Tue, 8 Mar 2005 18:05:24 +0000 (18:05 +0000)]
IRIX fix.

19 years agoRevert last change.
curt [Thu, 3 Mar 2005 23:33:29 +0000 (23:33 +0000)]
Revert last change.

19 years agoChange fuel selector data type from bool to int.
curt [Thu, 3 Mar 2005 23:14:57 +0000 (23:14 +0000)]
Change fuel selector data type from bool to int.

19 years agoFix a small oops.
curt [Thu, 3 Mar 2005 18:25:25 +0000 (18:25 +0000)]
Fix a small oops.

19 years agoAdd support for a simple deadband.
curt [Thu, 3 Mar 2005 18:22:48 +0000 (18:22 +0000)]
Add support for a simple deadband.

19 years agoAdd support for drawing only a portion of the configured view frustum. This
curt [Fri, 25 Feb 2005 22:27:15 +0000 (22:27 +0000)]
Add support for drawing only a portion of the configured view frustum.  This
is one way to get an asymmetric view frustum without needing to compute the
sgFrustum parameters directly.

19 years agoCurrently, aspect ratio is computed directly from the window dimensions.
curt [Fri, 25 Feb 2005 21:20:17 +0000 (21:20 +0000)]
Currently, aspect ratio is computed directly from the window dimensions.
I have added a --aspect-ratio-multiplier=x.xx option to give some end user
control over the aspect ratio.  (This may seem a little strange, but it's a
building block towards the capability of doing asymmetric view frustums in
FlightGear.)

19 years agoOops, committed some code that should *not* be in the default.
curt [Fri, 25 Feb 2005 19:47:40 +0000 (19:47 +0000)]
Oops, committed some code that should *not* be in the default.

19 years agoThe view frustum is defined in plib apps using calls to ssgSetFOV() and
curt [Fri, 25 Feb 2005 19:41:53 +0000 (19:41 +0000)]
The view frustum is defined in plib apps using calls to ssgSetFOV() and
ssgSetNearFar().  This by default creates a symmetric view frustum which is
typically what an application wants.

However, to get control of the view frustum in order to build support for
asymmetric view frustums, we need to wrap these calls with a bit of our own
logic.

This set of changes wraps all calls to ssgSetFOV() and ssgSetNearFar() with
FGRenderer methods.

I also standardized how the FGRenderer class is handled in globals.[ch]xx.
This led to some cascading changes in a variety of source files.

As I was working my way through the changes, I fixed a few warnings along
the way.

19 years agoVivian Meazza:
ehofman [Thu, 24 Feb 2005 15:05:56 +0000 (15:05 +0000)]
Vivian Meazza:

I attach the long-promised improved version of the USS Nimitz.

It includes an improved version of the FLOLS, which requires the attached
diff to be applied to AICarrier.cxx and AICArrier.hxx.

I've made lots of eye-candy in the form or the flightdeck crew.
Unfortunately, it about doubles the size of the tarball. I'll send it to you
later; when I've figured out some way of only loading on request (any advice
would be very welcome).

I could provide a \u2018bare\u2019 version to cut down on the vertex count for
less capable systems however, the count isn\u2019t huge in the first place.
I've cut the textures down as far as I can without losing definition.

19 years agoupdate paths.
ehofman [Tue, 22 Feb 2005 18:56:13 +0000 (18:56 +0000)]
update paths.

19 years agoAdd the ability to set the minimum allowed age for metar reports.
ehofman [Tue, 22 Feb 2005 18:12:32 +0000 (18:12 +0000)]
Add the ability to set the minimum allowed age for metar reports.

19 years agoyet another Cygwin fix.
ehofman [Fri, 18 Feb 2005 17:42:46 +0000 (17:42 +0000)]
yet another Cygwin fix.

19 years agoAnother Cygwin fix.
ehofman [Fri, 18 Feb 2005 14:17:03 +0000 (14:17 +0000)]
Another Cygwin fix.

19 years agoCygwin fixes.
ehofman [Fri, 18 Feb 2005 12:40:38 +0000 (12:40 +0000)]
Cygwin fixes.

19 years agoMSVC (warning) fixes.
ehofman [Fri, 18 Feb 2005 10:16:30 +0000 (10:16 +0000)]
MSVC (warning) fixes.

19 years agoAdd the missing carrier files.
ehofman [Thu, 17 Feb 2005 10:37:26 +0000 (10:37 +0000)]
Add the missing carrier files.

19 years agoMathias Frohlich: Add carrier capabilities for YASim aircraft.
ehofman [Thu, 17 Feb 2005 10:26:14 +0000 (10:26 +0000)]
Mathias Frohlich: Add carrier capabilities for YASim aircraft.

19 years agoautomake 1.8+ fixes
ehofman [Tue, 15 Feb 2005 18:16:18 +0000 (18:16 +0000)]
automake 1.8+ fixes

19 years agoAdd support for aileron and rudder trim.
curt [Tue, 15 Feb 2005 18:11:48 +0000 (18:11 +0000)]
Add support for aileron and rudder trim.

19 years agoAdd support for aileron and rudder trims.
curt [Tue, 15 Feb 2005 18:11:03 +0000 (18:11 +0000)]
Add support for aileron and rudder trims.

19 years agoTweak ...
curt [Tue, 15 Feb 2005 18:09:52 +0000 (18:09 +0000)]
Tweak ...

19 years agoAdd an "additive-switch" type.
curt [Tue, 15 Feb 2005 18:09:20 +0000 (18:09 +0000)]
Add an "additive-switch" type.

19 years agoFix a "signededness" error.
curt [Tue, 15 Feb 2005 18:07:06 +0000 (18:07 +0000)]
Fix a "signededness" error.

19 years agoMacOS X fix(?)
ehofman [Fri, 11 Feb 2005 15:12:30 +0000 (15:12 +0000)]
MacOS X fix(?)

19 years agoDurk Talsma:
ehofman [Thu, 10 Feb 2005 09:01:51 +0000 (09:01 +0000)]
Durk Talsma:

I just heard from John Wojnaroski that you and he are going to work on getting
a flightgear demo machine up for the linux expo thursday and Friday. John
indicated that he would very much like to get a CVS version with the new
traffic code up and running before the expo.

19 years agoMinor fix
daveluff [Wed, 2 Feb 2005 19:16:51 +0000 (19:16 +0000)]
Minor fix

19 years agoMake sure snprintf can be found
ehofman [Wed, 2 Feb 2005 08:47:33 +0000 (08:47 +0000)]
Make sure snprintf can be found

19 years agoRoy Ovesen:
curt [Tue, 1 Feb 2005 21:00:24 +0000 (21:00 +0000)]
Roy Ovesen:

I've added some features to the PID controller:

Ability to set desired sampling interval in seconds. Use <Ts> under <config>
to set the desired sampling interval of the PID controller.

Example:
<config>
     <Ts>0.1</Ts>        <!-- desired sampling interval -->
     <Kp>-0.05</Kp>        <!-- proportional gain -->
     <beta>1.0</beta>    <!-- input value weighing factor -->
     ...
     ...
</config>

Ts defaults to 0.0, so if you don't set it it samples at the highest possible
frequency.

Add an offset to the input variables (input and reference).
Example:
    <reference>
      <prop>/controls/flight/elevator</prop>
      <scale>-1.5</scale>
      <offset>1.0</offset>
    </reference>

Note that <scale> has higher precedence than <offset>, regardless of the order
that they appear in the config file.

19 years agoMelchior FRANZ:
ehofman [Mon, 31 Jan 2005 18:18:25 +0000 (18:18 +0000)]
Melchior FRANZ:

Yesterday night it occurred to me that the current handling of missing METAR
strings isn't good enough:

- in case of missing METAR strings, don't re-send the last successful string,
  but the last successful string sent to *this* client. (If one client is
  running in virtual December, it won't be happy about dropped in summer
  weather.)

- fix a bug that allowed -vc notation (options -v and -c), but broke a lot of
  other notations (-b/var/tmp). Only -v can now be accumulated again, as
  in -vvvv.

19 years agoAndrew Midson:
ehofman [Mon, 31 Jan 2005 10:36:59 +0000 (10:36 +0000)]
Andrew Midson:

I have made the
'Select Airport from List' option in FlightGear work
(I think) properly. I have some concerns about the
solution, which could be broken by changes to plib (if
they re-use the value I have assigned to
PUCLASS_LIST), but for the moment it seems to work OK.

Erik Hofman:
A request has been sent to John Fay to include the puList
code in the puAux subdirectory of plib so expect some
changes for future version of FlightGear.

19 years agoPut the code at the proper place.
ehofman [Sat, 29 Jan 2005 13:12:34 +0000 (13:12 +0000)]
Put the code at the proper place.

19 years agoGeoff Air:
ehofman [Sat, 29 Jan 2005 10:22:44 +0000 (10:22 +0000)]
Geoff Air:

RE: --aircraft=ufo in system.fgfsrc is ignored

To change a 'feature', one that has been mentioned here many
times, and again recently, place the following code block
into fgInitFGAircraft.

In its favour, I would argue this means FG can be run without
a command line, provided FG_ROOT has been set in the
environment, and that seems to me, as it should be ... ;=))

Perhaps the only counter, is that system.fgfsrc is read twice,
but so are others, like .fgfsrc, for other (local) options ...
or system.fgfsrc should .nt. be used for 'aircraft' ?

19 years agoMelchior FRANZ:
ehofman [Sat, 29 Jan 2005 09:45:12 +0000 (09:45 +0000)]
Melchior FRANZ:

Here's a Perl implementation of a METAR proxy server. Tested on Linux only, but
should work on all Unices, and possibly on Windows, too. Its purpose is to:

- provide METAR data for machines without internet connection
- centralize METAR fetching: one machine in a network runs the proxy, all
  other connect to the proxy
- deliver defined and reproducible weather for educational purposes
- save weather situations for later use in fgfs

Quick instructions to download the world weather for the last 3 hours
and run proxy and fgfs with it (~ 2MB download; for less bandwidth
consumption see the --record mode):

  $ metarproxy --download 3h
  $ metarproxy -v -c &
  $ fgfs --proxy=localhost:5509 --time-offset=-2 --enable-real-weather-fetch

19 years agoCosmetic updates.
ehofman [Thu, 27 Jan 2005 10:58:05 +0000 (10:58 +0000)]
Cosmetic updates.

19 years agoMelchior FRANZ:
ehofman [Thu, 27 Jan 2005 10:49:58 +0000 (10:49 +0000)]
Melchior FRANZ:

Here's again one of the more obscure bugs that valgrind complains about: somehow
the STL container classes manage to read out values before they were ever set.
This patch fixes that. This may not cause any harm in this case, but valgrind
seems to *always* be right about them.

19 years agoConstant-speed props were seeking to engine speed, not prop speed.
andy [Wed, 26 Jan 2005 18:30:45 +0000 (18:30 +0000)]
Constant-speed props were seeking to engine speed, not prop speed.

19 years agoRemove another unneeded dependency.
ehofman [Mon, 24 Jan 2005 12:17:39 +0000 (12:17 +0000)]
Remove another unneeded dependency.

19 years agoMartin Spott:
ehofman [Mon, 24 Jan 2005 10:17:14 +0000 (10:17 +0000)]
Martin Spott:

Remove all dependencies of plib's SL sound library.

19 years agoUpdated to handle scenery files with a .tgz extension.
curt [Fri, 21 Jan 2005 23:23:29 +0000 (23:23 +0000)]
Updated to handle scenery files with a .tgz extension.

19 years agoEmergency fix for AI model loading - non existance of the piper model as in the lates...
daveluff [Fri, 21 Jan 2005 15:50:29 +0000 (15:50 +0000)]
Emergency fix for AI model loading - non existance of the piper model as in the latest base package crashes the program - add exception handler during load.  Needs to be replaced with better AI aircraft loading logic at some point

19 years agoFix my contact info.
curt [Fri, 21 Jan 2005 01:59:30 +0000 (01:59 +0000)]
Fix my contact info.

19 years agoRoy Vegard Ovesen:
ehofman [Thu, 20 Jan 2005 09:55:47 +0000 (09:55 +0000)]
Roy Vegard Ovesen:

I guess it is much more efficient to compare integers than comparing long strings like "double-exponential" every frame.

19 years agoMelchior FRANZ:
ehofman [Thu, 20 Jan 2005 09:28:45 +0000 (09:28 +0000)]
Melchior FRANZ:

The following patches to SimGear & FlightGear ...

- create an FGMetar abstraction layer, whose purpose is:
  * provide defaults for unset values
  * interpolate/randomize data (GREATER_THAN)
  * derive additional values (time, age, snow cover)
  * consider minimum identifier (CAVOK, mil. color codes)
- add rain/hail/snow/snowcover support on the METAR side
- add max age of METAR data handling (currently set to
- add support for an external METAR cache proxy server
- add CAVOK handling
- set missing year/month in regular METAR messages
- fix a small bug in metar.cxx (wrong return value)

19 years agoUse the proper include definition.
ehofman [Thu, 20 Jan 2005 09:22:38 +0000 (09:22 +0000)]
Use the proper include definition.

19 years agoMAcOS X fix.
ehofman [Thu, 20 Jan 2005 08:42:53 +0000 (08:42 +0000)]
MAcOS X fix.

19 years agoInitial revision.
curt [Wed, 19 Jan 2005 22:52:34 +0000 (22:52 +0000)]
Initial revision.

19 years agoReady for v0.9.8.
curt [Wed, 19 Jan 2005 02:11:52 +0000 (02:11 +0000)]
Ready for v0.9.8.

19 years agoAdd some formated frequency outputs to aid panel builders.
curt [Wed, 19 Jan 2005 02:11:28 +0000 (02:11 +0000)]
Add some formated frequency outputs to aid panel builders.

19 years agoThrow an exception when no valid scenery path defined.
curt [Mon, 17 Jan 2005 22:10:53 +0000 (22:10 +0000)]
Throw an exception when no valid scenery path defined.

19 years agoRemove gif support, add png support.
curt [Mon, 17 Jan 2005 20:14:55 +0000 (20:14 +0000)]
Remove gif support, add png support.
Don't overzoom large version of images.

19 years agoRemove unneeded #include's
curt [Mon, 17 Jan 2005 13:39:00 +0000 (13:39 +0000)]
Remove unneeded #include's

19 years ago... and make sure the number can actually be negative.
ehofman [Mon, 17 Jan 2005 10:48:35 +0000 (10:48 +0000)]
... and make sure the number can actually be negative.

19 years agoOops, don't forget that the axisnumber can actually be 0
ehofman [Mon, 17 Jan 2005 10:46:39 +0000 (10:46 +0000)]
Oops, don't forget that the axisnumber can actually be 0

19 years agoSilently ignore platforms that are not specified within the <number></number> section
ehofman [Mon, 17 Jan 2005 10:39:55 +0000 (10:39 +0000)]
Silently ignore platforms that are not specified within the <number></number> section

19 years agoChange debug level: try --log-level=debug and you see why (takes very, very, *very...
ehofman [Sat, 15 Jan 2005 14:25:58 +0000 (14:25 +0000)]
Change debug level: try --log-level=debug and you see why (takes very, very, *very* long to output all 21.000 airports that way).

19 years agoAdd support for contrast.
ehofman [Fri, 14 Jan 2005 15:53:13 +0000 (15:53 +0000)]
Add support for contrast.

19 years agoOops, remove some extra code.
ehofman [Fri, 14 Jan 2005 14:29:46 +0000 (14:29 +0000)]
Oops, remove some extra code.

19 years agoFirst draft of a utility to generate normal maps from a regular texture.
ehofman [Fri, 14 Jan 2005 14:29:08 +0000 (14:29 +0000)]
First draft of a utility to generate normal maps from a regular texture.

19 years agoTie the Scenery loader thread and the real weather fetching thread to CPU1 (if suppor...
ehofman [Sun, 9 Jan 2005 10:27:01 +0000 (10:27 +0000)]
Tie the Scenery loader thread and the real weather fetching thread to CPU1 (if supported).

19 years agoA couple minor tweaks to the replay subsystem to allow "pausing" the replay.
curt [Wed, 5 Jan 2005 05:45:38 +0000 (05:45 +0000)]
A couple minor tweaks to the replay subsystem to allow "pausing" the replay.

19 years agoDefault KT-70 to serviceable = true.
curt [Wed, 5 Jan 2005 04:15:19 +0000 (04:15 +0000)]
Default KT-70 to serviceable = true.

19 years agoAdd cht (cylinder head temp) and tit (turbine inlet temp) to net_fdm.hxx
curt [Wed, 5 Jan 2005 03:43:05 +0000 (03:43 +0000)]
Add cht (cylinder head temp) and tit (turbine inlet temp) to net_fdm.hxx

19 years agoA quick fix to avoid breaking non-unix-ish platforms.
curt [Tue, 4 Jan 2005 22:45:08 +0000 (22:45 +0000)]
A quick fix to avoid breaking non-unix-ish platforms.

19 years agoUpdates for the 0.9.8-pre2 release.
curt [Mon, 3 Jan 2005 20:06:51 +0000 (20:06 +0000)]
Updates for the 0.9.8-pre2 release.

19 years agoFix a mistake in handling of engine starter property names.
curt [Mon, 3 Jan 2005 03:20:31 +0000 (03:20 +0000)]
Fix a mistake in handling of engine starter property names.

19 years agoInitialize the timer countdown value since this could conceivably start as
curt [Mon, 3 Jan 2005 00:16:16 +0000 (00:16 +0000)]
Initialize the timer countdown value since this could conceivably start as
any randomly large number (thus preventing the first station seach from
happening at least for a very long time.)

19 years agoFix some property names.
curt [Thu, 30 Dec 2004 21:49:53 +0000 (21:49 +0000)]
Fix some property names.

19 years agoSwitch from bool to int for more deterministic structure packing.
curt [Thu, 30 Dec 2004 20:49:31 +0000 (20:49 +0000)]
Switch from bool to int for more deterministic structure packing.

19 years agoFix several typos (first time this has been tested since radio/instrumentation
curt [Thu, 30 Dec 2004 20:48:54 +0000 (20:48 +0000)]
Fix several typos (first time this has been tested since radio/instrumentation
rewrite.)

19 years agoRemove extraneous property.
curt [Thu, 30 Dec 2004 20:48:09 +0000 (20:48 +0000)]
Remove extraneous property.

19 years agoVarious tweaks to ATC Flight Sim hardware inputs/outputs.
curt [Thu, 30 Dec 2004 14:57:58 +0000 (14:57 +0000)]
Various tweaks to ATC Flight Sim hardware inputs/outputs.

19 years agoAdd back power button binding, but move the location to /instrumentation/nav
curt [Thu, 30 Dec 2004 14:57:12 +0000 (14:57 +0000)]
Add back power button binding, but move the location to /instrumentation/nav
rather than /instrumentation/comm ... we need to be a little careful here
because typically, a single knob controls power to both matched com/nav pairs.

19 years agoFGIO::shutdown_all() is called from the FGIO destructor so remove the extra
curt [Wed, 29 Dec 2004 20:40:41 +0000 (20:40 +0000)]
FGIO::shutdown_all() is called from the FGIO destructor so remove the extra
explicit calls to shutdown_all() which was causing this to be called twice.
This could cause problems with some IO modules (such as attempting to close
an invalid file descriptor the second time.)

19 years agoFGIO::shutdown_all() is called from the FGIO destructor so we don't want
curt [Wed, 29 Dec 2004 20:38:17 +0000 (20:38 +0000)]
FGIO::shutdown_all() is called from the FGIO destructor so we don't want
a seperate explicite call or the io channels will be forced to try to shutdown
twice which could cause problems for some IO modules (i.e. attempting to
close an invalid file descriptor the second time ...)

19 years agoRemove an unused Makfefile
ehofman [Tue, 28 Dec 2004 10:18:51 +0000 (10:18 +0000)]
Remove an unused Makfefile

19 years agoMake sure the ATIS reports surface winds at airports above sea-level
daveluff [Mon, 27 Dec 2004 23:55:54 +0000 (23:55 +0000)]
Make sure the ATIS reports surface winds at airports above sea-level

19 years agoDurk Talsma:
ehofman [Mon, 27 Dec 2004 17:35:22 +0000 (17:35 +0000)]
Durk Talsma:

Fix a couple of places that were not yet using SGPath

19 years agoMathias Fröhlich:
ehofman [Mon, 27 Dec 2004 13:21:18 +0000 (13:21 +0000)]
Mathias Fröhlich:

We should now be able to find
wires or catapults when the ac3d model is loaded without the crease patch
(caused by the much more unstructured scene graph emitted by the old loader).
It should also emit more warnings if the carrier hardware configuration
includes conflicting definitions.
That code is the most intrusive one, it should not be used until you configure
an aircraft carrier as a aimodel. So I think it should be save to apply that
before the release too.

19 years agoRemove some stale cout commands.
ehofman [Mon, 27 Dec 2004 13:19:28 +0000 (13:19 +0000)]
Remove some stale cout commands.

19 years agoMake yasim accept the launchbar and hook properties. They are not tied to anything...
ehofman [Mon, 27 Dec 2004 13:18:29 +0000 (13:18 +0000)]
Make yasim accept the launchbar and hook properties. They are not tied to anything yet though.

19 years agoDavid Luff:
curt [Sun, 26 Dec 2004 23:31:35 +0000 (23:31 +0000)]
David Luff:

Attached is a patched runways.cxx.  This fixes the find runway nearest to a given heading code.  This was returning the last runway loaded at a given airport, not the nearest runway to the heading requested (which seems to always be 270deg by default).  I have no idea how this has survived unnoticed for so long - I think it might be because you need to start at an airport with a runway near to 27 and one much greater than 27 eg. 36 to really tickle it, otherwise the runway nearest to 27 tends to be the final one loaded anyway.  Try starting at KARR with and without the patch and note the surface wind.  This should go in before the release.

19 years agoChanges to correspond with ATC hardware code changes.
curt [Fri, 24 Dec 2004 02:16:05 +0000 (02:16 +0000)]
Changes to correspond with ATC hardware code changes.

19 years agoMore work on the ATC FS hardware interface.
curt [Fri, 24 Dec 2004 01:23:27 +0000 (01:23 +0000)]
More work on the ATC FS hardware interface.

19 years agoReplace the data/Airports/basic.dat.gz and data/Airports/runways.dat.gz with
curt [Wed, 22 Dec 2004 23:57:07 +0000 (23:57 +0000)]
Replace the data/Airports/basic.dat.gz and data/Airports/runways.dat.gz with
a single apt.dat.gz file which is in the native X-Plane format.

To do this I wrote a front end loader than builds the airport and runway
list.  Some of the changes I needed to make had a cascading effect, so there
are minor naming changes scattered throughout the code.

19 years agoUpdates for upcoming 0.9.8 release.
curt [Tue, 21 Dec 2004 23:15:07 +0000 (23:15 +0000)]
Updates for upcoming 0.9.8 release.

19 years agoUpdates in preparation for the 0.9.8 release.
curt [Tue, 21 Dec 2004 00:16:06 +0000 (00:16 +0000)]
Updates in preparation for the 0.9.8 release.

19 years agogcc 2.95 fix?
ehofman [Mon, 20 Dec 2004 08:36:56 +0000 (08:36 +0000)]
gcc 2.95 fix?

19 years agoFix a property path.
ehofman [Sun, 19 Dec 2004 14:32:39 +0000 (14:32 +0000)]
Fix a property path.

19 years agogcc 4.0 fixes.
ehofman [Sat, 18 Dec 2004 11:59:33 +0000 (11:59 +0000)]
gcc 4.0 fixes.