]> git.mxchange.org Git - flightgear.git/log
flightgear.git
16 years agoDaniyar ATADJANOV:
mfranz [Thu, 31 Jan 2008 22:33:32 +0000 (22:33 +0000)]
Daniyar ATADJANOV:

This patch contains bugfixes from my previous patch
 (i made mistakes when using "diff" utility last time):

    1. Now ATC do not tells us to go around because of
       traffic on RWy, when that traffic is WE.
    2. Now ATC don't say that we must follow ourself
       (like "GFS, number two, follow GFS on final").

And new Tower-ATC features:

    1. Requesting departure clearance. When you are
       on taxiway, you can request departure clearance.
       Tower will answer with something like:
       "Line up runway two eight right".

       TODO: check if any AI-Planes on final and tell
       something like: "After the landing AI-CALLSIGN
       line up runway two eight right".

    2. Requesting take-off clearance. If you are on
       runway, you can tell to ATC that you are ready
       for take-off. So, Tower will tell you that you
       are cleared for take-off (or immediate take-off).

    3. Reporting landing gear position on final by pilot.
       If you are on aircraft, which landing gear can
       be UP, when reporting final you will tell
       "Gear down, ready to land".

    4. Reporting landing gear position on final by ATC.
       When i was newbie and was flying on Cessna 310, i
       ALWAYS forgot landing gears on final. Now if you are on
       final and forgot landing gear, Tower will tell you:
       "LANDING GEAR APPEARS UP" or "Check wheels down and
       locked". So you will have some time to push gear
       down or execute missed approach ;)

    5. ATIS phonetic ID in requesting landing message.
       In FG pilots says: "for full stop with ATIS" everytime
       (when airport doesn't have ATIS too). But in real life
       pilot saying phonetic ID of ATIS message. Now we have:
       "for full stop, information alpha ... / ... zulu".
       If airport doesn't have ATIS, pilot don't say this.

       TODO: add this feature to AI-Planes too.

     6. Advising weather condition in airport by Tower.
        If you are requesting take-off or landing in airport
        that doesn't have ATIS service, Tower will tell you
        about wind direction and speed, visibility and QFE.

     7. Reporting downwind if missed approach. When some AI-Plane
        is on final FG's ATC tell you to "continue approach".
        And then you lost radio transmission. Now ATC says:
        "continue approach and report left/right downwind".
        And now we have "Report Downwind" entry (button)
        in "ATC Communication" form.

16 years agoClear chat messages when an aircraft becomes inactive in the property tree.
curt [Tue, 29 Jan 2008 15:02:47 +0000 (15:02 +0000)]
Clear chat messages when an aircraft becomes inactive in the property tree.

16 years agoset MAX_ENGINES=12 (10 aren't enough for the DO-X)
mfranz [Sat, 26 Jan 2008 14:02:53 +0000 (14:02 +0000)]
set MAX_ENGINES=12 (10 aren't enough for the DO-X)

16 years agonear and far are #defined in MSVC
fredb [Sat, 26 Jan 2008 07:48:05 +0000 (07:48 +0000)]
near and far are #defined in MSVC

16 years agoFix main window aspect ratios other than 4/3
timoore [Fri, 25 Jan 2008 18:44:45 +0000 (18:44 +0000)]
Fix main window aspect ratios other than 4/3

This also fixes distortion weirdness in the osgviewer version. That
was caused by osg::GraphicsContext getting in the act on resize events
and adding its own scaling to the projectionOffset of slave cameras!

16 years agoAnother round of memory leak fixes from Till Busch
timoore [Thu, 24 Jan 2008 23:05:58 +0000 (23:05 +0000)]
Another round of memory leak fixes from Till Busch

16 years agoremove last traces of PSL
mfranz [Wed, 23 Jan 2008 13:03:50 +0000 (13:03 +0000)]
remove last traces of PSL

16 years agoFix leak in interpolate(). Also give property nodes a name so they
andy [Tue, 22 Jan 2008 20:09:02 +0000 (20:09 +0000)]
Fix leak in interpolate().  Also give property nodes a name so they
look better in debug output

16 years agoPacket should be formated in network byte order.
curt [Mon, 21 Jan 2008 19:11:32 +0000 (19:11 +0000)]
Packet should be formated in network byte order.

16 years agoMemory leak fixes from Till Busch
timoore [Sat, 19 Jan 2008 18:06:05 +0000 (18:06 +0000)]
Memory leak fixes from Till Busch

16 years agoUpdate MSVC 7.1 projects
fredb [Thu, 17 Jan 2008 21:42:56 +0000 (21:42 +0000)]
Update MSVC 7.1 projects

16 years agosegfault in fg_fx.cxx fix
timoore [Thu, 17 Jan 2008 08:28:43 +0000 (08:28 +0000)]
segfault in fg_fx.cxx fix

Check for null fx node, submitted by Tiago Gusmão.

16 years agoJosh Babcock:
fredb [Sat, 12 Jan 2008 17:13:57 +0000 (17:13 +0000)]
Josh Babcock:
I got tired of watching all those http requests scroll over the screen, so I made them SG_LOG( SG_IO, SG_INFO, );

FB: adapt a bit

16 years agoMartin Spott:
curt [Sat, 12 Jan 2008 15:05:55 +0000 (15:05 +0000)]
Martin Spott:

Fix that reorders osg libs to make FreeBSD happy.

16 years agoRemove an incorrect use of AM_CONDITIONAL()
curt [Fri, 11 Jan 2008 16:47:39 +0000 (16:47 +0000)]
Remove an incorrect use of AM_CONDITIONAL()

16 years agoAdd checks to avoid writing NaNs into the scene graph transforms
timoore [Thu, 10 Jan 2008 08:22:48 +0000 (08:22 +0000)]
Add checks to avoid writing NaNs into the scene graph transforms

16 years agoOS X build fixes from Hans Fugal
andy [Wed, 9 Jan 2008 19:59:56 +0000 (19:59 +0000)]
OS X build fixes from Hans Fugal

16 years agocleanup of dead code and change ViewPartitionNode::makeNewProjMat be public static
timoore [Sun, 6 Jan 2008 23:03:19 +0000 (23:03 +0000)]
cleanup of dead code and change ViewPartitionNode::makeNewProjMat be public static

16 years agoBallistics underslung load changes from Vivian Meazza
timoore [Fri, 4 Jan 2008 22:31:18 +0000 (22:31 +0000)]
Ballistics underslung load changes from Vivian Meazza

16 years agoadd ViewPartitionNode to VS project
timoore [Fri, 4 Jan 2008 08:46:01 +0000 (08:46 +0000)]
add ViewPartitionNode to VS project

16 years agoAdd ViewPartionNode to the scenegraph
timoore [Fri, 4 Jan 2008 07:35:43 +0000 (07:35 +0000)]
Add ViewPartionNode to the scenegraph

ViewPartitionNode addresses Z-fighting issues by rendering near and far
parts of the scene seperately.

16 years agoReturn the --fov= to it's original functionality.
curt [Sat, 29 Dec 2007 21:51:39 +0000 (21:51 +0000)]
Return the --fov= to it's original functionality.

16 years agoBallistics fix from Vivian Meazza
timoore [Fri, 28 Dec 2007 22:05:14 +0000 (22:05 +0000)]
Ballistics fix from Vivian Meazza

16 years agoModified Files:
frohlich [Wed, 26 Dec 2007 20:33:55 +0000 (20:33 +0000)]
Modified Files:
src/Main/renderer.cxx: Use osg::Hint instead of glHint.

16 years agoModified Files:
frohlich [Wed, 26 Dec 2007 12:19:20 +0000 (12:19 +0000)]
Modified Files:
fg_os_osgviewer.cxx: Use the DISPLAY environment variable
if not set otherwise.

16 years agoRemove references to SceneView and CameraView
timoore [Sat, 22 Dec 2007 23:26:56 +0000 (23:26 +0000)]
Remove references to SceneView and CameraView

16 years agoExperimental patch for applying force to ballistic objects
timoore [Fri, 21 Dec 2007 23:37:05 +0000 (23:37 +0000)]
Experimental patch for applying force to ballistic objects

From Vivian Meazza

16 years agos/no-warning/depreciated/, so people adding that to custom huds understand
mfranz [Fri, 21 Dec 2007 12:03:10 +0000 (12:03 +0000)]
s/no-warning/depreciated/, so people adding that to custom huds understand
better what they are doing  :-)

16 years agodepreciation warning for users of old custom HUDs
mfranz [Fri, 21 Dec 2007 11:39:51 +0000 (11:39 +0000)]
depreciation warning for users of old custom HUDs

16 years agoFix tabs and spaces. No overflow risk here
fredb [Fri, 21 Dec 2007 07:52:26 +0000 (07:52 +0000)]
Fix tabs and spaces. No overflow risk here

16 years agoFix for "falling through ground" problem
timoore [Thu, 20 Dec 2007 23:20:51 +0000 (23:20 +0000)]
Fix for "falling through ground" problem

The LOD far range on the tile entry scenegraph node was initialized to
0. This meant that any traverals of active children that happened
before the tile manager updated the node would ignore the node
altogether. Among these is the groundcache traversal which was failing
at startup even though scenery was loaded.

Also added a function to dump scene graph nodes to files; very handy
in gdb.

16 years agoUpdate MSVC 7.1 projects - compile with osgViewer instead of glut
fredb [Wed, 19 Dec 2007 07:35:59 +0000 (07:35 +0000)]
Update MSVC 7.1 projects - compile with osgViewer instead of glut

16 years agoAdded copyright to SceneryPager. Removed FGTileLoader
timoore [Sat, 15 Dec 2007 06:01:24 +0000 (06:01 +0000)]
Added copyright to SceneryPager. Removed FGTileLoader

16 years agoCheck if request has already been satisfied
timoore [Fri, 14 Dec 2007 22:52:57 +0000 (22:52 +0000)]
Check if request has already been satisfied

16 years agoschedule tiles in Inited state if we get a valid bucket
timoore [Fri, 14 Dec 2007 22:52:31 +0000 (22:52 +0000)]
schedule tiles in Inited state if we get a valid bucket

16 years agoSet up pager in GLUT embedded osgViewer
timoore [Fri, 14 Dec 2007 22:52:15 +0000 (22:52 +0000)]
Set up pager in GLUT embedded osgViewer

16 years agoUse the OSG DatabasePager instead of FGTileLoader
timoore [Fri, 14 Dec 2007 22:51:56 +0000 (22:51 +0000)]
Use the OSG DatabasePager instead of FGTileLoader

Make an OSG file reader for .stg files.

New class flightgear::SceneryPager, which is a subclass
osg::DatabasePager to handle explicit delete requests.

Modify FGNewCache, FGTileEntry, and FGTileManager to use
SceneryPager. Mostly this involved removing the queues that talked to
FGTileLoader.

Calculate accurate tile timestamps from the time they are traversed in
the cull stage (which means that they are visible) instead of updating
them periodically.

Replace tile entry transform and range node with one LOD node

16 years agoUpdate GroundLightManager
timoore [Thu, 13 Dec 2007 23:30:54 +0000 (23:30 +0000)]
Update GroundLightManager

Also use GroundLightManager to manage light node masks.

16 years agoFix mouse warping for embedded osgviewer in SDL
timoore [Wed, 12 Dec 2007 22:36:23 +0000 (22:36 +0000)]
Fix mouse warping for embedded osgviewer in SDL

As in the GLUT implementation, let the FGManipulator drain its event queue.

16 years agoHandle warped pointer in embedded GLUT osgViewer
timoore [Wed, 12 Dec 2007 08:24:27 +0000 (08:24 +0000)]
Handle warped pointer in embedded GLUT osgViewer

Signal the FGManipulator that a warp has occured so that it can drain its
event queue, but otherwise no warp handling is done in GLUT specific code.

16 years agoMake sure fgfs finds the correct version of the base package.
durk [Tue, 11 Dec 2007 21:48:00 +0000 (21:48 +0000)]
Make sure fgfs finds the correct version of the base package.

16 years agoCheck if scenery is available before blowing away existing values in ground cache
timoore [Tue, 11 Dec 2007 11:10:35 +0000 (11:10 +0000)]
Check if scenery is available before blowing away existing values in ground cache

This fixes a race condition when teleporting somewhere outside of the
currently loaded scenery. Before, if there was no valid scenery, an
aircraft might end up at the center of the earth...

16 years agoUse a render target fallback that works in any case.
frohlich [Tue, 11 Dec 2007 06:19:08 +0000 (06:19 +0000)]
Use a render target fallback that works in any case.
Avoids a crash on dri cards on linux.

16 years agoMaik: add ROTORBALANCE axis. Fix spelling of ROTORRELTARGET.
andy [Mon, 10 Dec 2007 19:25:24 +0000 (19:25 +0000)]
Maik: add ROTORBALANCE axis.  Fix spelling of ROTORRELTARGET.

16 years agoTatsuhiro NISHIOKA: initialize classes (fixes segfault on exit on MacOS)
mfranz [Mon, 10 Dec 2007 19:17:57 +0000 (19:17 +0000)]
Tatsuhiro NISHIOKA: initialize classes (fixes segfault on exit on MacOS)

16 years agoadd some generic properties for free use
mfranz [Sat, 8 Dec 2007 09:49:16 +0000 (09:49 +0000)]
add some generic properties for free use

16 years agoCheck for valid multiplayer packet.
timoore [Fri, 7 Dec 2007 12:43:42 +0000 (12:43 +0000)]
Check for valid multiplayer packet.

Instead of just reporting that the magic number, length, etc. of a
multiplayer packet is invalid, abort processing this packet. Also,
check if enough space remains to send a property string.

16 years agoAdd an option to FGTextureManager to create dynamic textures.
timoore [Fri, 7 Dec 2007 09:14:16 +0000 (09:14 +0000)]
Add an option to FGTextureManager to create dynamic textures.

Dynamic textures shouldn't have their STATIC attribute set.

16 years agoChanged GLUT support to use an embedded osgViewer too
timoore [Fri, 7 Dec 2007 09:11:46 +0000 (09:11 +0000)]
Changed GLUT support to use an embedded osgViewer too

16 years ago- move exception handling from init() and childAdded() to add_model()
mfranz [Thu, 6 Dec 2007 18:32:43 +0000 (18:32 +0000)]
- move exception handling from init() and childAdded() to add_model()
- tell why loading a model failed

16 years agotell *why* loading a model failed
mfranz [Thu, 6 Dec 2007 18:04:19 +0000 (18:04 +0000)]
tell *why* loading a model failed

16 years agoVarious updates.
curt [Wed, 5 Dec 2007 19:01:49 +0000 (19:01 +0000)]
Various updates.

16 years agoadd runway number as "id" to the runway hash within an airport hash
mfranz [Wed, 5 Dec 2007 10:57:51 +0000 (10:57 +0000)]
add runway number as "id" to the runway hash within an airport hash
(It's already available as runway hash key, but the runway hash shouldn't
depend on it and be self-contained.)

16 years agobackport from JSBSim/cvs: apply prop sense only once (OK'ed by JSB)
mfranz [Tue, 4 Dec 2007 20:22:36 +0000 (20:22 +0000)]
backport from JSBSim/cvs: apply prop sense only once  (OK'ed by JSB)

16 years agoWin32 fix
fredb [Sun, 2 Dec 2007 12:29:29 +0000 (12:29 +0000)]
Win32 fix

16 years agomake the state of the Meta and Super modifier keys available. These keys
mfranz [Sun, 2 Dec 2007 10:36:58 +0000 (10:36 +0000)]
make the state of the Meta and Super modifier keys available. These keys
are not available out-of-the-box on all systems and keyboards, and should
therefore not be used in files committed to CVS. This makes them well
suited for local key bindings, as they aren't likely to get overwritten
with later releases. SDL supports Meta and Super, OSG supports only Meta,
and GLUT supports neither.

(Somehow this part escaped the previous commit. :-)

16 years agoread key code and modifiers back in after event interface call
mfranz [Sat, 1 Dec 2007 23:37:58 +0000 (23:37 +0000)]
read key code and modifiers back in after event interface call

16 years ago- minor command update (loadxml, savexml, property-scale)
mfranz [Sat, 1 Dec 2007 19:44:00 +0000 (19:44 +0000)]
- minor command update (loadxml, savexml, property-scale)
- add <condition> and <mod-{up,shift,ctrl,alt,meta,super}>
  example to key definition description

16 years agoadd <mod-meta> and <mod-super> XML elements for key bindings
mfranz [Sat, 1 Dec 2007 16:38:49 +0000 (16:38 +0000)]
add <mod-meta> and <mod-super> XML elements for key bindings

16 years agomake the state of the Meta and Super modifier keys available. These keys
mfranz [Sat, 1 Dec 2007 13:09:11 +0000 (13:09 +0000)]
make the state of the Meta and Super modifier keys available. These keys
are not available out-of-the-box on all systems and keyboards, and should
therefore not be used in files committed to CVS. This makes them well
suited for local key bindings, as they aren't likely to get overwritten
with later releases. SDL supports Meta and Super, OSG supports only Meta,
and GLUT supports neither.

16 years agoRewrite SDL code to use an embedded osgViewer.
timoore [Fri, 30 Nov 2007 00:01:01 +0000 (00:01 +0000)]
Rewrite SDL code to use an embedded osgViewer.

This uses the osgViewer infrastructure instead of setting up and osg::SceneView.
When the same change is made for glut, much of render.cxx can be deleted.

16 years agomove callback registration functions to fg_os_common.cxx
timoore [Fri, 30 Nov 2007 00:00:36 +0000 (00:00 +0000)]
move callback registration functions to fg_os_common.cxx

16 years agobackport of code using ModelRegistry
timoore [Thu, 29 Nov 2007 23:59:47 +0000 (23:59 +0000)]
backport of code using ModelRegistry

16 years agoMove to loading tiles and their submodels only by name.
timoore [Thu, 29 Nov 2007 23:59:14 +0000 (23:59 +0000)]
Move to loading tiles and their submodels only by name.

Some cleanup in tileentry.cxx, but mostly code to implement loading of tiles
and their models without reference to FGTileEntry or SGBucket structures.
Also, don't do deferred model loading; load them when the tile is loaded.

16 years agoTiago GUSMAO: keep sound muted after pause/unpause
mfranz [Sat, 24 Nov 2007 08:40:04 +0000 (08:40 +0000)]
Tiago GUSMAO: keep sound muted after pause/unpause

16 years agoinitialize _material pointer in FGGroundCache
timoore [Thu, 22 Nov 2007 23:46:39 +0000 (23:46 +0000)]
initialize _material pointer in FGGroundCache

_material was uninitialized. This was causing a segfault with
as-yet-to-be-checked-in paging code; I don't know if it ever resulted
in a segfault with the old tile loader, but it certainly could have.

16 years agoAdd a command to dump just the terrain portion of the scene graph to a .osg
curt [Wed, 21 Nov 2007 20:51:49 +0000 (20:51 +0000)]
Add a command to dump just the terrain portion of the scene graph to a .osg
file.  Possible uses of this functionality could include converting the
model to some other format or coordinate system for use in some other
visualization or simulation.

16 years agoMinor documentation update.
durk [Sun, 18 Nov 2007 14:22:40 +0000 (14:22 +0000)]
Minor documentation update.

16 years agoinitialize release_keys array
mfranz [Sat, 17 Nov 2007 17:38:48 +0000 (17:38 +0000)]
initialize release_keys array

16 years agoChanged to use getId() instead of using a direct iterator comparison,
durk [Sat, 17 Nov 2007 13:46:35 +0000 (13:46 +0000)]
Changed to use getId() instead of using a direct iterator comparison,
because MSVC8 crashed on that.

16 years agoOlaf Flebbe: Add a few new files to the MSVC projects.
durk [Tue, 13 Nov 2007 20:24:22 +0000 (20:24 +0000)]
Olaf Flebbe: Add a few new files to the MSVC projects.

16 years ago- move temporary keyboard fix from input.cxx to fg_os{,_sdl}.cxx.
mfranz [Mon, 12 Nov 2007 19:29:08 +0000 (19:29 +0000)]
- move temporary keyboard fix from input.cxx to fg_os{,_sdl}.cxx.
  This is required to make sure the same letter key gets released,
  which got the press event. (After Ctrl-press -> a-press -> Ctrl-release
  a-release we want the Ctrl-a binding released, not the a binding.)

- add key listener interface for direct key access from Nasal space

16 years agoalso copy name & type to /sim/current-view
mfranz [Fri, 9 Nov 2007 17:43:22 +0000 (17:43 +0000)]
also copy name & type to /sim/current-view
That's useful for animations, and we can't rely on numbers. And shouldn't.

16 years agoMove some values exclusively used by LaRCsim to LaRCsim
frohlich [Fri, 9 Nov 2007 05:39:13 +0000 (05:39 +0000)]
Move some values exclusively used by LaRCsim to LaRCsim

16 years agodon't overwrite rudder position with nose wheel position
mfranz [Wed, 7 Nov 2007 17:41:31 +0000 (17:41 +0000)]
don't overwrite rudder position with nose wheel position

16 years agomainloop: move event_mgr and viewmgr updated before spatial sound calculations
mfranz [Wed, 7 Nov 2007 15:57:38 +0000 (15:57 +0000)]
mainloop: move event_mgr and viewmgr updated before spatial sound calculations

16 years agomove event_mgr and view_mgr bundle right before the requestRedraw()
mfranz [Tue, 6 Nov 2007 21:05:38 +0000 (21:05 +0000)]
move event_mgr and view_mgr bundle right before the requestRedraw()
This fixes the last jitter problems with views attached to MP/AI
objects, and doesn't seem to cause any new ones.

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--