mfranz [Tue, 6 Mar 2007 21:48:28 +0000 (21:48 +0000)]
don't move existing diff/tar.bz2 file away asking if it's ok to overwrite,
but rather copy the files to mktemp generated & guaranteed unique files
(don't worry, this is the last patch for today :-)
mfranz [Mon, 5 Mar 2007 21:40:39 +0000 (21:40 +0000)]
Vivian MEAZZA:
"Implement 'flightplans' for AIShips. This patch also introduces the concept
of a 'WAIT' token for AIShips: when the flightplan reaches a 'WAIT', the
AIShip stops and pauses for the specified time (secs)."
mfranz [Thu, 1 Mar 2007 17:53:24 +0000 (17:53 +0000)]
Hans Ulrich NIEDERMANN:
"""
Fix Y2K bug triggering string overflow
sim_control_.date_string is a char[7], so it can contain "yymmdd" and
the terminating '\0'. However, nowtime->tm_year is 107 for the year 2007,
so you'll end up with a 7 digit number and the string written to
sim_control_.date_string is longer than sim_control_.date_string is.
Ouch!
"""
mf: ... and sim_control_.date_string isn't even used.
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.