]> git.mxchange.org Git - flightgear.git/log
flightgear.git
22 years agoBrandon Bergren:
curt [Sat, 24 Aug 2002 05:54:33 +0000 (05:54 +0000)]
Brandon Bergren:

2. I changed Simgear's autogen.sh so it is quieter, and errors out if
autoheader or autoconf fails.  It puts all error output in autogen.err, and
deletes it if nothing errored out.  The patch is in (sg.autogen.sh.patch.gz)
This patch applies to flightgear, too.  If someone doesn't like what I did
here, please speak up!  I really believe that this patch will help cause
less confusion among people new to compiling flightgear.

22 years agoBernie Bright:
curt [Fri, 23 Aug 2002 19:53:48 +0000 (19:53 +0000)]
Bernie Bright:

Here are some changes that gave me a significant frame rate increase of about 10 fps with random objects disabled.  The interesting thing is that these changes aren't in the main loop but are in tile loader.  My guess is that I've reduced the memory footprint just enough to reduce CPU cache misses, though I have no hard evidence of this.

Initially I modified all SGBinObject member functions to pass/return by reference instead of by-value.  This gives little or no speed up but allows for some optimizations in fgBinObjLoad().  It is these changes that reduce the number of memory allocations.  Needless copying of vectors, and vectors of vectors, can be very memory intensive, especially if they are large.

Anyway I would be interested to see if you get similar results.  I would emphasize that the frame rate increase only occurs with random objects disabled.  I lose about 10-15 fps on my GF2MX 32MB with random objects, probably a fill-rate limitation or texture memory thing.

22 years agoScale throttle inputs a bit better.
curt [Mon, 19 Aug 2002 02:08:43 +0000 (02:08 +0000)]
Scale throttle inputs a bit better.
Add support for rudder pedal inputs.
Reverse adf frq switch.

22 years agoAdd support for flipping the instrument panel vertically on screen (if
curt [Mon, 19 Aug 2002 02:07:39 +0000 (02:07 +0000)]
Add support for flipping the instrument panel vertically on screen (if
we want to do a full screen panel on a device that is mounted upside
down.)

22 years agoForce ATC interface to run at 30 hz.
curt [Mon, 19 Aug 2002 01:59:26 +0000 (01:59 +0000)]
Force ATC interface to run at 30 hz.

22 years agoXML-configurable menu support from Erik Hofman.
david [Thu, 8 Aug 2002 23:25:47 +0000 (23:25 +0000)]
XML-configurable menu support from Erik Hofman.

[dpm: removed an attempt to free a pointer to a function]

22 years agoRandom-object and -light placement optimizations from Norman Vine.
david [Thu, 8 Aug 2002 23:09:02 +0000 (23:09 +0000)]
Random-object and -light placement optimizations from Norman Vine.

22 years ago* Cleaned up some loose ends with free tiles that are paged out of the cache.
curt [Wed, 7 Aug 2002 02:53:01 +0000 (02:53 +0000)]
* Cleaned up some loose ends with free tiles that are paged out of the cache.
* Finally I think I have the partial ssg tree deletion routine working correctly
  after I managed to break it (and other confusion in the code cause it to
  never be called so I didn't notice the problem.)
* Converted several SG_INFO statements to SG_DEBUG to clean up some
  extraneous console output.
* This *should* conclude my investigation into a massive memory leak. :-)

22 years agoRemoved the FG3DModel class and replaced it with fgLoad3DModel.
david [Wed, 7 Aug 2002 01:34:49 +0000 (01:34 +0000)]
Removed the FG3DModel class and replaced it with fgLoad3DModel.
Animations are now contained within the scene graph itself and are
updated whenever the graph is traversed -- that saves time by not
updating animations not currently in sight, and it allows animations
to be used for static objects and random objects as well.

Added new FGModelLoader and FGTextureLoader classes.  These are intern
tables for models, to guarantee (mostly) that no model is loaded more
than once.  FGTextureLoader is not yet used anywhere, but
FGModelLoader is now in place everywhere that ssgLoad* used to be
used (thus adding the ability to use animations).

In the future, FGModelLoader will add some interesting functionality,
including the ability to reload 3D models on the fly.

22 years agoRemove dependency on acmodel.hxx out of flight.hxx (which is included
david [Wed, 7 Aug 2002 01:30:21 +0000 (01:30 +0000)]
Remove dependency on acmodel.hxx out of flight.hxx (which is included
many places) and into the files that actually use it.

22 years agoTemporarily fix a crash and correctly free memory until I can sort out a
curt [Tue, 6 Aug 2002 18:52:45 +0000 (18:52 +0000)]
Temporarily fix a crash and correctly free memory until I can sort out a
problem with the partial ssg tree freeing code.

22 years agoWorking on hunting down a really awful memory leak. This arose out of a
curt [Tue, 6 Aug 2002 18:50:12 +0000 (18:50 +0000)]
Working on hunting down a really awful memory leak.  This arose out of a
misunderstanding over which section of code would be freeing tiles.  This
patch cleans up several things, but a little more work is still needed.

22 years agoPatch from Erik Hofman to remove 'random' option for sound:
david [Mon, 5 Aug 2002 20:49:17 +0000 (20:49 +0000)]
Patch from Erik Hofman to remove 'random' option for sound:

I back out this patch because it gives me 2~3 bonus fps, and it isn't
used now and probably won't be used in the future.

22 years agoDetabified for Norman Vine.
david [Mon, 5 Aug 2002 20:14:28 +0000 (20:14 +0000)]
Detabified for Norman Vine.

22 years agoLatest JSBSim updates.
david [Mon, 5 Aug 2002 20:13:34 +0000 (20:13 +0000)]
Latest JSBSim updates.

22 years agoRemove call to function only in plib-cvs.
curt [Mon, 5 Aug 2002 18:29:25 +0000 (18:29 +0000)]
Remove call to function only in plib-cvs.

22 years agoImprove the random seed calculation slightly.
david [Sun, 4 Aug 2002 19:10:13 +0000 (19:10 +0000)]
Improve the random seed calculation slightly.

22 years agoBernie Bright:
curt [Fri, 2 Aug 2002 22:49:34 +0000 (22:49 +0000)]
Bernie Bright:

I've merged FGProps and FGTelnet so there is just a single property server.
I've left in the --telnet=port# command line option but it could be removed
if we wanted to.  The command line accepts two forms of the --props option.
The original (--props=medium,dir,hz,host,port#,style) and the shorter
--props=port#.  If you accept this change then src/Network/telnet.[ch]xx
can be removed from the cvs repository.

22 years agoConvert several alert/info statements to debug.
curt [Thu, 1 Aug 2002 21:51:09 +0000 (21:51 +0000)]
Convert several alert/info statements to debug.

22 years agoFilter fuel selector knob.
curt [Thu, 1 Aug 2002 21:50:40 +0000 (21:50 +0000)]
Filter fuel selector knob.

22 years agoFix tile cache resizing bug (which could lead to thrashing.)
curt [Thu, 1 Aug 2002 06:15:59 +0000 (06:15 +0000)]
Fix tile cache resizing bug (which could lead to thrashing.)

22 years agoFixes so that we can read incoming broadcast packets (so we can have multiple
curt [Wed, 31 Jul 2002 23:24:55 +0000 (23:24 +0000)]
Fixes so that we can read incoming broadcast packets (so we can have multiple
channels driven from one broadcast source.)

22 years agoRoll out change that required CVS version of plib.
david [Wed, 31 Jul 2002 21:51:03 +0000 (21:51 +0000)]
Roll out change that required CVS version of plib.

22 years agoPatch from Dave Luff:
david [Wed, 31 Jul 2002 18:44:30 +0000 (18:44 +0000)]
Patch from Dave Luff:

Your 3D models cause a stackdump when the base is separate from the
root.  I've attached a patched newmat.cxx - you may want to test it
before committing!

22 years agoPatch from Erik Hofman:
david [Wed, 31 Jul 2002 17:57:59 +0000 (17:57 +0000)]
Patch from Erik Hofman:

I changed the code such that textures terrain also takes ambient,
diffuse, specular and emissive from the materials.xml file.

[note from dpm: doesn't seem to work yet]

22 years agoAccept multiple names for the same joystick.
david [Wed, 31 Jul 2002 17:32:16 +0000 (17:32 +0000)]
Accept multiple names for the same joystick.

22 years agoPatch from Julian Foad:
david [Wed, 31 Jul 2002 16:45:35 +0000 (16:45 +0000)]
Patch from Julian Foad:

Use getDisplayName instead of duplicated code.
Replace unnecessary node lookups by name with direct access.

22 years agoPatch from Julian Foad:
david [Wed, 31 Jul 2002 16:44:27 +0000 (16:44 +0000)]
Patch from Julian Foad:

    When the scroll bar slider is dragged, the list scrolls only far enough to see all items; only the arrow buttons can scroll it so far that the last item goes to the top of the view.
    Fix scroll bar proportional size: was wrong when the list was only a little longer than the visible area.
    Minor fixes such as "delete files[i];" -> "delete[] files[i];" (where the item being deleted is an array of characters) and removal of global variables.
    Smooth scrolling when dragging the slider: one item at a time, rather than one tenth of the list at a time.
    Fix a bug that would have occurred if instantiated with arrows=2.
    Sort properties primarily by name and then by numerical index order, rather than a simple ASCII string order.  E.g. "js[1]", "js[2]", "js[10]" rather than "js[1]", "js[10]", "js[2]".
    Avoid crashing if the selected property path does not exist; display an empty list instead.  This cannot happen when the property picker is working properly, but did happen due to missing indices prior to this patch, and could happen if the user is allowed to type a pathname, as in the http and telnet interfaces.
    Fix truncation of strings to PUSTRING_MAX: was wrong when string length was exactly 80.
    Fix: move the scroll bar to the top each time a new list is displayed.  It was left at its previous position, while the top of the new list was displayed, not corresponding to the slider.
    Use getDisplayName instead of duplicated code: gives a better decision on whether to display the index, and avoids invalid property paths being generated which would previously crash find_props().
    Replace unnecessary node lookups by name with direct access: tidier and more efficient.  E.g. "getValueTypeString (node->getNode(name.c_str()))" -> "getValueTypeString (child)".

22 years agoCameron Moore:
curt [Tue, 30 Jul 2002 16:17:16 +0000 (16:17 +0000)]
Cameron Moore:
* Added --atc610x, --(dis|en)able-random-objects, --telnet
* Updated --wind
* Removed --clouds-asl

22 years agoA couple fixes to the network fdm interface.
curt [Tue, 30 Jul 2002 04:37:16 +0000 (04:37 +0000)]
A couple fixes to the network fdm interface.

22 years agoAdded formatted time to property tree for use by 'virtual' instruments.
curt [Tue, 30 Jul 2002 02:56:42 +0000 (02:56 +0000)]
Added formatted time to property tree for use by 'virtual' instruments.

22 years agoVarious tweaks, enhancements, and optimizations surrounding tile paging
curt [Mon, 29 Jul 2002 05:07:38 +0000 (05:07 +0000)]
Various tweaks, enhancements, and optimizations surrounding tile paging
(specifically freeing tiles when we need to remove them from the tile cache.)

22 years agoPatch from Melchior Franx to restore fog on tdfx cards like the Voodoo3.
david [Sat, 27 Jul 2002 22:31:40 +0000 (22:31 +0000)]
Patch from Melchior Franx to restore fog on tdfx cards like the Voodoo3.

22 years agoCreate a top-level branch in each tile for random objects with the
david [Sat, 27 Jul 2002 14:29:57 +0000 (14:29 +0000)]
Create a top-level branch in each tile for random objects with the
name "random-objects".

Put the random objects for each tile inside a top-level
ssgRangeSelector with a maximum range of 20km.  This saves a lot of
range tests for distant tiles, and gives about a 10% framerate boost
on my card at 1000ft AGL (possibly more on faster cards).

22 years agoNo need to additionally ref() subcomponents of a tree. Only the root node
curt [Fri, 26 Jul 2002 23:27:53 +0000 (23:27 +0000)]
No need to additionally ref() subcomponents of a tree.  Only the root node
needs to be ref()'d.

22 years agoModified the partial ssg tree deletion algorithm so it correctly preserves
curt [Fri, 26 Jul 2002 22:23:49 +0000 (22:23 +0000)]
Modified the partial ssg tree deletion algorithm so it correctly preserves
subtrees that may be connected into the scene graph multiple times.
(i.e.  our random ground cover objects.)

22 years agoSome renaming, since there wasn't really a tile-level LOD.
david [Fri, 26 Jul 2002 22:12:29 +0000 (22:12 +0000)]
Some renaming, since there wasn't really a tile-level LOD.

22 years agoGive up on the idea of using a singleton dummy bounding sphere;
david [Fri, 26 Jul 2002 19:06:29 +0000 (19:06 +0000)]
Give up on the idea of using a singleton dummy bounding sphere;
instead, use a separate dummy bounding sphere for each triangle and
each tile, with the actual bounds, to make sure that objects are
always added when they should be in sight.

22 years agoLoad models before counting them.
david [Fri, 26 Jul 2002 19:04:40 +0000 (19:04 +0000)]
Load models before counting them.

22 years agoOops, remove some unwanted debugging output.
curt [Fri, 26 Jul 2002 17:00:18 +0000 (17:00 +0000)]
Oops, remove some unwanted debugging output.

22 years agoFixed some signed vs. unsigned warnings.
curt [Fri, 26 Jul 2002 16:54:40 +0000 (16:54 +0000)]
Fixed some signed vs. unsigned warnings.

22 years agoAdded --random-wind command-line option.
david [Fri, 26 Jul 2002 02:49:14 +0000 (02:49 +0000)]
Added --random-wind command-line option.

22 years agoFixed reporting of winds, cloudbase, and altimeter setting. The
david [Fri, 26 Jul 2002 02:48:56 +0000 (02:48 +0000)]
Fixed reporting of winds, cloudbase, and altimeter setting.  The
temperature is still wrong.

22 years agoI totally misunderstood sgFrustum. This patch should put it right,
david [Fri, 26 Jul 2002 01:52:51 +0000 (01:52 +0000)]
I totally misunderstood sgFrustum.  This patch should put it right,
and also adds an optimization to avoid traversing anything closer than
1000m.

22 years agoRestructure the way tile freeing is handled. When a tile is removed from
curt [Thu, 25 Jul 2002 23:59:04 +0000 (23:59 +0000)]
Restructure the way tile freeing is handled.  When a tile is removed from
the tile cache it's ssg elements are disconnected from the main ssg scene
graph, and then the tile is thrown on the end of a delete queue.  The
tilemgr->update() routine runs every frame.  It looks at this queue and if
it is non-empty, it incrementally frees the compents of the first tile
on the queue.  When the tile is completely free it is removed from the queue.

The amount of time to free the memory for even a single tile can be quite
substantial, especially with the increased overhead of dynamic/random
ground objects.  This change allows the system to spread the work of freeing
tile memory out over many frames so you don't get a noticable single frame
hit or stutter.

22 years agoRestructuring how tiles are freed to allow us to eventually spread the task
curt [Thu, 25 Jul 2002 21:57:58 +0000 (21:57 +0000)]
Restructuring how tiles are freed to allow us to eventually spread the task
out over multiple frames.

22 years agoFix random seeds to avoid coincident objects but still ensure
david [Thu, 25 Jul 2002 20:30:51 +0000 (20:30 +0000)]
Fix random seeds to avoid coincident objects but still ensure
consistency.

22 years agoChange the extra culling to do only a quarter of the scene every 200
david [Thu, 25 Jul 2002 17:47:42 +0000 (17:47 +0000)]
Change the extra culling to do only a quarter of the scene every 200
frames rather than the whole thing, to avoid tiny stutters.

22 years agoAdded a new range-selector layer above each tile. That way, by
david [Thu, 25 Jul 2002 17:32:31 +0000 (17:32 +0000)]
Added a new range-selector layer above each tile.  That way, by
default, each tile has only 3 extra SSG nodes unless it falls into
range.

22 years agoFix a problem with the culling of out-of-range random objects. When
david [Thu, 25 Jul 2002 17:29:08 +0000 (17:29 +0000)]
Fix a problem with the culling of out-of-range random objects.  When
the triangles containing the objects were out of the view Frustum,
they were never traversed by ssg (and thus, never culled).  Now, every
200 frames, do a pass through the whole scene graph with cull-testing
disabled and without drawing anything; that will allow random-objects
to be collected incrementally.

22 years agoFixed a bug in FlightGear.py. Splitting name,value,type using whitespace
curt [Mon, 22 Jul 2002 23:25:28 +0000 (23:25 +0000)]
Fixed a bug in FlightGear.py.  Splitting name,value,type using whitespace
failed on /sim/time/gmt-string because the raw value contains an embedded
space.  Now I use a regex instead of a plain split().  I also removed the
view_next and view_prev functions.  These will have to be replaced with
command properties.

I've also added a FGFSDemo.py script which is a python version of David's java program.

22 years agoWe require plib-1.4.2 or newer.
curt [Mon, 22 Jul 2002 21:10:00 +0000 (21:10 +0000)]
We require plib-1.4.2 or newer.

22 years agoSave state before drawing '3d' panel, and then restore it after.
curt [Mon, 22 Jul 2002 21:09:42 +0000 (21:09 +0000)]
Save state before drawing '3d' panel, and then restore it after.

22 years agoRemoved some redundant glLight() calls.
curt [Sun, 21 Jul 2002 17:03:29 +0000 (17:03 +0000)]
Removed some redundant glLight() calls.

22 years agoThis was an old version, so I replaced the contents with a pointer to
curt [Sun, 21 Jul 2002 16:19:25 +0000 (16:19 +0000)]
This was an old version, so I replaced the contents with a pointer to
the newest version in the base package.

22 years agoPatch to explicitely control the specular lighting component.
curt [Sun, 21 Jul 2002 15:40:51 +0000 (15:40 +0000)]
Patch to explicitely control the specular lighting component.

22 years agoSupport for fuel selector switch.
curt [Sun, 21 Jul 2002 15:40:20 +0000 (15:40 +0000)]
Support for fuel selector switch.

22 years agoRenamed /sim/rendering/dynamic-objects to
david [Sat, 20 Jul 2002 23:11:27 +0000 (23:11 +0000)]
Renamed /sim/rendering/dynamic-objects to
/sim/rendering/random-objects, and changed the default from false to true.

22 years agoAdded more documentation.
david [Sat, 20 Jul 2002 23:10:42 +0000 (23:10 +0000)]
Added more documentation.

22 years agoAdded --disable-random-objects and --enable-random-objects options.
david [Sat, 20 Jul 2002 23:10:16 +0000 (23:10 +0000)]
Added --disable-random-objects and --enable-random-objects options.

22 years agoMore efficient version of get_bounding_radius from Norm Vine.
david [Sat, 20 Jul 2002 19:23:44 +0000 (19:23 +0000)]
More efficient version of get_bounding_radius from Norm Vine.

22 years agoEnforce a sane minimum of 1000m for coverage, to avoid run-away object
david [Sat, 20 Jul 2002 18:41:17 +0000 (18:41 +0000)]
Enforce a sane minimum of 1000m for coverage, to avoid run-away object
placement.

22 years agoRandomly-place object overhaul and enhancements
david [Sat, 20 Jul 2002 14:56:37 +0000 (14:56 +0000)]
Randomly-place object overhaul and enhancements
-----------------------------------------------

Fixed a segfault on exit.

Changed the radius of the dummy bounding sphere from 10m to 1000m to
ensure that FOV culling doesn't leave anything out.

Allow an object to have more than one variant model, which will be
chosen randomly.  Simply repeat the <path>...</path> property.

Removed the <billboard> property and replaced it with <heading-type>,
which can be set to "fixed" (leave the model oriented as it is),
"random" (give the model a random heading between 0 and 359 deg), or
"billboard" (always turn the model to face the camera).  The default
is "fixed".  Models look much better when they are not all facing the
same direction.

Allow the user to group models with the same visual range, so that
there can be *many* fewer nodes in the scene graph when the models are
not visible.  This causes an XML-format change, so that instead of

  <object>
   <range-m>...</range-m>
   ...
  </object>
  <object>
   <range-m>...</range-m>
   ...
  </object>
  ...

we now have

  <object-group>
   <range-m>...</range-m>
   <object>
    ...
   </object>
   <object>
    ...
   </object>
   ...
  </object-group>

Every object in a group can still have its own model(s), coverage, and
heading-type, but they all share the same range selector.

This change should already help users with tight memory constraints,
but it will matter much more when we add more object types -- for
example, we can now add dozens of different urban building types
without bloating the scene graph or slowing down the LOD tests for
tris that are out of range (i.e. most of them).

22 years agoMoved object information into a new subclass of FGNewMat, and changed
david [Sat, 20 Jul 2002 01:51:27 +0000 (01:51 +0000)]
Moved object information into a new subclass of FGNewMat, and changed
the property name from coverage to coverage_m2.

22 years agoProblem reported by Erik Hofman:
david [Thu, 18 Jul 2002 22:38:46 +0000 (22:38 +0000)]
Problem reported by Erik Hofman:

Replaced left-over std::cout statements with SG_LOG statements.

22 years agoPatch from Cameron Moore:
david [Thu, 18 Jul 2002 22:33:10 +0000 (22:33 +0000)]
Patch from Cameron Moore:

* Rearranged member initializers

22 years agoPatch from Cameron Moore:
david [Thu, 18 Jul 2002 22:32:50 +0000 (22:32 +0000)]
Patch from Cameron Moore:

* Fixed (un)signed comparisons

22 years agoPatch from Cameron Moore:
david [Thu, 18 Jul 2002 22:32:32 +0000 (22:32 +0000)]
Patch from Cameron Moore:

* Rearranged member initializers

22 years agoPatch from Cameron Moore:
david [Thu, 18 Jul 2002 22:32:12 +0000 (22:32 +0000)]
Patch from Cameron Moore:

* Fixed (un)signed comparisons
* Rearranged member initializers

22 years agoPatch from Cameron Moore:
david [Thu, 18 Jul 2002 22:31:53 +0000 (22:31 +0000)]
Patch from Cameron Moore:

* Rearranged member initializers to shut gcc -Wall up

22 years agoPatch from Cameron Moore:
david [Thu, 18 Jul 2002 22:31:36 +0000 (22:31 +0000)]
Patch from Cameron Moore:

* Fixed uninitialized values

22 years agoPatch from Cameron Moore:
david [Thu, 18 Jul 2002 22:31:19 +0000 (22:31 +0000)]
Patch from Cameron Moore:

* Fixed uninitialized MaxAileron value (set to 0.5)

22 years agoMake objects appear more smoothly and reliably.
david [Thu, 18 Jul 2002 19:16:47 +0000 (19:16 +0000)]
Make objects appear more smoothly and reliably.

22 years agoMore efficient rotation matrix calc from Norm Vine.
david [Thu, 18 Jul 2002 15:54:21 +0000 (15:54 +0000)]
More efficient rotation matrix calc from Norm Vine.

22 years agoSignificant speedup for randomly-placed objects, by taking better
david [Thu, 18 Jul 2002 13:23:29 +0000 (13:23 +0000)]
Significant speedup for randomly-placed objects, by taking better
advantage of ssg Frustum culling.

22 years agoModifed random-object code for more memory efficiency:
david [Thu, 18 Jul 2002 01:04:08 +0000 (01:04 +0000)]
Modifed random-object code for more memory efficiency:

1. Only one copy of each object (and its texture) is stored in memory,
   no matter how many materials use it.

2. Random objects are added to a triangle only when the objects are in
   range, and they are deleted as soon as the objects are out of
   range.  That way, only a relatively small number of ssg nodes are
   used at any one time.

This patch seems to eliminate freezes when tiles are freed.  There are
occasional stutters at extremely high speeds (i.e. over 3,000kt), but
it seems smooth enough for normal aviation speeds.

22 years agoMore functional decomposition and documentation.
david [Wed, 17 Jul 2002 22:11:13 +0000 (22:11 +0000)]
More functional decomposition and documentation.

22 years agoFix some minor inconsistencies and inefficiencies:
david [Wed, 17 Jul 2002 21:00:54 +0000 (21:00 +0000)]
Fix some minor inconsistencies and inefficiencies:

- no extra nodes are created at all if the material has no random
  objects defined

- the range selector is place correctly under the transformation

- there is only one range selector for each object type in each
  triangle (experimental -- doesn't seem to make a difference in speed
  or memory)

This patch removes Curt's patch that randomized ranges slightly, since
individual random objects no longer have their own range selectors.
It also leaves the object-group-range value unused, for now.

22 years agoStarted functional decomposition for dynamic objects.
david [Tue, 16 Jul 2002 23:39:53 +0000 (23:39 +0000)]
Started functional decomposition for dynamic objects.

Fixed typo in last patch, where objects were using object_group_lod
rather than object_lod.

22 years agoput a separate LOD node in front of ever random object so we can randomize
curt [Tue, 16 Jul 2002 20:43:40 +0000 (20:43 +0000)]
put a separate LOD node in front of ever random object so we can randomize
the exact pop in location of each object ... this allows us to put some objects further out and perhaps hide the popping just a tiny bit?

22 years agoAdded support for dynamically-generated scenery objects. Set the
david [Mon, 15 Jul 2002 18:16:20 +0000 (18:16 +0000)]
Added support for dynamically-generated scenery objects.  Set the
property /sim/rendering/dynamic-objects to true to enable them.

22 years agoMember variable initialization fixes from Cameron Moore
tony [Thu, 11 Jul 2002 00:19:19 +0000 (00:19 +0000)]
Member variable initialization fixes from Cameron Moore

22 years agoFixed typo in SetGammaFallback()
tony [Wed, 10 Jul 2002 03:24:57 +0000 (03:24 +0000)]
Fixed typo in SetGammaFallback()

22 years agoChange FGSteam into a proper subsystem rather than a collection of
david [Sun, 7 Jul 2002 15:45:56 +0000 (15:45 +0000)]
Change FGSteam into a proper subsystem rather than a collection of
static methods, and remove outdated dependency in panel_io.cxx.

22 years agoPatch from Julian Foad:
david [Sun, 7 Jul 2002 13:29:52 +0000 (13:29 +0000)]
Patch from Julian Foad:

- tidies up the update-time-step handling (making it a simple "dt");
- makes the altimeter get a proper pressure, and the (unused) vacuum
  calculation get a proper RPM (*);
- replaces property name look-ups with static pointers to property nodes.

Notes from DPM:

- the static pointers are a very bad idea, but they're only temporary;
  I plan to make FGSteam into a proper subsystem soon, and then they
  can be member variables
- I fixed the patch to get the current static pressure from the
  /environment/pressure-inhg property, so that the altimeter interacts
  properly with FGEnvironment

22 years agoPatch from Julian Foad:
david [Sat, 6 Jul 2002 18:02:06 +0000 (18:02 +0000)]
Patch from Julian Foad:

The present sets of bindings result in the throttle being "squared"
about its centre, which is silly.  This is because the "squared"
parameter is not set by the throttle binding, but the default is
"true".  We discussed this before and I think there was general
agreement that the default should be "false" on the basis of
generality.

22 years agoPatch from Julian Foad:
david [Sat, 6 Jul 2002 18:00:34 +0000 (18:00 +0000)]
Patch from Julian Foad:

May I offer this patch which will help non-Linux users find their
joysticks' names.

22 years agoRemove a kludge that was introduced to work around the #defined "NONE".
david [Sat, 6 Jul 2002 17:50:52 +0000 (17:50 +0000)]
Remove a kludge that was introduced to work around the #defined "NONE".

22 years agoChange identifiers to their new names to match hud.hxx.
david [Sat, 6 Jul 2002 17:50:38 +0000 (17:50 +0000)]
Change identifiers to their new names to match hud.hxx.

22 years agoPrefix "HUD_" (or "HUD_FONT_" in two cases) to #defined identifiers.
david [Sat, 6 Jul 2002 17:50:16 +0000 (17:50 +0000)]
Prefix "HUD_" (or "HUD_FONT_" in two cases) to #defined identifiers.
Remove some unused #defines (not mentioned anywhere, even in
comments).

22 years agoUpdate controls so we can specify each tank on/off individually. Also
curt [Fri, 5 Jul 2002 19:04:04 +0000 (19:04 +0000)]
Update controls so we can specify each tank on/off individually.  Also
updated the network interface files to add fuel tank selector information.

22 years agoOops, fixed a typo.
curt [Fri, 5 Jul 2002 14:49:18 +0000 (14:49 +0000)]
Oops, fixed a typo.

22 years agoAdded a fuel selector switch. I understand that this won't handle all
curt [Fri, 5 Jul 2002 14:46:38 +0000 (14:46 +0000)]
Added a fuel selector switch.  I understand that this won't handle all
situations for every kind of airplane.  But at the moment we have nothing
implimented and this will cover the simpler cases until someone has a
chance to impliment a fuller solution.

22 years agoSwitch to snprintf() for safety.
curt [Fri, 5 Jul 2002 13:56:46 +0000 (13:56 +0000)]
Switch to snprintf() for safety.

22 years agoMSVC fixups.
curt [Fri, 5 Jul 2002 05:23:53 +0000 (05:23 +0000)]
MSVC fixups.

22 years agoAdded interface to ATC xponder hardware.
curt [Thu, 4 Jul 2002 21:38:37 +0000 (21:38 +0000)]
Added interface to ATC xponder hardware.

22 years agoInitial revision of a Bendix/King KT 70 transponder.
curt [Thu, 4 Jul 2002 21:37:34 +0000 (21:37 +0000)]
Initial revision of a Bendix/King KT 70 transponder.

22 years agoFixed up a couple loose ends.
curt [Thu, 4 Jul 2002 21:37:06 +0000 (21:37 +0000)]
Fixed up a couple loose ends.

22 years agoModified to use named-joystick bindings when available (js-named
david [Thu, 4 Jul 2002 17:38:18 +0000 (17:38 +0000)]
Modified to use named-joystick bindings when available (js-named
rather than js).  This functionality is available only with recent CVS
plib versions (i.e. since about May 2002).

22 years agoA bunch of reorg and clean up of the KR 87 (adf) code including some
curt [Wed, 3 Jul 2002 23:35:21 +0000 (23:35 +0000)]
A bunch of reorg and clean up of the KR 87 (adf) code including some
property renaming with corresponding changes to instruments in the base
package.