]> git.mxchange.org Git - flightgear.git/log
flightgear.git
22 years agoUpdated the base package version required.
curt [Sat, 14 Sep 2002 01:58:40 +0000 (01:58 +0000)]
Updated the base package version required.

22 years agoUpdate base package version.
curt [Fri, 13 Sep 2002 23:37:55 +0000 (23:37 +0000)]
Update base package version.

22 years agoStubbed in initial support for 3d clouds.
curt [Fri, 13 Sep 2002 20:38:15 +0000 (20:38 +0000)]
Stubbed in initial support for 3d clouds.

22 years agoAdded support for calibration properties.
curt [Thu, 12 Sep 2002 03:15:27 +0000 (03:15 +0000)]
Added support for calibration properties.

22 years agoMichael Selig:
curt [Wed, 11 Sep 2002 18:27:26 +0000 (18:27 +0000)]
Michael Selig:

A bug lurked into our uiuc code.

There are two changes:
[1] Comment out the chunk of code as shown (compare w/ the old)
[2] Put back in the function call, and in that code change AlphaTail to Alpha.

22 years agoFixed: When you select Menu->Autopilot->Set Heading nothing happens.
curt [Wed, 11 Sep 2002 16:51:23 +0000 (16:51 +0000)]
Fixed: When you select Menu->Autopilot->Set Heading nothing happens.

22 years agoUpdates from Rob Deters.
curt [Wed, 11 Sep 2002 16:45:47 +0000 (16:45 +0000)]
Updates from Rob Deters.

22 years agoUpdates from Rob Deters.
curt [Wed, 11 Sep 2002 02:31:10 +0000 (02:31 +0000)]
Updates from Rob Deters.

22 years agoDarrell Walisser:
curt [Tue, 10 Sep 2002 19:43:33 +0000 (19:43 +0000)]
Darrell Walisser:

This allows it to behave like a certified Mac OS X citizen.

22 years agoInitial revision
curt [Tue, 10 Sep 2002 01:13:59 +0000 (01:13 +0000)]
Initial revision

22 years agoGetting ready for 0.8.0 release.
curt [Sat, 7 Sep 2002 20:33:00 +0000 (20:33 +0000)]
Getting ready for 0.8.0 release.

22 years agoRead the desired menu font from the property system (or default to
curt [Sat, 7 Sep 2002 14:16:06 +0000 (14:16 +0000)]
Read the desired menu font from the property system (or default to
typewriter.txf if it's not specified.)

22 years agoFix a typo that could cause a crash on some platforms.
curt [Sat, 7 Sep 2002 14:15:10 +0000 (14:15 +0000)]
Fix a typo that could cause a crash on some platforms.

22 years agoAdded explicit std:: prefix to map to work-around MSVC6 bug reported
david [Sat, 7 Sep 2002 13:16:48 +0000 (13:16 +0000)]
Added explicit std:: prefix to map to work-around MSVC6 bug reported
by Jonathan Polley.

22 years agoMade temperature, dew-point, and pressure at altitude read-only, so
david [Sat, 7 Sep 2002 13:00:20 +0000 (13:00 +0000)]
Made temperature, dew-point, and pressure at altitude read-only, so
that they won't get messed up during a reset if there are reassigned
before the altitude.

22 years agoPatch from Julian Foad:
david [Sat, 7 Sep 2002 12:35:31 +0000 (12:35 +0000)]
Patch from Julian Foad:

     Use getDisplayName instead of duplicated code: gives a better
decision on whether to display the index.
     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 agoPatch from Julian Foad:
david [Sat, 7 Sep 2002 12:35:06 +0000 (12:35 +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 agoFixes to better support the native irix compilers.
curt [Fri, 6 Sep 2002 17:30:21 +0000 (17:30 +0000)]
Fixes to better support the native irix compilers.

22 years agoErik Hofman:
curt [Thu, 5 Sep 2002 21:58:24 +0000 (21:58 +0000)]
Erik Hofman:

It turned out that pui required the submenu structure to be declared
backwards, which I didn't notice the first time.

22 years agoVarious clean-ups.
tony [Thu, 5 Sep 2002 13:55:16 +0000 (13:55 +0000)]
Various clean-ups.

22 years agoCameron Moore:
curt [Wed, 4 Sep 2002 16:09:10 +0000 (16:09 +0000)]
Cameron Moore:

o Added --verbose, --random-wind, and --show-aircraft
o Updated FILES section to include new config files
o Cosmetic changes

22 years agoAutomake version check is best done only in the autogen.sh file, and not
curt [Tue, 3 Sep 2002 21:30:37 +0000 (21:30 +0000)]
Automake version check is best done only in the autogen.sh file, and not
in the configure script.

22 years agoUpdated for next prerelease.
curt [Tue, 3 Sep 2002 21:30:00 +0000 (21:30 +0000)]
Updated for next prerelease.

22 years agoRemoved dos line endings.
curt [Tue, 3 Sep 2002 13:27:45 +0000 (13:27 +0000)]
Removed dos line endings.

22 years agoFix a typo.
curt [Tue, 3 Sep 2002 04:52:32 +0000 (04:52 +0000)]
Fix a typo.

22 years agoAdditional build system tweaks.
curt [Tue, 3 Sep 2002 01:12:26 +0000 (01:12 +0000)]
Additional build system tweaks.

22 years agoInitial revision.
curt [Tue, 3 Sep 2002 00:50:01 +0000 (00:50 +0000)]
Initial revision.

22 years agoUpdates to the UIUCModel code. This includes some big compile time
curt [Mon, 2 Sep 2002 23:26:28 +0000 (23:26 +0000)]
Updates to the UIUCModel code.  This includes some big compile time
speedups to uiuc_menu.cpp.

(Note these were originally submitted before the cutoff date for new
features, but something was corrupted in the transfer so I granted a bit
of leeway in the schedule.)

22 years agoReturn the closest match, not just the first match. Sometimes there
curt [Mon, 2 Sep 2002 05:31:46 +0000 (05:31 +0000)]
Return the closest match, not just the first match.  Sometimes there
are stations with the same frequency close enough together to cause problems
for our code.

22 years agoFiksed a plethera of speling misteaks.
curt [Mon, 2 Sep 2002 04:41:00 +0000 (04:41 +0000)]
Fiksed a plethera of speling misteaks.

22 years agoUpdated Bernie's entry.
curt [Sun, 1 Sep 2002 20:46:52 +0000 (20:46 +0000)]
Updated Bernie's entry.

22 years agoRead the com1/2 on/off switch.
curt [Sun, 1 Sep 2002 03:02:11 +0000 (03:02 +0000)]
Read the com1/2 on/off switch.

22 years agoUpdated for next release.
curt [Sun, 1 Sep 2002 03:01:04 +0000 (03:01 +0000)]
Updated for next release.

22 years agoRemoved unused cur_view_fdm variable as suggested by Bernie Bright.
david [Sat, 31 Aug 2002 19:48:28 +0000 (19:48 +0000)]
Removed unused cur_view_fdm variable as suggested by Bernie Bright.

22 years agoMade current.
curt [Fri, 30 Aug 2002 23:51:53 +0000 (23:51 +0000)]
Made current.

22 years agoChanges to allow "make dist" to work.
curt [Fri, 30 Aug 2002 17:04:00 +0000 (17:04 +0000)]
Changes to allow "make dist" to work.
Regenerated the .dsp/.dsw files.

22 years agoRemoved unused and improperly initialized constant.
tony [Fri, 30 Aug 2002 13:43:28 +0000 (13:43 +0000)]
Removed unused and improperly initialized constant.

22 years agoNorman's fix to make the help system start on Win32.
curt [Thu, 29 Aug 2002 21:00:22 +0000 (21:00 +0000)]
Norman's fix to make the help system start on Win32.
And fixed up some other non-sensical code in the vicinity which
was generating compiler warnings.

22 years agoFixes for the Irix compiler, "the worlds best" :-)
curt [Thu, 29 Aug 2002 20:43:19 +0000 (20:43 +0000)]
Fixes for the Irix compiler, "the worlds best" :-)

22 years agoIrix fixes.
curt [Thu, 29 Aug 2002 17:21:42 +0000 (17:21 +0000)]
Irix fixes.

22 years agoSeveral fixes and tweaks.
curt [Thu, 29 Aug 2002 16:00:17 +0000 (16:00 +0000)]
Several fixes and tweaks.

22 years agoFixed an oops.
tony [Thu, 29 Aug 2002 13:39:29 +0000 (13:39 +0000)]
Fixed an oops.

22 years agoAdded FGTurbine.[ch]*
tony [Thu, 29 Aug 2002 13:27:43 +0000 (13:27 +0000)]
Added FGTurbine.[ch]*

22 years agoNew Turbine engine model framework
tony [Thu, 29 Aug 2002 13:26:49 +0000 (13:26 +0000)]
New Turbine engine model framework

22 years agoMake adf volume and adf on/off seperate properties.
curt [Thu, 29 Aug 2002 04:18:55 +0000 (04:18 +0000)]
Make adf volume and adf on/off seperate properties.

22 years agoIgnore files that have -set.xml in them, but don't end in that exact string
curt [Wed, 28 Aug 2002 17:53:52 +0000 (17:53 +0000)]
Ignore files that have -set.xml in them, but don't end in that exact string
(i.e. something-set.xml~)

22 years agoAdd support for a --show-aircraft option. This displays a list of all
curt [Wed, 28 Aug 2002 16:59:40 +0000 (16:59 +0000)]
Add support for a --show-aircraft option.  This displays a list of all
available aircraft and a brief description if one is available.

22 years agoFix a compile error.
curt [Wed, 28 Aug 2002 16:58:57 +0000 (16:58 +0000)]
Fix a compile error.

22 years agoMore fixes to the automake/conf scripts.
curt [Wed, 28 Aug 2002 16:13:06 +0000 (16:13 +0000)]
More fixes to the automake/conf scripts.

22 years agoLatest JSBSim updates.
tony [Wed, 28 Aug 2002 13:46:42 +0000 (13:46 +0000)]
Latest JSBSim updates.

22 years agoMore tweaks to the automake/conf configuration scripts.
curt [Wed, 28 Aug 2002 03:34:31 +0000 (03:34 +0000)]
More tweaks to the automake/conf configuration scripts.

22 years agoModernize the autoconf/automake files.
curt [Tue, 27 Aug 2002 23:52:15 +0000 (23:52 +0000)]
Modernize the autoconf/automake files.

22 years agoStrip dos line endings.
curt [Mon, 26 Aug 2002 22:04:10 +0000 (22:04 +0000)]
Strip dos line endings.

22 years agoMinor tweaks to sound subsystem update rates.
curt [Mon, 26 Aug 2002 20:46:13 +0000 (20:46 +0000)]
Minor tweaks to sound subsystem update rates.

22 years agoRemoved an old test.
curt [Mon, 26 Aug 2002 00:08:14 +0000 (00:08 +0000)]
Removed an old test.

22 years agoErik Hofman:
curt [Sun, 25 Aug 2002 23:27:00 +0000 (23:27 +0000)]
Erik Hofman:

I removed some pending random code and I also fixed a
small cosmetic glitch where dt_play was cleared before it was printed.

Curt: Erik changed the sound update intervale and I further I tweaked it.
The issue is that if we put too much into the sound buffer, then we can't react
quick enough to sounds like tire squeek that need to be synced with the visuals
and the action.  We put too little into the sound buffer and we risk the
audio dropping out for moment if a frame takes longer to draw than the amount
of audio in the buffer.

22 years agoErik Hofman:
curt [Sun, 25 Aug 2002 22:53:38 +0000 (22:53 +0000)]
Erik Hofman:

I cleaned up the XML menu code a fair bit, in preparation to C++-ifying it.

22 years agoErik Hofman:
curt [Sun, 25 Aug 2002 22:38:20 +0000 (22:38 +0000)]
Erik Hofman:

I've modified the code to display a brief help message instead of the
whole bunch of options. To get the complete message -v or --verbose has
to be added to the command line.

22 years agoBernie Bright:
curt [Sun, 25 Aug 2002 20:56:16 +0000 (20:56 +0000)]
Bernie Bright:

Here is a FGIO class derived from FGSubsystem that replaces the fgIOInit()
and fgIOProcess() functions.  The FGIO::update(double delta) doesn't use the
delta argument yet.  I suspect it could be used as a replacement for the
calculated interval value but I'm not familiar enough with that piece of code
just yet.

I've also added two "command properties" to fg_commands.cxx that select the
next or previous view.  Writing any value to these properties triggers the
corresponding action.  As an example I modified my keyboard.xml:

 <key n="118">
  <name>v</name>
  <desc>Next view</desc>
  <binding>
   <command>property-assign</command>
   <property>/command/view/next</property>
   <value type="bool">true</value>
  </binding>
 </key>

 <key n="86">
  <name>V</name>
  <desc>Prev view</desc>
  <binding>
   <command>property-assign</command>
   <property>/command/view/prev</property>
   <value type="bool">true</value>
  </binding>
 </key>

And of course these actions can also be triggered from external scripts via
the props server.

22 years agoTidy up the autoconf/automake configuration a bit.
curt [Sun, 25 Aug 2002 19:40:04 +0000 (19:40 +0000)]
Tidy up the autoconf/automake configuration a bit.

- Removed some old cruft.

- Removed some support for older versions of automake which technically was
  correct, but caused the newer automakes to squawk warnings during an
  initial sanity check (which isn't done very intelligently.)

  NOTE: this fix is technically not correct for older version of automake.
  These older version use the variable "INCLUDES" internally and could have
  them already set to an important value.  That is why we were appending
  our values to them.  However, newer versions of automake don't set this
  value themselves so it is an error to append to a non-existant variable.
  We seem to "get away" with overwriting the value on older versions of
  automake, but if you have problems, consider upgrading to at least
  automake-1.5.

22 years agoIt probably is better not to hide warning messages. Removed spaces from
curt [Sat, 24 Aug 2002 20:23:59 +0000 (20:23 +0000)]
It probably is better not to hide warning messages.  Removed spaces from
AC_DEFINE( SYMBOL ) -> AC_DEFINE(SYMBOL)

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.