]> git.mxchange.org Git - flightgear.git/log
flightgear.git
19 years ago- implement progress information (enabled by default; can be turned off via
mfranz [Fri, 6 May 2005 09:08:44 +0000 (09:08 +0000)]
- implement progress information (enabled by default; can be turned off via
  /sim/startup/splash-progress)
- a string in /sim/startup/splash-title is displayed on top of the screen
  and by default empty
- the splash image is scaled down if 512x512 is too big
- code cleanup

19 years agoremove redundant check
mfranz [Wed, 4 May 2005 21:31:16 +0000 (21:31 +0000)]
remove redundant check

19 years ago- open window as soon as possible
mfranz [Wed, 4 May 2005 21:28:42 +0000 (21:28 +0000)]
- open window as soon as possible
- move most of the initialization in chunks into the idle loop
- remove unused first fgSplashUpdate() parameter

19 years agoone dialog-show is enough
mfranz [Wed, 4 May 2005 21:25:57 +0000 (21:25 +0000)]
one dialog-show is enough

19 years agoOops, forgot to update the network byte order conversion functions when I
curt [Wed, 4 May 2005 21:07:03 +0000 (21:07 +0000)]
Oops, forgot to update the network byte order conversion functions when I
updated the structures.

19 years agoreverting last patch: the (non)redrawing problems are simply too annoying :-(
mfranz [Wed, 4 May 2005 12:11:37 +0000 (12:11 +0000)]
reverting last patch: the (non)redrawing problems are simply too annoying :-(

19 years agoopen black window immediately. This doesn't only give useful feedback,
mfranz [Wed, 4 May 2005 10:57:35 +0000 (10:57 +0000)]
open black window immediately. This doesn't only give useful feedback,
it also allows to switch desktops shortly after starting fgfs without
having the window pop up on the "wrong" virtual desktop.

19 years ago32 bit integers are somewhat magical and handled pretty well across platforms
curt [Tue, 3 May 2005 20:34:21 +0000 (20:34 +0000)]
32 bit integers are somewhat magical and handled pretty well across platforms
in terms of predictable packing and byte ordering.  So rather than trying to
get fancy and shave a few bits off the structure sizes, just go with 32 bit
ints for everthing which saves a lot of potential headaches in the cross
platform and cross architecture arenas.

19 years agoDescribe the font tag
ehofman [Tue, 3 May 2005 12:50:20 +0000 (12:50 +0000)]
Describe the font tag

19 years agoFix a couple of stupid mistakes, I'm off to find a brown paper bag now.
ehofman [Tue, 3 May 2005 12:48:31 +0000 (12:48 +0000)]
Fix a couple of stupid mistakes, I'm off to find a brown paper bag now.

19 years agoShoot, I removed a bit of crucial information just before committing it.
ehofman [Tue, 3 May 2005 12:20:17 +0000 (12:20 +0000)]
Shoot, I removed a bit of crucial information just before committing it.

19 years agoMake it possible to define a different font for the labels
ehofman [Tue, 3 May 2005 11:58:33 +0000 (11:58 +0000)]
Make it possible to define a different font for the labels

19 years agoUpdates.
ehofman [Mon, 2 May 2005 17:03:04 +0000 (17:03 +0000)]
Updates.

19 years agoAllow for defining the label color.
ehofman [Mon, 2 May 2005 14:45:04 +0000 (14:45 +0000)]
Allow for defining the label color.

19 years agoAdd lightning support from David Culp.
ehofman [Mon, 2 May 2005 12:29:13 +0000 (12:29 +0000)]
Add lightning support from David Culp.

19 years agoMake it optional whether a dialog can be dragged or not.
ehofman [Mon, 2 May 2005 12:14:12 +0000 (12:14 +0000)]
Make it optional whether a dialog can be dragged or not.

19 years agocleanup (deleting NULL pointers is explicitly allowed)
mfranz [Mon, 2 May 2005 06:03:25 +0000 (06:03 +0000)]
cleanup (deleting NULL pointers is explicitly allowed)

19 years agodon't crash if fgfs is called with an invalid argument to the --vor option
mfranz [Sun, 1 May 2005 14:27:06 +0000 (14:27 +0000)]
don't crash if fgfs is called with an invalid argument to the --vor option

19 years agoMathias:
ehofman [Fri, 29 Apr 2005 14:38:24 +0000 (14:38 +0000)]
Mathias:

I have done a patch to eliminate the jitter of 3D-objects near the viewpoint
(for example 3D cockpit objects).
The problem is the roundoff accuracy of the float values used in the
scenegraph together with the transforms of the eyepoint relative to the
scenery center.

The solution will be to move the scenery center near the view point.
This way floats relative accuracy is enough to show a stable picture.

To get that right I have introduced a transform node for the scenegraph which
is responsible for that shift and uses double values as long as possible.
The scenery subsystem now has a list of all those transforms required to place
objects in the world and will tell all those transforms that the scenery
center has changed when the set_scenery_center() of the scenery subsystem is
called.
The problem was not solvable by SGModelPlacement and SGLocation, since not all
objects, especially the scenery, are placed using these classes.

The first approach was to have the scenery center exactly at the eyepoint.
This works well for the cockpit.
But then the ground jitters a bit below the aircraft. With our default views
you can't see that, but that F-18 has a camera view below the left engine
intake with the nose gear and the ground in its field of view, here I could
see that.
Having the scenery center constant will still have this roundoff problems, but
like it is now too, the roundoff error here is exactly the same in each
frame, so you will not notice any jitter.

The real solution is now to keep the scenery center constant as long as it is
in a ball of 30m radius around the view point. If the scenery center is
outside this ball, just put it at the view point.

As a sideeffect of now beeing able to switch the scenery center in the whole
scenegraph with one function call, I was able to remove a one half of a
problem when switching views, where the scenery center was far off for one or
two frames past switching from one view to the next. Also included is a fix
to the other half of this problem, where the view position was not yet copied
into a view when it is switched (at least under glut). This was responsible
for the 'Error: ...' messages of the cloud subsystem when views were
switched.

19 years agoSame bug, different place. Don't treat a length of zero as "please
andy [Tue, 26 Apr 2005 20:57:06 +0000 (20:57 +0000)]
Same bug, different place.  Don't treat a length of zero as "please
strlen() it", because real files and properties can have lengths of
zero.

19 years agoDon't try to strlen() the input buffer if the length is zero. That
andy [Tue, 26 Apr 2005 17:18:00 +0000 (17:18 +0000)]
Don't try to strlen() the input buffer if the length is zero.  That
was probably my idea of a feature, but if the input buffer actually
does has a length of zero (as Melchior discovered for the case of a
zero-length .nas file) then there will be no null.

19 years agoHarald Johnson:
ehofman [Tue, 26 Apr 2005 08:31:25 +0000 (08:31 +0000)]
Harald Johnson:

Changes
=======

- corrected some strange behavior when playing with the render dialog options
- the density slider is now working : if you are fps limited and still want to see clouds in
  the distance you should play with that
- added the choice for texture resolution, its more comprehensible now (before it was
  wrongly allways choosing 64x64 textures)
- changed the initial texture size : you now have 64 texture of 64x64, this uses 1Mo of
  texture memory (before it was 20 texture of  256x256, that took more memory and there was
  not enought impostors)
- sun vector is now right so the lighting is a bit better
- removed useless sort and light computations for impostors, this should save a lot of cpu
- blending of distant cloud is more accurate now
- clouds are now positioned correctly, they don't try to escape you anymore
- no more red/white boxes around cloud
- textures are now filtered (no more big pixels)

known bugs
==========

- distant objects are seen in front of clouds

19 years agoHarald Johnson:
ehofman [Sun, 24 Apr 2005 11:17:23 +0000 (11:17 +0000)]
Harald Johnson:

- new and updated sources for the new volumetric clouds
- 2 new textures for the clouds
- an update to the render dialog to enable/disable and change a few parameters
  for the new clouds

19 years agocode simplification: use atan2() [discussed with David]
mfranz [Fri, 22 Apr 2005 06:41:07 +0000 (06:41 +0000)]
code simplification: use atan2()    [discussed with David]

19 years ago"condition" needs to be clamped like "mixture", so that it is settable via
mfranz [Thu, 21 Apr 2005 14:17:59 +0000 (14:17 +0000)]
"condition" needs to be clamped like "mixture", so that it is settable via
controls.adjEngControl()  (this is necessary to make the b1900d's condition
settable via m/M keys or the joystick's configure mixture bindings)

19 years agoMathias Fröhlich:
ehofman [Tue, 19 Apr 2005 13:21:43 +0000 (13:21 +0000)]
Mathias Fröhlich:

I have some small updates to the ground cache.

- Remove the usage of dynamic_cast where it is known that the result will be
  non null.
- Renormalize the surface normal in double precision.
- Place the groundcaches center at the point it was requested not at the
  scenery center. This fixes the problems with JSBSim's trimming together with
  the ground cache. Now I am ready to commit JSBSim's ground cache usage.

19 years agoMelchior: Make line wrapping in textboxes configurable, and enable it by default
ehofman [Tue, 19 Apr 2005 13:15:04 +0000 (13:15 +0000)]
Melchior: Make line wrapping in textboxes configurable, and enable it by default

19 years agoDavid Culp:
ehofman [Tue, 19 Apr 2005 12:52:26 +0000 (12:52 +0000)]
David Culp:

I'm looking through the AI code, trying to find the bug that's killing the
thermals.  The following things don't look right:

1)  AIManager::101  ,   the Traffic Manager pointer is searched for by name at
every dt.   I'll leave this for you to look at.

2)  AIManager::295  ,  the thermal height is not being set.  We need to
restore the line:         ai_thermal->setHeight(entity->height_msl);
This fixes the thermal problem.

3)  AIManager::328  ,  I changed the fetching of the user state to occur every
sim cycle, and changed the fetching function from by-name lookup to a lookup
by node pointer.  It should be faster now, and more accurate too.  This helps
the air-refueling.

19 years agoMelchior FRANZ:
ehofman [Tue, 19 Apr 2005 12:34:38 +0000 (12:34 +0000)]
Melchior FRANZ:

There weren't changes to this script in a while -- it almost looks
like dead code, but isn't. I'm using this regularly. valgrind works
better than ever (version 3.0 coming out soon, and the alpha already
very usable). New address: http://www.valgrind.org/

19 years agoThis is a work in progress. I am extending the "ExternalPipe" protocol to
curt [Tue, 19 Apr 2005 01:44:56 +0000 (01:44 +0000)]
This is a work in progress.  I am extending the "ExternalPipe" protocol to
have a "property" mode as well as the original "binary" mode.  The property mode
will allow the remote module to request any set of properties, and it will send
those properties each frame.  The remote module can reply with a list of arbitrary
property name/value pairs to update on the FlightGear side.

This is a first stab, so it's not the cleanest, most well concieved code, but it
allows an external module (communicating via a pipe) to have a huge amount of
flexibility in the data in can access and update.

19 years agoFix a couple typos.
curt [Tue, 19 Apr 2005 01:41:17 +0000 (01:41 +0000)]
Fix a couple typos.

19 years agoUpgrade to Nasal 1.0 test candidate
andy [Mon, 18 Apr 2005 19:49:13 +0000 (19:49 +0000)]
Upgrade to Nasal 1.0 test candidate

19 years agoFix units bug with fuel flow
andy [Wed, 13 Apr 2005 19:42:29 +0000 (19:42 +0000)]
Fix units bug with fuel flow

19 years agoAdd the color description.
ehofman [Wed, 13 Apr 2005 11:42:49 +0000 (11:42 +0000)]
Add the color description.

19 years agoAllow for recolloring the dialogs.
ehofman [Wed, 13 Apr 2005 11:39:53 +0000 (11:39 +0000)]
Allow for recolloring the dialogs.

19 years agoDon't overwrite the castering value with the non-castering one. Also,
andy [Fri, 8 Apr 2005 22:39:46 +0000 (22:39 +0000)]
Don't overwrite the castering value with the non-castering one.  Also,
make the caster-angle-deg a synonym for the steering angle when the
wheel is non-castering.

19 years agoOops, stray line in the checkin. I'm sure fenv.h would have broken on
andy [Fri, 8 Apr 2005 20:55:02 +0000 (20:55 +0000)]
Oops, stray line in the checkin.  I'm sure fenv.h would have broken on
at least one system...

19 years agoExport "rollspeed-ms" and "caster-angle-deg" properties for gear
andy [Fri, 8 Apr 2005 20:46:43 +0000 (20:46 +0000)]
Export "rollspeed-ms" and "caster-angle-deg" properties for gear
objects.  Josh Babcock wanted these for the B-29 model so he can
properly animate the gear.

19 years agoMelchior FRANZ:
ehofman [Wed, 6 Apr 2005 08:46:39 +0000 (08:46 +0000)]
Melchior FRANZ:

Make SDL window resizable; This exposes the same problem that many
GLUT users have: resizing up may cause a temporary switch to software
rendering if the card is low on memory. Resizing down again switches
back to HW rendering. (KSFO is texture intensive, but there are no
problems in LOWL, and elsewhere.) Less and less users will have the
problem as cards become better, and it's no reason not to allow
resizing altogether.

19 years agoMelchior FRANZ:
ehofman [Wed, 6 Apr 2005 08:24:30 +0000 (08:24 +0000)]
Melchior FRANZ:

_course_deg is first initialized in the if()-branch (gps.cxx:419). But
this branch isn't entered at first run if wp0==wp1, so that in line 615
fgfs tries to SG_NORMALIZE_RANGE() a random value, which can take a
long while if the number huge. This was occasionally a number greater
than 10160!

- initialize all vars before they are used (fixes endless loop)
- fix some compiler warnings (initialization order, unused vars)

19 years agoMelchior FRANZ:
ehofman [Thu, 31 Mar 2005 17:00:27 +0000 (17:00 +0000)]
Melchior FRANZ:

FGAIMgr::GenerateSimpleAirportTraffic() tries to determine the airport's local
hour from the /sim/time/gmt-time string, which fails, because at this time the
property is still empty. That's why I don't get ATIS at LOWG (where it is *not*
midnight right now.  :-)    -> use sg's get_cur_time() instead

19 years agoMelchior FRANZ:
ehofman [Thu, 31 Mar 2005 08:54:04 +0000 (08:54 +0000)]
Melchior FRANZ:

- don't treat *every* child in the xml as submodel, especially not a "param"
  block
- do not only *enable* the contrail flag above some altitude, but also
  disable it below

19 years agoCygwin (windows) fix.
ehofman [Thu, 31 Mar 2005 08:41:41 +0000 (08:41 +0000)]
Cygwin (windows) fix.

19 years agoMelchior FRANZ:
ehofman [Tue, 29 Mar 2005 08:35:13 +0000 (08:35 +0000)]
Melchior FRANZ:

showDialog() is careful not to create a new FGDialog() if a dialog with the
same name is already open (active). But at this point it is already too late:
newDialog(), which was called shortly before, has already overwritten the
dialog properties. This leads to animated garbage in the best case, and a
segfault in format_callback() in the worst case.

- GUI::newDialog(): Don't you overwrite properties of an active dialog!
- GUI::readDir(): You may do that, but delete the old dialog first!
  (necessary for reloading the GUI)

- FGDialog::makeObject(): only set format_callback() with setRenderCallback()
  if the property is "live". Otherwise, only call it once at construction
  time. This isn't only a performance improvement. Without this the label
  was growing until it hit the limit (256).

19 years agoMelchior FRANZ:
ehofman [Sat, 26 Mar 2005 10:45:00 +0000 (10:45 +0000)]
Melchior FRANZ:

The previous message wasn't totally correct. Strings are now allowed, too. And
the pattern is now '[ -+#]?\d*(\.\d*)?l?[fs]' and *may* be embedded in a string.
There may only be one %s or %f, though. %% is allowed in the preamble/postamble.
(Yes, %ls is allowed, too, and treated as %s.)

Also, "end" is superfluous now.

19 years agoMelchior FRANZ:
ehofman [Sat, 26 Mar 2005 10:09:34 +0000 (10:09 +0000)]
Melchior FRANZ:

Printing floats in dialogs with 8 digits after the comma is inappropriate
for most cases.

- implement a "format" property for "text" gui elements (a.k.a. pui label).
  Number formats are set by strtod/snprintf, while formats on non-numbers
  are replaced by "%s". Practical example in the upcoming material.nas update.
  Valid formats regex:  '%[ -]?\d*(\.\d*)?l?f' (IOW: the format must begin
  with '%' and end with 'f').

  # Nasal:
  number = dialog.addChild("text");
  number.set("label", "3.1415926");
  number.set("format", "%.3f");

19 years agoMipsPRO needs -c99 for int16_t types.
ehofman [Sat, 26 Mar 2005 10:08:32 +0000 (10:08 +0000)]
MipsPRO needs -c99 for int16_t types.

19 years agoUpdate nasal function name.
curt [Fri, 25 Mar 2005 01:37:58 +0000 (01:37 +0000)]
Update nasal function name.

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.