frohlich [Wed, 14 Feb 2007 17:51:23 +0000 (17:51 +0000)]
Modified Files:
src/Navaids/awynet.cxx src/Navaids/awynet.hxx: Olaf Flebbe:
Implement ~FGAirwayNetwork, though it is not called now
Guard snprint properly.
frohlich [Tue, 6 Feb 2007 05:32:24 +0000 (05:32 +0000)]
Modified Files:
src/Main/renderer.cxx: Avoid an additional camera.
Guard the plain OpenGL drawables better.
This change now requires the new osg tarball or osg cvs.
frohlich [Wed, 31 Jan 2007 20:43:10 +0000 (20:43 +0000)]
Modified Files:
src/Main/util.cxx: Olaf Flebbe: flush the osgDB cache just before
exit. This avoids a static destructor cleanup problem with static
osg linkage.
mfranz [Sun, 28 Jan 2007 12:16:37 +0000 (12:16 +0000)]
don't truncate strings output by print() to 1024 bytes. This was apparently
done for performance reasons, but print() should be able to output any
valid string, and when SG_LOG uses strings and streams already, then we
can use that here, too. (Not discussed with Andy yet.)
mfranz [Tue, 23 Jan 2007 15:53:04 +0000 (15:53 +0000)]
- remove "nasal-dir-initialized" signal node after use. This code is executed
before the property tree is stored away for reinit, so the signal would
be emitted again on reset.
- fix inconsistent style that sneaked in with a previous patch
mfranz [Sun, 21 Jan 2007 19:52:49 +0000 (19:52 +0000)]
raise signal "/sim/signals/nasal-dir-initialized" when all Nasal files
in $FG_ROOT/Nasal/* were loaded and executed, and thus all Nasal library
functions are available. This was in the past only done with settimer(..., 0),
constructions, but suchlike triggered timer functions are executed
*after* aircraft specific Nasal files were loaded, so they can't be
used for internal library initialization, where e.g. props.Node() is
already needed.
mfranz [Wed, 17 Jan 2007 20:42:39 +0000 (20:42 +0000)]
Maik JUSTUS: (OK'ed by Andy)
"""
- ground properties (e.g. feel bumpiness and the reduced friction of
grass or go swimming with the beaver)
- initial load for yasim gears (to get rid of the jitter the beaver has
on ground)
- glider/winch/aerotow (do winch start with YASim glider or do aerotow
over the net) I will place a how-to on the wiki soon, here very short:
use the sgs233y (or the bocian if you have AJ (up ot now) non-GPL
bocian)
winch start: Ctrl-w for placing the winch, hold w to winch, press
Shift-w to release the tow
aerotow: Place the glider within 60m to a MP-aircraft, press
Ctrl-t to tow to this aircraft. If the MP-aircraft is the
J3 and the patch is installed on both sides, the J3 feels the
forces, too. The J3-pilot has to taxi very slow up to the
moment, the glider starts moving. Increase the throttle gently.
Don't lift the J3 early, wait for the glider being lifted,
lift gently.
"""
mfranz [Mon, 15 Jan 2007 20:58:20 +0000 (20:58 +0000)]
don't search *-set.xml files in the the *complete* $FG_ROOT/Aircraft/ tree
(including all subdirs and with max depth!), but only the outmost level.
There are no *-set.xml files in deeper nested dirs, and with an ever growing
number of aircraft the search just lasts too long.
durk [Sat, 13 Jan 2007 09:04:07 +0000 (09:04 +0000)]
Maik Justus,
Here is a patch for two bugs in the AI/multiplayer part:
1. Cannot find model file *.ac error message (was only a false message,
anything worked correctly, the model was loaded from the correct path
afterwards).
2. Often many multiplayer aircrafts are missing in the property-tree.
(but I need them for aerotowing). There is still another bug: The
property in some circumstances seems not to be cleaned up after logout
of a multiplayer. I have added a workaround for this, but I don't now,
if it 100% works (should have no side effects, just aerotow would not
work sometimes). For testing I need more traffic on the mp-server.
frohlich [Sun, 7 Jan 2007 12:02:50 +0000 (12:02 +0000)]
Modified Files:
src/Input/input.cxx src/Main/renderer.cxx
src/Main/renderer.hxx src/Scenery/scenery.cxx
src/Scenery/scenery.hxx: Move scenery picking into the renderer.
There is most of the required data defined. Also we can better use
the pick visitor that will be needed with th upcommung panel code.
frohlich [Sat, 6 Jan 2007 14:25:55 +0000 (14:25 +0000)]
Modified Files:
AIBase.cxx AIManager.cxx AIManager.hxx: Remove dead code.
No ground intersection on AI models. Note that the carrier still
reenables that nodemask.
frohlich [Tue, 2 Jan 2007 09:50:35 +0000 (09:50 +0000)]
Modified Files:
src/FDM/groundcache.cxx src/FDM/groundcache.hxx: Store the material
that was used to get the croase agl level and return that material
in case we need to make use of that croase value.
frohlich [Tue, 2 Jan 2007 08:32:32 +0000 (08:32 +0000)]
Modified Files:
options.cxx: Olaf Flebbe: Fix some problems with --help --verbose
caused by the usage of snprintf. Elimate snprintf usage in favour
plain std::string manipulations.