]> git.mxchange.org Git - flightgear.git/log
flightgear.git
15 years agoFurther work (still not enabled) on a fast + correct implementation of the
jmt [Sat, 27 Dec 2008 10:08:12 +0000 (10:08 +0000)]
Further work (still not enabled) on a fast + correct implementation of the
airportList search function. At least for me (with a mutex-based SGAtomic),
large vectors of referenced-pointers is a Bad Thing - copying on vector
resize is thrashing the locks.

15 years agoFix up environment code for threading-enabled case, d'oh.
jmt [Fri, 26 Dec 2008 15:33:38 +0000 (15:33 +0000)]
Fix up environment code for threading-enabled case, d'oh.

15 years agoAnother clean-up iteration: FGAirportList::search is gone, replaced by two
jmt [Fri, 26 Dec 2008 15:26:42 +0000 (15:26 +0000)]
Another clean-up iteration: FGAirportList::search is gone, replaced by two
static FGAirport helpers. As a result, another global index goes away. Use
the helpers to avoid ugly FGPositioned down-casts in various places.

Also converts the environment/METAR code to deal with FGAirport pointers,
instead of string identifiers, and contains work-in-progress code to implement
the AirportList dialog using FGPositioned. This isn't enabled yet for various
reasons, but is the final piece to allow FGAirportList to be removed.

15 years agoFix more test/util linkage for sgmath depending on sgstructure.
jmt [Fri, 26 Dec 2008 12:38:32 +0000 (12:38 +0000)]
Fix more test/util linkage for sgmath depending on sgstructure.

15 years agoKill off many Point3D includes, and a couple of uses in the HUD code.
jmt [Fri, 26 Dec 2008 12:28:05 +0000 (12:28 +0000)]
Kill off many Point3D includes, and a couple of uses in the HUD code.
Requires a SimGear update to get some new SGGeodesy helpers.

15 years agoClean out FGAirportList - not quite obsolete yet, but the spatial queries are
jmt [Fri, 26 Dec 2008 11:15:00 +0000 (11:15 +0000)]
Clean out FGAirportList - not quite obsolete yet, but the spatial queries are
gone. This is good news, since the old query was implemented as a linear
search, sorted by Manhattan distance, and with a warning not to use the logic
at runtime. Various systems (such as the Mk-VIII) do query such data often,
eg every second.

Also gets Point3D out of Airports/simple.hxx, as a precursor to removing it
completely.

15 years agoRemove all name and spatial queries from FGNavList. All remaining queries are
jmt [Thu, 25 Dec 2008 23:11:43 +0000 (23:11 +0000)]
Remove all name and spatial queries from FGNavList. All remaining queries are
by frequency (which makes sense), and use the FGPositioned spatial data if
required. As a result, the marker beacon list is gone (since beacons are only
searched spatially). In the process, clean up various minor things - most
notably, all the 'airport-related' navaids (ILS, GS, LOC, and the beacons) now
store a FGRunway* instead of an airport id string. This is more precise, and
saves string allocations.

15 years agoFinish conversion of FGRunway to a real class - all public members are gone.
jmt [Wed, 24 Dec 2008 15:45:35 +0000 (15:45 +0000)]
Finish conversion of FGRunway to a real class - all public members are gone.

15 years agoFGPositioned clean-ups - apply some desirable changes (such as making members
jmt [Wed, 24 Dec 2008 14:48:30 +0000 (14:48 +0000)]
FGPositioned clean-ups - apply some desirable changes (such as making members
const) which were previously tricky but now easy. Make it possible not to
index certain types (used for taxiways) and exclude anonymous items from
the name index. Related to this, clean up FGRunway further - remove some public
members, and fix a dumb bug of mine, where we create reciprocal entries for
taxiways.

This should make startup (slightly) quicker, and shrinks FGRunway somewhat.

15 years agoRemove the FGIdentOrdering cruft from FGAirport; now handled by FGPositioned.
jmt [Wed, 24 Dec 2008 04:58:36 +0000 (04:58 +0000)]
Remove the FGIdentOrdering cruft from FGAirport; now handled by FGPositioned.

15 years agoConvert the only remaining user of FGFixList to use an FGPositioned query,
jmt [Tue, 23 Dec 2008 14:41:58 +0000 (14:41 +0000)]
Convert the only remaining user of FGFixList to use an FGPositioned query,
and hence remove the query code from fix-list. The only remaining code deals
with parsing fix.dat.

15 years ago(first commit, partly a low-risk thing to sanity check my setup)
jmt [Tue, 23 Dec 2008 12:37:59 +0000 (12:37 +0000)]
(first commit, partly a low-risk thing to sanity check my setup)
Add a helper predicate to FGAirport to encapsulate the common 'does this
airport have a suitable runway of at least xxxx ft?' query. Also add a
FGPositioned filter built on the predicate, and a 'closest airport' helper.

15 years agoStuart BUCHANAN: fix METAR cloud interpolation
mfranz [Sun, 21 Dec 2008 15:52:29 +0000 (15:52 +0000)]
Stuart BUCHANAN: fix METAR cloud interpolation

"I've managed to fix this by differentiating rebuilding the 3D layers
(e.g. due to METAR updates) from rebuilding the entire environment (due to a
change in scenario)."

15 years agoDon't try to fetch tiles when lat or lon are invalid
fredb [Sun, 21 Dec 2008 09:29:33 +0000 (09:29 +0000)]
Don't try to fetch tiles when lat or lon are invalid

15 years agorevert to using a cached list of aircraft -- scanning the Aircraft/
mfranz [Sat, 20 Dec 2008 23:24:50 +0000 (23:24 +0000)]
revert to using a cached list of aircraft -- scanning the Aircraft/
dirs is only fast enough with hot file-cache, but a bit too painful
otherwise. Updating the aircraft.list is now easier, though: Just
type   $ fgfs --aircraft=?<TAB>

15 years agoFix path
fredb [Sat, 20 Dec 2008 15:41:45 +0000 (15:41 +0000)]
Fix path

15 years agoPackaging for the 1.9.0 release
fredb [Sat, 20 Dec 2008 15:15:30 +0000 (15:15 +0000)]
Packaging for the 1.9.0 release

15 years agobetter instructions
mfranz [Sat, 20 Dec 2008 12:50:03 +0000 (12:50 +0000)]
better instructions

15 years agoviewer position: tie variables directly, rather than getter functions
mfranz [Sat, 20 Dec 2008 12:49:37 +0000 (12:49 +0000)]
viewer position: tie variables directly, rather than getter functions

15 years agolive-compile aircraft list, instead of requiring to build it
mfranz [Sat, 20 Dec 2008 10:32:42 +0000 (10:32 +0000)]
live-compile aircraft list, instead of requiring to build it
regularly. That's fast enough.

15 years agoDocumentation update: Openal & OSG.
durk [Sat, 20 Dec 2008 09:12:31 +0000 (09:12 +0000)]
Documentation update: Openal & OSG.

15 years agoStuart : The attached patch
fredb [Fri, 19 Dec 2008 23:11:58 +0000 (23:11 +0000)]
Stuart : The attached patch
reverts one of my changes which ensured that the 3D clouds were updated with
METAR. Unfortunately this had the side-effect of over-writing the environment
properties, and therefore nuking the interpolation work.

15 years agoAttempt to sort out the version number mess in preparation for the v1.9.0
curt [Fri, 19 Dec 2008 20:41:57 +0000 (20:41 +0000)]
Attempt to sort out the version number mess in preparation for the v1.9.0
release.

15 years agomark file names (for post-processing)
mfranz [Fri, 19 Dec 2008 13:38:25 +0000 (13:38 +0000)]
mark file names (for post-processing)

15 years agoexport absolute viewer coordinates
mfranz [Fri, 19 Dec 2008 13:37:54 +0000 (13:37 +0000)]
export absolute viewer coordinates

15 years agoStuart Buchanan :
fredb [Fri, 19 Dec 2008 07:42:13 +0000 (07:42 +0000)]
Stuart Buchanan :

Attached is yet another 3D clouds patch, to fix the following:
1) The 3D clouds were not modified by the cloud coverage, due to some problems with osg::Switch
2) METAR changes to cloud coverage were not obeyed.
3) Making changes via the Cloud dialog had no effect unless 3D clouds were toggled.
4) Cloud cover was too sparse.
5) 3D Stratus clouds caused performance issues on some hardware (fixed by removing 3D stratus from cloudlayers.xml - it will now be a 2D layer).

15 years agoCsaba/"Jester" and /me: since a few weeks the property browser had
mfranz [Thu, 18 Dec 2008 20:18:50 +0000 (20:18 +0000)]
Csaba/"Jester" and /me: since a few weeks the property browser had
displayed garbage in the title line if one left a directory. Jester
spent a lot of time finding the cause: a bug that must have been
there since ... forever: fgfs reported to PUI the string addresses
as returned by SGPropertyNode::getStringValue() without considering
that this address isn't valid after the next write access to that
node! It's almost a miracle that it worked so well for so long,
despite that issue. (I also used to opportunity for some more
cleanup -- so I'm to blame for any newly introduced bugs, and
also for reverting some of Jester's cleanups. :-)

15 years agonow that /environment/weather-scenario is respected at startup, we
mfranz [Thu, 18 Dec 2008 13:08:44 +0000 (13:08 +0000)]
now that /environment/weather-scenario is respected at startup, we
actually have to set it to get live weather.
--enable-real-weather-fetch shall imply weather-sceneario=METAR.

15 years agosegfault--
mfranz [Thu, 18 Dec 2008 11:49:33 +0000 (11:49 +0000)]
segfault--

15 years agoJames Turner : in the 'tower' view, where the tower position is explicitly given...
fredb [Thu, 18 Dec 2008 06:52:51 +0000 (06:52 +0000)]
James Turner : in  the 'tower' view, where the tower position is explicitly given in apt.dat (most of the larger airports), I was incorrectly treating the tower elevation as ASL, when it's AGL.

15 years agoStuart BUCHANAN:
mfranz [Wed, 17 Dec 2008 19:51:18 +0000 (19:51 +0000)]
Stuart BUCHANAN:

"fixes the issue reported by Martin where
--prop:/environment/weather-scenario=METAR had no effect"

15 years agoStuart :
fredb [Sun, 14 Dec 2008 18:48:00 +0000 (18:48 +0000)]
Stuart :
the 3D clouds now respect changes to the environment caused by updated METAR etc.

It also increases the AlphaFunc as suggested by Tim.

15 years agoinclude png and xcf files by default
mfranz [Sat, 13 Dec 2008 20:17:02 +0000 (20:17 +0000)]
include png and xcf files by default

15 years agoCsaba/Jester : fix an incorrect string comparison in metar
fredb [Sat, 13 Dec 2008 06:08:22 +0000 (06:08 +0000)]
Csaba/Jester : fix an incorrect string comparison in metar

15 years agoReally catch sound exceptions, and avoid exiting on this kind of error :
fredb [Fri, 12 Dec 2008 07:35:39 +0000 (07:35 +0000)]
Really catch sound exceptions, and avoid exiting on this kind of error :
OpenAL error (AL_INVALID_VALUE): constructor (alBufferData)
Failed to buffer data.

15 years agoStuart :
fredb [Thu, 11 Dec 2008 08:24:58 +0000 (08:24 +0000)]
Stuart :
- Removes the cloud type re-use code - I think they aren't worth the graphical artefacts that they cause in light of Tim's improvements
- Changes the transparency of the clouds. Previously, the clouds were transparent at 0m distance, opaque at 200m, then gradually more transparent to the fog limits. This meant they were generally quite transparent. Now, they are opaque from 200m to 15km, then become transparent at 20km. A side effect of this is that the current textures could probably benefit from being made slightly transparent to improve the blending of the sprites against each other.

15 years agoUpdate to -rc2
fredb [Thu, 11 Dec 2008 08:18:50 +0000 (08:18 +0000)]
Update to -rc2

15 years agoSome final adjustments:
durk [Wed, 10 Dec 2008 18:41:34 +0000 (18:41 +0000)]
Some final adjustments:
 - Remove Concorde, as announced
 - Add a missing directory to utils/Makefile.am, which caused an autoconf
   error.

15 years agoFinalizing the preparation of fgfs-2.99.5-rc2.
durk [Wed, 10 Dec 2008 18:19:52 +0000 (18:19 +0000)]
Finalizing the preparation of fgfs-2.99.5-rc2.

15 years ago*** empty log message ***
durk [Wed, 10 Dec 2008 16:04:50 +0000 (16:04 +0000)]
*** empty log message ***

15 years agoMinimize impact of distant AI models on the scene graph.
durk [Wed, 10 Dec 2008 16:04:10 +0000 (16:04 +0000)]
Minimize impact of distant AI models on the scene graph.

15 years agofix some backslashes in include file names
timoore [Tue, 9 Dec 2008 14:34:30 +0000 (14:34 +0000)]
fix some backslashes in include file names

15 years agoJames Turner :
fredb [Tue, 9 Dec 2008 08:10:33 +0000 (08:10 +0000)]
James Turner :
Here's a patch which refactors the 'plain' GPS code into a slightly
more manageable structure - i.e breaks the large update() method into
various sub-functions. I've tested the patch with B1900d, and things
seem to work as expected, but if anyone experiences GPS weirdness
after this is committed, of course please report it.

The motivation for this was helping me learn the code - I've planning
some changes in this area, and splitting up the logic will hopefully
make that task easier.

15 years agoJames Turner : this patch
fredb [Tue, 9 Dec 2008 07:58:46 +0000 (07:58 +0000)]
James Turner : this patch
- updates how filtering is done on the various FGPositioned query functions - both spatial and ident-based.
- updates the KLN-89b / DCLGPS code to use FGPositioned for all Navaid/Airport queries.

me:
Add few include directives in globals.cxx to avoid such MSVC warning messages :
deletion of pointer to incomplete type 'FGAirportList'; no destructor called
deletion of pointer to incomplete type 'FGNavList'; no destructor called
deletion of pointer to incomplete type 'FGTACANList'; no destructor called
deletion of pointer to incomplete type 'FGFixList'; no destructor called

15 years agoAnders GIDENSTAM: "Do not leak uninitialized values to the rest
mfranz [Sun, 7 Dec 2008 19:47:48 +0000 (19:47 +0000)]
Anders GIDENSTAM: "Do not leak uninitialized values to the rest
of the computation."  (forward port from jsbsim/cvs)

15 years agoDoc folder moved
fredb [Sun, 7 Dec 2008 09:42:43 +0000 (09:42 +0000)]
Doc folder moved

15 years agoPrepare packaging for the release
fredb [Sun, 7 Dec 2008 09:13:12 +0000 (09:13 +0000)]
Prepare packaging for the release

15 years agoslightly more efficient iterator handling
mfranz [Sun, 7 Dec 2008 08:19:54 +0000 (08:19 +0000)]
slightly more efficient iterator handling

15 years agoStuart Buchanan :
fredb [Sat, 6 Dec 2008 23:03:12 +0000 (23:03 +0000)]
Stuart Buchanan :
- Replaces simple shader attributes with vectors (this was missed out of the last patch by mistake)
- Includes Yon's Fog update code (Thanks!)
- Fixes a bug since 1.0 where --enable-real-weather-fetch stopped the other weather scenarios from working.

15 years agoFix apparently ancient typo.
andy [Fri, 5 Dec 2008 17:33:57 +0000 (17:33 +0000)]
Fix apparently ancient typo.

15 years agoCsaba "Jester" HALASZ: segfault--
mfranz [Fri, 5 Dec 2008 16:47:11 +0000 (16:47 +0000)]
Csaba "Jester" HALASZ: segfault--

15 years agoThis provides the following enhancements & bug fixes
fredb [Thu, 4 Dec 2008 20:56:40 +0000 (20:56 +0000)]
This provides the following enhancements & bug fixes
- Fix the chequer-board bug.
- Add proper cloud coverage function - so scattered clouds are now truly scattered.
- Add real-time control for visibility range.
- Use a limited set of clouds rather than generating a completely new Geode for each cloud. This saves sorting and display time.
- Add controls to Rendering dialog to allow fine-tuning of the number of sprites, cloud visibility and the number of different types of cloud.
- Add some variance to the sort back-off to avoid all clouds being sorted at the same time.
- Pack attributes into vectors for performance
- Re-order the cloud type determination code so that if a cloud layer could either be stratus or cumulus, cumulus is used.
- Lowered the cloud level in the standard cloud configuration slightly so a cumulus layer is generated rather than stratus.

These last two mean that you should see some 3D cumuli if disabling real weather fetch.

My thanks to Yon Uriarte for his help with performance work.

15 years agoAllow negative thrust. This allows a single recoil or vibration
mfranz [Thu, 4 Dec 2008 18:47:49 +0000 (18:47 +0000)]
Allow negative thrust. This allows a single recoil or vibration
thruster to accelerate in both directions. THROTTLE input still
clamps to 0/1 by default.  (OK'ed by Andy)

15 years agoJames Turner :
fredb [Thu, 4 Dec 2008 08:29:36 +0000 (08:29 +0000)]
James Turner :

  - a refactoring of the route manager to reduce indentation and duplication
- created a helper method to generate the ETA strings
- created a helper to update target_altitude and altitude_set when the active wp0 changes
- used early returns to make update() easier to follow
- removed spurious includes in both header and source file

15 years agoJames Turner : a trivial patch to remove a now obsolete default ctor from FGPositioned
fredb [Thu, 4 Dec 2008 08:15:36 +0000 (08:15 +0000)]
James Turner : a trivial patch to remove a now obsolete default ctor from  FGPositioned

15 years agoshow verbose mode (see $FG_ROOT/Docs/README.gui -> property-list)
mfranz [Wed, 3 Dec 2008 20:18:15 +0000 (20:18 +0000)]
show verbose mode  (see $FG_ROOT/Docs/README.gui -> property-list)

15 years agoJames Turner:
fredb [Wed, 3 Dec 2008 20:03:46 +0000 (20:03 +0000)]
James Turner:

Attached patch updates the route-manager to use FGPositioned to search
for waypoints, instead of a manual airport / fix / navaid search. This
is good because it's now using the 'strictly closest' match, rather
than arbitrarily picking a distant fix over a nearby navaid. In my
case, the TLA VOR is significant to several EGPH procedures, but also
happens to be the ident of a fix a long, long way away.

Also updates the FGPositioned class to stop using Point3D, partly
because it's deprecated and partly because I had misunderstood the
interface and was using it wrong. For now, all FGPositioned distance
checks use SGGeodesy::inverse, which is accurate but inefficient. Once
FGPositioned queries are used for something on a hot path, I'll
probably store the cartesian position as well as the geodetic, to make
these checks fast.

15 years agoAdd propmerge to the subdirs list so it can get included with make dist (it
curt [Wed, 3 Dec 2008 14:54:17 +0000 (14:54 +0000)]
Add propmerge to the subdirs list so it can get included with make dist (it
is referenced from the configure.ac file.)

15 years agoLoosen the check for stationary versus moving view point. I some cases when
curt [Mon, 1 Dec 2008 16:13:12 +0000 (16:13 +0000)]
Loosen the check for stationary versus moving view point.  I some cases when
the view has an "offset" location, the actual location of a "stationary" view
point moves a small amount as the view direction rotates.

15 years agoBrian Schack:
curt [Mon, 1 Dec 2008 13:58:04 +0000 (13:58 +0000)]
Brian Schack:

Right now, atlas.cxx uses the following code, in
FGAtlas::gen_message(), to retrieve the ADF frequency:

static SGPropertyNode *adf_freq =
    fgGetNode("/instrumentation/kr-87/outputs/selected-khz", true);

I think it should be changed to:

static SGPropertyNode *adf_freq =
    fgGetNode("/instrumentation/adf/frequencies/selected-khz", true);

15 years agoSync. with JSBSim CVS
ehofman [Sun, 30 Nov 2008 10:44:29 +0000 (10:44 +0000)]
Sync. with JSBSim CVS

15 years agoadd _getAliasTarget(): this dereferences an alias, allowing to refer
mfranz [Wed, 26 Nov 2008 11:34:35 +0000 (11:34 +0000)]
add _getAliasTarget(): this dereferences an alias, allowing to refer
to the target node's children and attributes etc., which aren't
inherited by an alias.

15 years agoMake computeIntersections work with the near and far cameras
timoore [Wed, 26 Nov 2008 09:02:48 +0000 (09:02 +0000)]
Make computeIntersections work with the near and far cameras

15 years agoRestore camera properties on reInit
timoore [Tue, 25 Nov 2008 22:50:20 +0000 (22:50 +0000)]
Restore camera properties on reInit

From Tatsuhiro Nishioka

15 years agoExpose precipitation property
timoore [Tue, 25 Nov 2008 22:50:04 +0000 (22:50 +0000)]
Expose precipitation property

from Vivian Meazza

15 years agomsg
timoore [Tue, 25 Nov 2008 22:49:19 +0000 (22:49 +0000)]
msg

15 years ago- Don't consider modifiers in axis bindings, as this means to
mfranz [Tue, 25 Nov 2008 14:32:39 +0000 (14:32 +0000)]
- Don't consider modifiers in axis bindings, as this means to
  temporarily lose control over the aircraft while pressing a
  modifier for a button.
- cosmetics: remove trailing spaces and commented out debug messages

15 years agoEnable <mod-{shift,ctrl,alt,meta,super,hyper}> support for joystick
mfranz [Mon, 24 Nov 2008 17:16:38 +0000 (17:16 +0000)]
Enable <mod-{shift,ctrl,alt,meta,super,hyper}> support for joystick
bindings. Only <mod-up> was supported before.

15 years agoUpdate MSVC 7.1 projects. Add Boost
fredb [Sat, 22 Nov 2008 11:26:57 +0000 (11:26 +0000)]
Update MSVC 7.1 projects. Add Boost

15 years agoFix some viewport problems on startup
timoore [Fri, 21 Nov 2008 23:11:27 +0000 (23:11 +0000)]
Fix some viewport problems on startup

From Csaba Halász

15 years agoUse simgear clone function instead of OSG's.
timoore [Fri, 21 Nov 2008 14:53:37 +0000 (14:53 +0000)]
Use simgear clone function instead of OSG's.

This should remove a dependency on an unreleased version of OSG (2.7.3).

15 years agoAdd autoconf macro and better variable handling for Boost.
timoore [Fri, 21 Nov 2008 12:57:01 +0000 (12:57 +0000)]
Add autoconf macro and better variable handling for Boost.

The Boost test macro comes from the Autoconf Archive.

15 years agoadd props.Node.{initNode,alias,unalias}
mfranz [Thu, 20 Nov 2008 20:11:46 +0000 (20:11 +0000)]
add props.Node.{initNode,alias,unalias}

15 years agoDon't call idle and draw functions from FGEventHandler::handle.
timoore [Thu, 20 Nov 2008 11:01:05 +0000 (11:01 +0000)]
Don't call idle and draw functions from FGEventHandler::handle.

These functions are now called in fgOSMainLoop. The fgMainLoop
function was being called twice, which resulted in a slow-down, but
also caused the displayed frame rate to double!

15 years agoUpdate osg::Camera's viewport when it is created.
timoore [Wed, 19 Nov 2008 22:55:42 +0000 (22:55 +0000)]
Update osg::Camera's viewport when it is created.

This fixes a problem where /sim/startup/[xy]size were not set properly
because the GUI camera's viewport was not correct at startup.

15 years agoadd "add-model" command, which adds model properties to the first
mfranz [Wed, 19 Nov 2008 15:59:54 +0000 (15:59 +0000)]
add "add-model" command, which adds model properties to the first
free /models/model[*] slot and lets the model manager load the
model. The target address is returned under "property". Simple
use in Nasal:

  fgcommand("add-model", props.Node.new({
          "path": "Models/Fauna/cow.ac",
          "latitude-deg": 16.234,
          "longitude-deg": 48.321,
          "elevation-ft": 300,
  });

An "elevation-m" property can alternatively be used and overrides
the "elevation-ft" property.

Each of the properties "latitude-deg", "longitude-deg", "elevation-ft",
"heading-deg", "pitch-deg", and "roll-deg" can alternatively be used
with "-prop" suffix. Their values must then be property path strings
pointing to a node that can be changed at runtime to move the model.

15 years agoUpdate the model manager after the event manager, so that model
mfranz [Wed, 19 Nov 2008 07:46:10 +0000 (07:46 +0000)]
Update the model manager after the event manager, so that model
coordinates that were set relative to the aircraft's position
are picked up before the view update rather than the next cycle.
This avoids ugly fluttering of "passengers" at higher speed.

15 years agocompile
mfranz [Wed, 19 Nov 2008 01:09:29 +0000 (01:09 +0000)]
compile

15 years agoUpdate the camera properties after a resize event.
timoore [Tue, 18 Nov 2008 22:46:19 +0000 (22:46 +0000)]
Update the camera properties after a resize event.

15 years agoCleanup of camera code in preperation for shadows
timoore [Tue, 18 Nov 2008 22:45:57 +0000 (22:45 +0000)]
Cleanup of camera code in preperation for shadows
Partition depth in CameraGroup:
Remove the ViewPartionNode scenegraph node. The split rendering of the
scene, done to avoid Z buffer precision problems, is now done by two
slave cameras of the viewer.

Rename FGManipulator to FGEventHandler.

Remove virtual member functions that aren't required for event handlers.

Begin using camera group properties to update cameras at runtime;
Initially only the viewport properties are used.

When no camera group is found in the property tree (the default),
create the properties for one. Expose the default window by name.

Add a test for Boost headers to configure.ac. Boost is now a
dependency.

Remove GLUT and SDL versions of the OSG graphics.

15 years agoComment out an unused non compilable function
fredb [Sun, 16 Nov 2008 14:17:52 +0000 (14:17 +0000)]
Comment out an unused non compilable function

15 years agoTraffic Manager II source code changes
durk [Sun, 16 Nov 2008 13:45:24 +0000 (13:45 +0000)]
Traffic Manager II source code changes
- Decouple aircraft entities from Flights
- Dynamic runtime flight assignment for each aircraft

15 years agoBetter support for multiple startup messages.
durk [Sun, 16 Nov 2008 13:43:44 +0000 (13:43 +0000)]
Better support for multiple startup messages.

15 years agoChanges to the AIModel code, to prepare for the new traffic manager code:
durk [Sun, 16 Nov 2008 13:41:24 +0000 (13:41 +0000)]
Changes to the AIModel code, to prepare for the new traffic manager code:
- Leg loading can fail when no additional flights are available
- Better support for waypoint interception during pushback (speed ~ 0)

15 years agof_alias: catch SGPropertyNode exceptions and generate runtime error
mfranz [Thu, 13 Nov 2008 23:47:45 +0000 (23:47 +0000)]
f_alias: catch SGPropertyNode exceptions and generate runtime error

15 years agoadd some more generic multiplay properties (now 20 of each type; was 10)
mfranz [Wed, 12 Nov 2008 14:53:03 +0000 (14:53 +0000)]
add some more generic multiplay properties (now 20 of each type; was 10)

15 years agopositive error return values, variable name change
mfranz [Wed, 12 Nov 2008 14:41:01 +0000 (14:41 +0000)]
positive error return values, variable name change

15 years agoadd alias() and unalias() functions
mfranz [Wed, 12 Nov 2008 14:39:08 +0000 (14:39 +0000)]
add alias() and unalias() functions

15 years agoenable SG_LOG output
mfranz [Tue, 11 Nov 2008 22:09:56 +0000 (22:09 +0000)]
enable SG_LOG output

15 years agoMaster reference gyro changes from Vivian Meazza.
timoore [Tue, 11 Nov 2008 21:20:02 +0000 (21:20 +0000)]
Master reference gyro changes from Vivian Meazza.

15 years agoadd propmerge utility, which merges <PropertyList> XML files. Writes
mfranz [Tue, 11 Nov 2008 18:51:01 +0000 (18:51 +0000)]
add propmerge utility, which merges <PropertyList> XML files. Writes
result to the given output file if specified, or prints it to stdout
otherwise. Usage:

  $ propmerge [-o <outfile>] <list-of-infiles>

15 years agoadd propmerge utility, which merges <PropertyList> XML files. Writes
mfranz [Tue, 11 Nov 2008 18:36:16 +0000 (18:36 +0000)]
add propmerge utility, which merges <PropertyList> XML files. Writes
result to the given output file if specified, or prints it to stdout
otherwise. Usage:

  $ propmerge [-o <outfile>] <list-of-infiles>

15 years agofix typo in warning message
mfranz [Tue, 11 Nov 2008 18:26:50 +0000 (18:26 +0000)]
fix typo in warning message

15 years agoIncremental improvement of openal sound velocities. This should help
curt [Mon, 10 Nov 2008 15:59:14 +0000 (15:59 +0000)]
Incremental improvement of openal sound velocities.  This should help
stabilize some of the odd artifacts we were hearing, that were especially
noticable in clean sound samples like the stall horn or the marker beacon
codes.  The change still preserves the doppler effect and maintains the
good work of a previous developer figuring out how to align the model and
listener velocity vectors correctly.

15 years agoFGRotor needs to be added to the Makefile.am so it is (a) compiled and
curt [Sat, 8 Nov 2008 01:13:51 +0000 (01:13 +0000)]
FGRotor needs to be added to the Makefile.am so it is (a) compiled and
(b) included in the result of "make dist".

15 years agoStuart Buchanan :
fredb [Thu, 6 Nov 2008 21:58:50 +0000 (21:58 +0000)]
Stuart Buchanan :
It fixes the following issues (to a greater or lesser extent):
1) Performance. Quad trees used to improve culling, and the sprites are placed on the surface of a sphere rather than
randomly throughout the cloud, requiring fewer textures. This saves about 5-10fps on my machine.
2) Disabled 3D clouds have no performance impact. Previously they were still in the scenegraph. Now they are removed.
3) Clouds are now loaded on start-up, and don't require the scenario to be changed, they also work with METAR.
4) The cloud field is shifted as you travel. There's a small bug in that the clouds "jump" as you reach the edge of the field.
5) Iterative sorting of sprites. This doesn't appear to solve the alpha blending problem completely, but may help a bit.

15 years agoFix refcounting bug in f_removeChild(). Use a smart pointer to handle
andy [Mon, 3 Nov 2008 23:50:33 +0000 (23:50 +0000)]
Fix refcounting bug in f_removeChild().  Use a smart pointer to handle
the case where the removed child has no other referants, otherwise it
will be deleted on function exit.  Also give the ghost type a name for
cleaner debugging.

15 years agoPatch from Nicolas Vivien : don't pour rain above cloud layers, turn rain into snow...
fredb [Sun, 2 Nov 2008 09:45:31 +0000 (09:45 +0000)]
Patch from Nicolas Vivien : don't pour rain above cloud layers, turn rain into snow when temperature is below 0°C

15 years agoFix a bug where the search() function was not being called if power was false
curt [Thu, 30 Oct 2008 20:42:21 +0000 (20:42 +0000)]
Fix a bug where the search() function was not being called if power was false
or the unit was not serviceable.  This search() routine needs to run every
iteration no matter what the power or serviceable state.  If power is turned
off or the unit becomes unserviceable while a beacon sound is playing, the
search() routine still needs to be called so the sound effect can be properly
disabled.

15 years agoTidy up for a source code "snapshot" release.
curt [Thu, 30 Oct 2008 18:35:44 +0000 (18:35 +0000)]
Tidy up for a source code "snapshot" release.