]> git.mxchange.org Git - flightgear.git/log
flightgear.git
16 years agochange update order to fdm -> events -> viewmanager
mfranz [Tue, 6 Nov 2007 12:01:29 +0000 (12:01 +0000)]
change update order to fdm -> events -> viewmanager
This removes some jitter in cases where Nasal is used to set up view
parameters from FDM data, such as position and orientation. (The event
subsystem handles Nasal's settimer() calls.)

16 years agorevert swapping of x & y offsets in "lookat" mode
mfranz [Mon, 5 Nov 2007 22:19:39 +0000 (22:19 +0000)]
revert swapping of x & y offsets in "lookat" mode
This was correct in the old repository and in revision 1.1 of the new,
but then broken in revision 1.2. After that, "lookat" and "lookfrom"
mode used different coordinate systems, and the "Adjust View Distance"
didn't work correctly in "lookat" mode.

16 years agoCsaba HALASZ: fix IVSI instrument problem
mfranz [Sat, 3 Nov 2007 21:02:28 +0000 (21:02 +0000)]
Csaba HALASZ: fix IVSI instrument problem

"I have been investigating the Concorde IVSI problem. I came to the
conclusion that the trouble is that the environment altitude and thus
the pressure (which is calculated from that) is lagging by 1 frame.
Normally that wouldn't be a problem, but the IVSI calculates rate of
change and it will use the new dt with the old value difference,
thereby arriving at bad results if dt changes (and it does)."

16 years agosorting nodes -> don't use shared pointer
mfranz [Sat, 3 Nov 2007 17:04:04 +0000 (17:04 +0000)]
sorting nodes -> don't use shared pointer

16 years agoAdd a --vehicle= option which is a synonym for --aircraft= but is more
curt [Fri, 2 Nov 2007 18:39:10 +0000 (18:39 +0000)]
Add a --vehicle= option which is a synonym for --aircraft= but is more
natural when selecting ground vehicles like a jeep or a snowplow.

16 years agosort entries alphabetically (consistent with property browser)
mfranz [Sat, 27 Oct 2007 21:28:56 +0000 (21:28 +0000)]
sort entries alphabetically (consistent with property browser)

16 years agotry to fix yet another crash bug (don't worry, there's one for anybody!)
mfranz [Sat, 27 Oct 2007 19:16:39 +0000 (19:16 +0000)]
try to fix yet another crash bug (don't worry, there's one for anybody!)

16 years agore-active commented out "delete". Doesn't seem to crash anymore.
mfranz [Sat, 27 Oct 2007 19:13:42 +0000 (19:13 +0000)]
re-active commented out "delete". Doesn't seem to crash anymore.

16 years agounescape \a and \b as well
mfranz [Sat, 27 Oct 2007 17:25:39 +0000 (17:25 +0000)]
unescape \a and \b as well

16 years agomake sure snprintf() buffer is terminated
mfranz [Sat, 27 Oct 2007 17:16:00 +0000 (17:16 +0000)]
make sure snprintf() buffer is terminated

16 years agoFix memory leak introduced when we stopped using _context for script
andy [Wed, 24 Oct 2007 18:07:02 +0000 (18:07 +0000)]
Fix memory leak introduced when we stopped using _context for script
invocations, but left it in place for miscellaneous allocation work.
Contexts cache allocated objects in a temps vector and only clear it
out when they are used.

Also, fix a type warning while I'm in there.

16 years agodon't initialize iterator twice
mfranz [Mon, 22 Oct 2007 17:28:08 +0000 (17:28 +0000)]
don't initialize iterator twice

16 years agofix license (Public Domain)
mfranz [Mon, 22 Oct 2007 16:58:46 +0000 (16:58 +0000)]
fix license (Public Domain)

16 years agogetAttribute(): s/refcount/references/
mfranz [Sun, 21 Oct 2007 20:19:12 +0000 (20:19 +0000)]
getAttribute():  s/refcount/references/

16 years agoUse SGSharedPointer instead of the ssgSharedPointer from the plib branch.
durk [Sat, 20 Oct 2007 18:28:22 +0000 (18:28 +0000)]
Use SGSharedPointer instead of the ssgSharedPointer from the plib branch.

16 years agomake node.getAttribute("refcount") return the SGSharedPtr's refcount
mfranz [Sat, 20 Oct 2007 17:16:43 +0000 (17:16 +0000)]
make node.getAttribute("refcount") return the SGSharedPtr's refcount
(meant for debugging purposes)

16 years agoMiscellaneous tweaks and Bugfixes. Mostly memory leaks ported from the plib
durk [Sat, 20 Oct 2007 08:36:21 +0000 (08:36 +0000)]
Miscellaneous tweaks and Bugfixes. Mostly memory leaks ported from the plib
version
* Delete ai list objects in ~ATC/AIMgr.cxx:AIMgr::~AIMgr()
* Delete colors in GUI/new_gui.cxx: NewGui::~NewGui.cxx
* Delete memory allocated to the class member "route" in
  Instrumentation/gps.cxx
* Delete all globals (except a few "unsafe" ones that still cause segfaults
  and need further examination.
* Use an SGShared pointer for navaid memory allocation, so that pointers to
  individual navaid objects can be included safely in multiple navaid lists

16 years ago- airportinfo(): don't bark when no airport was found (K. HOERCHER)
mfranz [Thu, 18 Oct 2007 11:43:38 +0000 (11:43 +0000)]
- airportinfo(): don't bark when no airport was found  (K. HOERCHER)
- simplify listener purging and fix removelistener() return value for
  one-shot listeners
- listener: inherit virtualness
- s/handler/code/ in listener code to be consistent with NasalSys::call

16 years ago- listener: re-order and change callback function args; simplify code
mfranz [Tue, 16 Oct 2007 15:15:41 +0000 (15:15 +0000)]
- listener: re-order and change callback function args; simplify code
- make code look like Andy wrote it (so people know whom to blame :-)
- nasal-props.cxx: warning--

16 years ago- use refcounted node pointers, so that no subsystem (nasal!) can invalidate them
mfranz [Tue, 16 Oct 2007 15:01:19 +0000 (15:01 +0000)]
- use refcounted node pointers, so that no subsystem (nasal!) can invalidate them
- add frame signal for debugging purposes

16 years agogive FDMs one update cycle time before setting the fdm-initialized signal
mfranz [Tue, 16 Oct 2007 07:55:43 +0000 (07:55 +0000)]
give FDMs one update cycle time before setting the fdm-initialized signal
(YASim needs that to fully initialize the landing gear)

16 years ago(depreciated) cmdarg() should return _node, not parent
mfranz [Mon, 15 Oct 2007 19:12:03 +0000 (19:12 +0000)]
(depreciated) cmdarg() should return _node, not parent

16 years ago- add argc/argv arguments to FGNasalSys::call
mfranz [Mon, 15 Oct 2007 16:28:40 +0000 (16:28 +0000)]
- add argc/argv arguments to FGNasalSys::call
- add support for childAdded/childRemoved listeners
- use regular function arguments for property ghosts
- warning--

16 years agorevert meaning of third, optional argument, and add an optional fourth
mfranz [Sun, 14 Oct 2007 18:01:26 +0000 (18:01 +0000)]
revert meaning of third, optional argument, and add an optional fourth
argument:

  setlistener(<property>, <func> [, <initial=0> [, <persistent=1>]])

This definition defaults to the old behavior. The fourth argument can
be set to zero, in which case the function is only called when the
node value has actually changed. It should really default to zero, but
then all callers would have to be reviewed, which is a bit too dangerous
"shortly" before a release.

16 years agofix off-by-one bug for airport type handling
mfranz [Sun, 14 Oct 2007 10:05:41 +0000 (10:05 +0000)]
fix off-by-one bug for airport type handling

16 years agoairportinfo(): add possibility to search for next airport of a particular
mfranz [Sun, 14 Oct 2007 07:51:11 +0000 (07:51 +0000)]
airportinfo(): add possibility to search for next airport of a particular
type: "airport" (default), "seaport", "heliport"

16 years ago- make weighting factors for search function with target heading permanent
mfranz [Fri, 12 Oct 2007 20:53:46 +0000 (20:53 +0000)]
- make weighting factors for search function with target heading permanent
- add "good" offset as suggested by Thomas FOERSTER
- minor tweaks

16 years agoadd new listener type: setlistner(<prop>, <func> [, <type=0>]);
mfranz [Fri, 12 Oct 2007 17:24:43 +0000 (17:24 +0000)]
add new listener type:    setlistner(<prop>, <func> [, <type=0>]);
0 -> trigger whenever property is written to (even if it's the old value; default)
1 -> like 0, but also trigger the function initially
2 -> trigger initially, but then only on changes

16 years agofix another creative char[] == "" comparison
mfranz [Fri, 12 Oct 2007 10:20:54 +0000 (10:20 +0000)]
fix another creative char[] == "" comparison

16 years agoignore strange 00 entry in apt.dat.gz as committed today; example:
mfranz [Thu, 11 Oct 2007 16:22:39 +0000 (16:22 +0000)]
ignore strange 00 entry in apt.dat.gz as committed today; example:
00 12600 HONOLULU CNTR

16 years agocleaner & faster (don't use STL functions ::size() and ::end() in loop
mfranz [Thu, 11 Oct 2007 15:33:24 +0000 (15:33 +0000)]
cleaner & faster (don't use STL functions ::size() and ::end() in loop
condition statements, don't use multiple vector array access via index)

16 years agoprevent endless loop. The new awy.dat.gz has entries like line 2632 ...
mfranz [Thu, 11 Oct 2007 13:51:11 +0000 (13:51 +0000)]
prevent endless loop. The new awy.dat.gz has entries like line 2632 ...
AMIBO  34.973889  021.658056 ARLOS  34.625278  023.000000 1 095 195 M871-MT E-MT W-N4
... where unexpected ids follow (here E-MT W-N4). The loader didn't skipeol.
The additional values are for a first quick&dirty fix just dropped.

16 years agomake that __MWERKS__ :-}
mfranz [Thu, 11 Oct 2007 09:28:05 +0000 (09:28 +0000)]
make that __MWERKS__  :-}

16 years agoMake sure the __MWERKS__ test can't go unnoticed. It's really time to
mfranz [Thu, 11 Oct 2007 09:19:49 +0000 (09:19 +0000)]
Make sure the __MWERKS__ test can't go unnoticed. It's really time to
remove all those 41 hacks if possible. Metrowerks is under category
"Defunct software companies" in Wikipedia, its compiler was known to
work on PowerPC (which we don't support, anway, right?) and on some
Unices. The hacks are in CVS since the first commit 2002/9/10 (old
repository!) and probably were in the code long before that. Any
platform where such a broken compiler is still used, will hardly
be suitable to run fgfs at all.

16 years agosetprop(): make sure return value is always set
mfranz [Thu, 11 Oct 2007 07:58:56 +0000 (07:58 +0000)]
setprop(): make sure return value is always set

16 years agorename FGAirportSearchFilter::acceptable() -> ::pass()
mfranz [Thu, 11 Oct 2007 07:53:17 +0000 (07:53 +0000)]
rename FGAirportSearchFilter::acceptable() -> ::pass()

16 years agodon't write past array bounds
mfranz [Thu, 11 Oct 2007 07:41:44 +0000 (07:41 +0000)]
don't write past array bounds

16 years agoJSB: "Fixed uninitialized variables; patch by Anders Gidenstam"
mfranz [Wed, 10 Oct 2007 22:11:14 +0000 (22:11 +0000)]
JSB: "Fixed uninitialized variables; patch by Anders Gidenstam"

mf: backporting from JSB/CVS to fix serious gear problem

16 years agosetprop(): report error on writing to unwritable property
mfranz [Wed, 10 Oct 2007 19:24:17 +0000 (19:24 +0000)]
setprop(): report error on writing to unwritable property

16 years agochecking the brutal way whether the 41 ugly __MWERKS__ hacks are really
mfranz [Wed, 10 Oct 2007 18:34:28 +0000 (18:34 +0000)]
checking the brutal way whether the 41 ugly __MWERKS__ hacks are really
still needed. At some point they must have fixed their broken compiler.

16 years agosave some startup parameters under /sim/startup/options/. options.cxx puts
mfranz [Sun, 7 Oct 2007 19:27:05 +0000 (19:27 +0000)]
save some startup parameters under /sim/startup/options/. options.cxx puts
them under /sim/presets/ but they aren't save there, and as fgInitPosition
and its subroutines overwrite them, we lose the information about what the
user really wanted. This is a temporary solution -- it really belongs into
options.cxx.

16 years agobetter check all runways, not just the first one :-)
mfranz [Sun, 7 Oct 2007 17:45:58 +0000 (17:45 +0000)]
better check all runways, not just the first one  :-)

16 years agovery funny ... mes is a char*! :-}
mfranz [Sat, 6 Oct 2007 14:56:08 +0000 (14:56 +0000)]
very funny ... mes is a char*!  :-}

16 years agouse airport search filter to only search for "regular" airports (no
mfranz [Fri, 5 Oct 2007 22:15:55 +0000 (22:15 +0000)]
use airport search filter to only search for "regular" airports (no
seaports or heliports, as they aren't rendered at the moment, anyway).
This shall later be made configurable via argument.

16 years ago- make FGAirport::search() more versatile, so that it can't only search
mfranz [Fri, 5 Oct 2007 21:54:52 +0000 (21:54 +0000)]
- make FGAirport::search() more versatile, so that it can't only search
  the next airport or airport with METAR station, but about any type of
  airport
- as a side effect this change makes it also 30 to 50% faster  :-)

In the long run this linear search shall be replaced with a spatial
algorithm (like octree), which will be a much bigger performance gain.

16 years agofix another victim of the new runway search method
mfranz [Fri, 5 Oct 2007 14:34:04 +0000 (14:34 +0000)]
fix another victim of the new runway search method

16 years ago- rename dynamics to _dynamics for consistency reasons
mfranz [Fri, 5 Oct 2007 12:59:43 +0000 (12:59 +0000)]
- rename dynamics to _dynamics for consistency reasons
- preserve information from apt.dat about whether an airport is a "normal"
  airport, a seaport, or a heliport. Do it without wasting another byte
  in the FGAirport structure (saves 50kB of memory). Yes, I know bitfields. :-)

16 years agorevert pitch/roll change (caused problems on reset and on the carrier)
mfranz [Thu, 4 Oct 2007 21:52:50 +0000 (21:52 +0000)]
revert pitch/roll change (caused problems on reset and on the carrier)

16 years agoMake comparisons against OSG version less flakey
timoore [Thu, 4 Oct 2007 20:40:29 +0000 (20:40 +0000)]
Make comparisons against OSG version less flakey
Turn OPENSCENEGRAPH_MAJOR_VERSION, OPENSCENEGRAPH_MINOR_VERSION and
OPENSCENEGRAPH_PATCH_VERSION into a single number for comparisons in the
preprocessor.

16 years agominor fix to please (other) pedants :-)
mfranz [Thu, 4 Oct 2007 20:16:27 +0000 (20:16 +0000)]
minor fix to please (other) pedants  :-)

16 years agonever add an untested "harmless" one-liner before committing ...
mfranz [Thu, 4 Oct 2007 17:23:10 +0000 (17:23 +0000)]
never add an untested "harmless" one-liner before committing ...

16 years agoon't hardcode heading-deg to 270 (and pitch-deg to 0.424 ...)
mfranz [Thu, 4 Oct 2007 17:14:37 +0000 (17:14 +0000)]
on't hardcode heading-deg to 270  (and pitch-deg to 0.424 ...)

16 years ago- if no heading preset was given (>=9999), use wind-from direction
mfranz [Thu, 4 Oct 2007 17:13:41 +0000 (17:13 +0000)]
- if no heading preset was given (>=9999), use wind-from direction
- write chosen runway to /sim/atc/runway, so that ATC can give a hint
- minor cleanup

16 years agowhen searching for the runway best matching a target heading, also consider
mfranz [Thu, 4 Oct 2007 17:11:19 +0000 (17:11 +0000)]
when searching for the runway best matching a target heading, also consider
the runway length/width/surface material, so that fgfs doesn't drop one on
the ridiculous grass stripe parallel to the grown up concrete runway
(LOWL, LOXZ, ...). The weighting factors are for now made configurable,
so that they are easier to adjust. This can later be made static.
(will soon get forward ported to fg/osg)

16 years agostop runway searching when the first airport id doesn't match
mfranz [Wed, 3 Oct 2007 06:42:49 +0000 (06:42 +0000)]
stop runway searching when the first airport id doesn't match

16 years agoFix a typo introduced when supporting faster than integer gps clocks.
curt [Tue, 2 Oct 2007 21:51:50 +0000 (21:51 +0000)]
Fix a typo introduced when supporting faster than integer gps clocks.

16 years agoadd thresholds and stopways
mfranz [Tue, 2 Oct 2007 17:08:10 +0000 (17:08 +0000)]
add thresholds and stopways

16 years agoFix tiny memory leak, as reported by Valgrind.
durk [Tue, 2 Oct 2007 16:14:16 +0000 (16:14 +0000)]
Fix tiny memory leak, as reported by Valgrind.

16 years agoforgot to consider the Liberia--Burma--U.S.A problem
mfranz [Tue, 2 Oct 2007 16:03:27 +0000 (16:03 +0000)]
forgot to consider the Liberia--Burma--U.S.A problem

16 years agoadd airportinfo() function, which returns airport/runway data:
mfranz [Tue, 2 Oct 2007 15:31:03 +0000 (15:31 +0000)]
add airportinfo() function, which returns airport/runway data:

Usage:  airportinfo("KSFO");
        airportinfo(37, 122);  # airport closest to lat/lon
        airportinfo();         # airport closest to current position

Returns nil on error, or a data hash otherwise. Example:

  # length of runway 28R
  var len = airportinfo("KSFO").runways["10L"].length;

Note that only one side of a runway is returned.

16 years agoif a local (ai/mp) root node is given, append it to the module name, so
mfranz [Mon, 1 Oct 2007 15:59:24 +0000 (15:59 +0000)]
if a local (ai/mp) root node is given, append it to the module name, so
that one instance doesn't destroy the namespace of all other instances

16 years agodegrade FGNasalModelData log message from SG_ALERT to SG_WARN
mfranz [Sun, 30 Sep 2007 11:56:21 +0000 (11:56 +0000)]
degrade FGNasalModelData log message from SG_ALERT to SG_WARN

16 years agodon't draw minor ticks where major ticks are to be drawn
mfranz [Sun, 30 Sep 2007 10:06:28 +0000 (10:06 +0000)]
don't draw minor ticks where major ticks are to be drawn
(looks ugly on semitransparent huds)

16 years agoTransfer a variant index of type integer. What the number means is
mfranz [Sat, 29 Sep 2007 18:21:35 +0000 (18:21 +0000)]
Transfer a variant index of type integer. What the number means is
determined by the aircraft. This allows to let an aircraft appear in
the same livery/variant on all machines which the pilot chose.

16 years ago... and keep the "groundradar" update rate :-)
mfranz [Fri, 28 Sep 2007 10:14:43 +0000 (10:14 +0000)]
... and keep the "groundradar" update rate  :-)

16 years agoadd instrument name & index to subsystem name id
mfranz [Fri, 28 Sep 2007 09:59:34 +0000 (09:59 +0000)]
add instrument name & index to subsystem name id

16 years agoFix for runway search glitch
timoore [Sun, 23 Sep 2007 20:55:55 +0000 (20:55 +0000)]
Fix for runway search glitch

Suggested by K.Hoercher <wbhoer@gmail.com>

16 years agoAdded copyright to ground radar files
timoore [Mon, 10 Sep 2007 05:08:57 +0000 (05:08 +0000)]
Added copyright to ground radar files

16 years agoGround radar and tower control panel for ATC.
timoore [Sun, 9 Sep 2007 23:22:14 +0000 (23:22 +0000)]
Ground radar and tower control panel for ATC.

This piggybacks on the weather radar for a cool ATC display.

16 years agoChange tower location to an SGGeod. Include taxiways too.
timoore [Sun, 9 Sep 2007 23:21:48 +0000 (23:21 +0000)]
Change tower location to an SGGeod. Include taxiways too.

This has been split from Csaba's ATC ground radar contribution.

16 years agoAdd an autohide property for the 2D panel.
timoore [Sun, 9 Sep 2007 23:21:20 +0000 (23:21 +0000)]
Add an autohide property for the 2D panel.

Author:Csaba Halasz

16 years agorevert accidental checkin
andy [Wed, 5 Sep 2007 02:03:15 +0000 (02:03 +0000)]
revert accidental checkin

16 years agoRon Jensen: extend atmosphere tables to match environment data
andy [Wed, 5 Sep 2007 02:01:57 +0000 (02:01 +0000)]
Ron Jensen: extend atmosphere tables to match environment data

16 years agoCreated a simple README.OSG, added some basic build instructions and added
durk [Sat, 1 Sep 2007 12:51:56 +0000 (12:51 +0000)]
Created a simple README.OSG, added some basic build instructions and added
this file to the release.

16 years agoAdd a check for OpenSceneGraph.
durk [Sat, 1 Sep 2007 12:45:12 +0000 (12:45 +0000)]
Add a check for OpenSceneGraph.

16 years agoDocumentation fixes: Updated the contents of README.plib and README.OpenAL.
durk [Sat, 1 Sep 2007 10:06:56 +0000 (10:06 +0000)]
Documentation fixes: Updated the contents of README.plib and README.OpenAL.
Created a README.SimGear file, which was referred to from configure, but
missing. Also make sure that these files are included in the release.

16 years agoCorrected atmosphere data, extended above 62000ft
timoore [Fri, 31 Aug 2007 18:01:07 +0000 (18:01 +0000)]
Corrected atmosphere data, extended above 62000ft
Author: John Denker
Reviewed by: Ron Jensen and Gerard Robin

16 years agovivian: add misc. MP properties
andy [Mon, 27 Aug 2007 20:58:14 +0000 (20:58 +0000)]
vivian: add misc. MP properties

16 years agoHandle scroll wheel events in osgViewer version
timoore [Mon, 20 Aug 2007 21:38:25 +0000 (21:38 +0000)]
Handle scroll wheel events in osgViewer version

16 years agoosgviewer mouse warp fixes
timoore [Sun, 19 Aug 2007 05:29:00 +0000 (05:29 +0000)]
osgviewer mouse warp fixes
After a mouse warp drop all pointer motion events for the entire frame.

Author: Melchior FRANZ

16 years agoReally implement fgWarpMouse for osgviewer
timoore [Sat, 18 Aug 2007 22:07:11 +0000 (22:07 +0000)]
Really implement fgWarpMouse for osgviewer
This fixes a bug that caused both the x and y values of the mouse to
be reset when the cursor was recentered due to hitting the screen
edge.

Based on a suggested patch from Stuart Buchanan

16 years agoHarald Johnsen: Change directory exists() logic to enable traffic loading
durk [Sat, 18 Aug 2007 05:09:46 +0000 (05:09 +0000)]
Harald Johnsen: Change directory exists() logic to enable traffic loading
on Windows-XP machines.

16 years agoFix for weather interpolation problem from Anders Gidenstam
timoore [Wed, 15 Aug 2007 15:22:44 +0000 (15:22 +0000)]
Fix for weather interpolation problem from Anders Gidenstam
Anders said:
With Stuart's help I've looked closer at this and I think I've tracked
down the cause of the problem:
At least on my computer the sort() call on line 234 in
Environment/environment_ctrl.cxx sorts the vector entries by memory
address instead of altitude, i.e. the custom comparison predicate is not
used. This causes the tables of environment conditions to be reordered
into a wrong order at some weather updates, depending, basically,
on where the memory allocator places the objects. (Btw. why are they are
freshly allocated for each update?)

16 years agoFix test for osg::Viewer.setUpdateVisitor
timoore [Mon, 13 Aug 2007 15:02:42 +0000 (15:02 +0000)]
Fix test for osg::Viewer.setUpdateVisitor

My last attempt reversed the sense of the test and for to include the
osg/Version header file.

16 years agoCompilation fix for OSG 2.1.4
timoore [Sun, 12 Aug 2007 23:01:51 +0000 (23:01 +0000)]
Compilation fix for OSG 2.1.4
setUpdateViewer has been moved to the osgViewer::Viewer object.

16 years agoUpdate MSVC 7.1 projects
fredb [Sun, 12 Aug 2007 13:40:00 +0000 (13:40 +0000)]
Update MSVC 7.1 projects

16 years agoWin32 fix and add a reminder in an unfinished function
fredb [Sun, 12 Aug 2007 13:38:36 +0000 (13:38 +0000)]
Win32 fix and add a reminder in an unfinished function

16 years ago- Ground network XML parsing code reads the new attributes "holdPointType"
durk [Wed, 8 Aug 2007 06:09:58 +0000 (06:09 +0000)]
- Ground network XML parsing code reads the new attributes "holdPointType"
  and "isOnRunway".
- Added initial support for AI controlled pushback operations, making use of the
  current editing capabilities of TaxiDraw CVS / New_GUI_CODE. The current
  implementation is slightly more computationally intensive than strictly
  required, due to the currently inability of taxidraw to link one specific
  pushBack point to to a particular startup location. FlightGear now determines
  this dynamically, and once we have that functionality in TaxiDraw, the
  initialization part of createPushBack() can be further simplified.
- Smoother transition from pushback to taxi. No more skipping of waypoints, and
  aircraft wait for two minutes at pushback point.
- The classes FGTaxiNode, FGTaxiSegment, and FGParking, now have copy
  constructors, and assignment operators.
- Removed declaration of undefined constructor FGTaxiNode(double, double, int)
- Array boundry checks and cleanup.
- Modified Dijkstra path search algoritm to solve partial problems. Currently
  limited to include pushback points and routes only, but can probably be
  extended to a more general approach.
- Added initial support for giving certain routes in the network a penalty, in
  order to discourage the use of certain routes over others.

16 years agoModified Files:
frohlich [Tue, 7 Aug 2007 04:57:42 +0000 (04:57 +0000)]
Modified Files:
projects/VC8/FlightGearLib.vcproj src/Include/config.h-msvc8:
Build system updates from Olaf Flebbe.

16 years agoprevent multiple loading of one and the same scenario
mfranz [Fri, 3 Aug 2007 18:02:33 +0000 (18:02 +0000)]
prevent multiple loading of one and the same scenario

16 years agoStuart BUCHANAN:
mfranz [Fri, 3 Aug 2007 12:06:17 +0000 (12:06 +0000)]
Stuart BUCHANAN:

"interpolates METAR changes over time as follows:
1) Wind changes are interpolated as vectors, so the change is much more
natural than before - no-longer will your aircraft be suddenly shoved to
one side.
2) Visibility is interpolated as an X-value, which looks pretty neat.
3) Cloud heights and thicknesses are interpolated if they are close to the
aircraft. Cloud textures are not."

16 years agoVivian MEAZZA: fix subsubmodels
mfranz [Wed, 1 Aug 2007 10:44:17 +0000 (10:44 +0000)]
Vivian MEAZZA: fix subsubmodels

16 years agoMaik: Use exact calculation instead of 1st order approximation
andy [Tue, 31 Jul 2007 15:51:04 +0000 (15:51 +0000)]
Maik: Use exact calculation instead of 1st order approximation

16 years agoLoad BTG files through the osgDB::Registry
timoore [Sun, 29 Jul 2007 22:34:15 +0000 (22:34 +0000)]
Load BTG files through the osgDB::Registry

This is part of changes leading towards using the OSG database pager thread.

16 years agouse correct example output
mfranz [Sun, 29 Jul 2007 22:18:02 +0000 (22:18 +0000)]
use correct example output

16 years agoimprove XML example
mfranz [Sun, 29 Jul 2007 18:32:47 +0000 (18:32 +0000)]
improve XML example

16 years agocleanup: extract globals->get_controls()
mfranz [Sun, 29 Jul 2007 17:36:30 +0000 (17:36 +0000)]
cleanup: extract globals->get_controls()

16 years agocorrections, extensions, spelling, cleanup
mfranz [Sun, 29 Jul 2007 17:16:03 +0000 (17:16 +0000)]
corrections, extensions, spelling, cleanup

16 years agogeneric/output:
mfranz [Sun, 29 Jul 2007 13:58:58 +0000 (13:58 +0000)]
generic/output:
- support optional <preamble> and <postamble> which are written right
  after opening and before closing respectively. This can be used for a header
  line or an XML header.
- unescape <preamble>, <postamble>, <format>, <line_separator>, <var_separator>
  so that \t, \n, \r, \f, \v, \xnn, \nnn can be used directly (\a and \b are
  ignored; use \\ for the backslash) The long names ("carriagereturn") are still
  supported for <var_separator>, but one can just use \r, or \r\n too.
- don't abort when a chunk doesn't have a <node>. This is useful for adding
  constant chunks which consist only of a <format>, such as XML tags.

16 years agoadd unescape function for conversion of \t, \n, \x1b etc. in <format> strings
mfranz [Sun, 29 Jul 2007 12:26:33 +0000 (12:26 +0000)]
add unescape function for conversion of \t, \n, \x1b etc. in <format> strings