]> git.mxchange.org Git - flightgear.git/log
flightgear.git
16 years agofg-check:
mfranz [Sat, 28 Jul 2007 17:03:10 +0000 (17:03 +0000)]
fg-check:
- fix rle detection
- check all textures (to catch some forms of curruption)

fg-submit:
- documentation fixes & cleanup

16 years ago- set filter dt only once
mfranz [Sat, 28 Jul 2007 08:08:22 +0000 (08:08 +0000)]
- set filter dt only once
- make throttle more responsive (again)

16 years ago- add (damped) aileron/rudder trimming (may be needed for mibs)
mfranz [Fri, 27 Jul 2007 21:57:55 +0000 (21:57 +0000)]
- add (damped) aileron/rudder trimming  (may be needed for mibs)
- use an FPS-independent lowpass filter for all damped properties
- cleanup

16 years agoModified Files:
frohlich [Fri, 27 Jul 2007 19:31:44 +0000 (19:31 +0000)]
Modified Files:
src/AIModel/AIFlightPlanCreateCruise.cxx
src/Traffic/Schedule.cxx:
SGGeoc::fromCart should now work correct.

16 years agoNick "Lethe" WARNE: prevent crash caused by improper use of --multiplay
mfranz [Wed, 25 Jul 2007 15:17:06 +0000 (15:17 +0000)]
Nick "Lethe" WARNE: prevent crash caused by improper use of --multiplay

mf: stripped down the log message a bit :-)

16 years agoavoid g++ warning about the members being initialized out of order
timoore [Tue, 24 Jul 2007 05:36:27 +0000 (05:36 +0000)]
avoid g++ warning about the members being initialized out of order

Author: Hans Ulrich Niedermann <hun@n-dimensional.de>
Committer: Tim Moore <timoore@redhat.com>

16 years agoREADME typo
timoore [Tue, 24 Jul 2007 05:35:31 +0000 (05:35 +0000)]
README typo

Fix typo in README

Author: Hans Ulrich Niedermann <hun@n-dimensional.de>
Committer: Tim Moore <timoore@redhat.com>

16 years agoMaik: add a downwashfactor tunable
andy [Mon, 23 Jul 2007 16:10:21 +0000 (16:10 +0000)]
Maik: add a downwashfactor tunable

16 years agocheck for evil "userarchive" flags (in aircraft xml files)
mfranz [Sat, 21 Jul 2007 21:28:39 +0000 (21:28 +0000)]
check for evil "userarchive" flags (in aircraft xml files)

16 years agoSlightly altered calling sequence ensures AI aircraft are removed from
durk [Sat, 21 Jul 2007 12:29:09 +0000 (12:29 +0000)]
Slightly altered calling sequence ensures AI aircraft are removed from
memory when flying out of user range.

16 years ago- Added ultra-light traffic is now a separate traffic class that can have its
durk [Sat, 21 Jul 2007 11:05:20 +0000 (11:05 +0000)]
- Added ultra-light traffic is now a separate traffic class that can have its
own preferential runway support. In future versions, we might want to
condider having a more generic mechanism for this.
- Keep a history of active runway for each class, so that runway assignments
are more consistent after whether updates or time-related schedule changes.

16 years agoSupport for linking against OSG debugging libraries.
timoore [Fri, 20 Jul 2007 17:29:31 +0000 (17:29 +0000)]
Support for linking against OSG debugging libraries.

16 years agoremove redundant if check in cases of if (foo) delete foo;
mfranz [Fri, 20 Jul 2007 14:46:45 +0000 (14:46 +0000)]
remove redundant if check in cases of  if (foo) delete foo;
The C++ standard explicitly allows deleting a null pointer.

16 years agoMartin Spott:
durk [Tue, 17 Jul 2007 18:00:06 +0000 (18:00 +0000)]
Martin Spott:
On most Unix platforms like FreeBSD, Solaris, IRIX (AIX is even worse)
- just not on Linux - the linker wants to know about _all_ required
libraries. So even if a shared library "libosgViewer" itself is linked
against "libosgGA" and "libosgText", you still have to name these in
order to build an "fgfs" binary.

Currently, other libraries like "-losgDB" and "-losgUtil" are
explicitly mentioned on the "fgfs" linker command, but "-losgGA" and
"-losgText" are not. This simple patch lets the linker honour
everything that's required

16 years agoFirst revision of a small utility that will build a simple .ac file around
curt [Mon, 16 Jul 2007 13:47:42 +0000 (13:47 +0000)]
First revision of a small utility that will build a simple .ac file around
a aerial photo texture.  You need to determine the coordinates of the 4
corners of your image and this utility will use that to build a 3d model
in meters and tell you the information to copy into the proper .stg file.

16 years agoFixes and code clean-up:
durk [Sun, 15 Jul 2007 14:08:31 +0000 (14:08 +0000)]
Fixes and code clean-up:

- Airports Directory
Thomas Foerster: Pulls out the FGTaxiNode implementation into gnnode.cxx.
Melchior / Durk: Copy Constructor and assignment operator for FGTaxiRoute

- AIModels Directory
Durk / Melchior / Czaba Halasz: Ensure that all derived classes use AIBase
member 'callsign'. Adapted, moved and deleted getter/setter functions where
necessary
Czaba Halasz: Fix AIBase model path vs. submodel path consistency.

- Traffic Directory and AIModels CreateFlightPlanCruise
DT: Temporary revert parts of the position estimation code.

16 years agoremove material name from the class
mfranz [Sat, 14 Jul 2007 07:35:12 +0000 (07:35 +0000)]
remove material name from the class

16 years agoAlso untie waypoint-missed-count.
frohlich [Sat, 14 Jul 2007 04:27:47 +0000 (04:27 +0000)]
Also untie waypoint-missed-count.

16 years agomove the other parts of _init_keyboard() to _postinit_keyboard(), too.
mfranz [Fri, 13 Jul 2007 10:15:48 +0000 (10:15 +0000)]
move the other parts of _init_keyboard() to _postinit_keyboard(), too.
This is still before anything else than the splash screen is displayed,
and it's cleaner that way. (The Nasal processing parts *must* be there.)

16 years ago- use ostringstream instead of sprintf() for the __js%d namespaces
mfranz [Thu, 12 Jul 2007 22:57:14 +0000 (22:57 +0000)]
- use ostringstream instead of sprintf() for the __js%d namespaces
- set namespace __kbd for all keyboard Nasal code (not meant for public use)
- read <nasal><script> blocks from the keyboard file

16 years agomake properties created via --prop option default to type UNSPECIFIED.
mfranz [Thu, 12 Jul 2007 14:45:46 +0000 (14:45 +0000)]
make properties created via --prop option default to type UNSPECIFIED.
For compatibility with the old behavior just ask for a string:
--prop:string:foo=0  or shorter  --prop:s:foo=0

16 years agoa token can be empty (empty line), in which case there's no token[0]
mfranz [Wed, 11 Jul 2007 15:18:24 +0000 (15:18 +0000)]
a token can be empty (empty line), in which case there's no token[0]

16 years agodon't use _tgt_rudder uninitialized
mfranz [Wed, 11 Jul 2007 10:56:33 +0000 (10:56 +0000)]
don't use _tgt_rudder uninitialized

16 years agoHans FUGAL: mac compilation fix
mfranz [Tue, 10 Jul 2007 18:35:50 +0000 (18:35 +0000)]
Hans FUGAL: mac compilation fix

16 years agoBugfixes: 1) Fix the if (next) setLeadDistance bug
durk [Tue, 10 Jul 2007 07:01:54 +0000 (07:01 +0000)]
Bugfixes: 1) Fix the if (next) setLeadDistance bug
             (reported by Csaba Halaszi /helijah)
          2) Decrease AI aircraft Heading error tolerance to 1% of its
             original value. This is necessary to mitigate spinning and
             makes for actual "on-runway" landings.

16 years agoMaik: remove redundant (and innapropriate in the YASim core) property interface for...
andy [Mon, 9 Jul 2007 19:51:01 +0000 (19:51 +0000)]
Maik: remove redundant (and innapropriate in the YASim core) property interface for the rotorgear.

16 years agoHarald JOHNSEN: initialize elapsedTime
mfranz [Mon, 9 Jul 2007 17:15:11 +0000 (17:15 +0000)]
Harald JOHNSEN: initialize elapsedTime

16 years agoPublish and update callsigns of Traffic Manager (TM) created AITraffic.
durk [Mon, 9 Jul 2007 05:07:56 +0000 (05:07 +0000)]
Publish and update callsigns of Traffic Manager (TM) created AITraffic.

16 years agoModified Files:
frohlich [Sun, 8 Jul 2007 08:46:29 +0000 (08:46 +0000)]
Modified Files:
src/AIModel/AIFlightPlan.hxx
src/AIModel/AIFlightPlanCreateCruise.cxx
src/AIModel/AITanker.cxx src/Traffic/Schedule.cxx:
Move member variables that should better be in function local
scope into the functions. Make more use of SGMath functions.

16 years agoFix "Tankers fly at warp 2" bug.
durk [Sun, 8 Jul 2007 07:08:49 +0000 (07:08 +0000)]
Fix "Tankers fly at warp 2" bug.

16 years agoFixed an overly ambitious checkForCircularWaits() function. AI Aircraft
durk [Sat, 7 Jul 2007 12:52:49 +0000 (12:52 +0000)]
Fixed an overly ambitious checkForCircularWaits() function. AI Aircraft
don't mysteriously disappear anymore when confronted with the user
controlled aircraft.

16 years agoMaik JUSTUS: swap stereo L/R, and fix Doppler
mfranz [Fri, 6 Jul 2007 20:53:48 +0000 (20:53 +0000)]
Maik JUSTUS: swap stereo L/R, and fix Doppler

17 years agoWrong subtraction order lead to the "extra" space available (instead
andy [Thu, 5 Jul 2007 21:25:01 +0000 (21:25 +0000)]
Wrong subtraction order lead to the "extra" space available (instead
of the extra space *required*) in a rowspan object being redistributed
back into the span, leading to a near-doubling of the size for small
objects with large span ranges.

17 years agoThomas Foerster: Made FGParking a subclass of FGTaxiNode
durk [Thu, 5 Jul 2007 19:00:59 +0000 (19:00 +0000)]
Thomas Foerster: Made FGParking a subclass of FGTaxiNode
                 Fixed bug due to longstanding inconsistency in FGAirport
                 getter functions return types.
Durk Talsma:     Fixed traffic record initialization bug that occured
                 when taxiing traffic was waiting for traffic on runway

17 years agoVivian MEAZZA: remove no longer needed debug messages
mfranz [Thu, 5 Jul 2007 15:28:44 +0000 (15:28 +0000)]
Vivian MEAZZA: remove no longer needed debug messages

17 years agoThomas Foerster:
durk [Wed, 4 Jul 2007 17:42:20 +0000 (17:42 +0000)]
Thomas Foerster:

I refactored the XML loading code out of FGAirportDynamics and
FGRunwayPreference. I also added a new class XMLLoader, which serves as a
facade to the loader functions. Further I changed FGRunwayPreference to just
keep a FGAirport ref, which is more concise and closer to the right(tm)
solution than storing the airport data a second time ;-)

17 years agoThomas Foerster:
durk [Wed, 4 Jul 2007 17:39:03 +0000 (17:39 +0000)]
Thomas Foerster:
I refactored the XML loading code out of FGAirportDynamics and
FGRunwayPreference. I also added a new class XMLLoader, which serves as a
facade to the loader functions. Further I changed FGRunwayPreference to just
keep a FGAirport ref, which is more concise and closer to the right(tm)
solution than storing the airport data a second time ;-)

17 years agomake target RTT texture configurable as <radar-texture-path>
mfranz [Tue, 3 Jul 2007 18:24:45 +0000 (18:24 +0000)]
make target RTT texture configurable as <radar-texture-path>
(ported from fg/plib, but doesn't yet work here)

17 years agoJohn DENKER: validate_format(): handle multiple flags correctly
mfranz [Tue, 3 Jul 2007 17:26:54 +0000 (17:26 +0000)]
John DENKER: validate_format(): handle multiple flags correctly

17 years agoremove the "terrain-elevation" command again. This is no longer necessary,
mfranz [Tue, 3 Jul 2007 15:41:03 +0000 (15:41 +0000)]
remove the "terrain-elevation" command again. This is no longer necessary,
as we have the geodinfo() Nasal function now.

17 years ago- limit max number of messages displayed at the same time to 5 (Ideally,
mfranz [Tue, 3 Jul 2007 15:35:55 +0000 (15:35 +0000)]
- limit max number of messages displayed at the same time to 5 (Ideally,
  it should be just one, but we don't want to block everything and
  don't want to miss messages either.)
- prevent message duplicates

17 years agoJohn DENKER: don't grow /sim/logging/classes indefinitely on read-out
mfranz [Tue, 3 Jul 2007 05:46:59 +0000 (05:46 +0000)]
John DENKER: don't grow /sim/logging/classes indefinitely on read-out

17 years ago- allow multiple message/error dialogs
mfranz [Mon, 2 Jul 2007 14:32:30 +0000 (14:32 +0000)]
- allow multiple message/error dialogs
- hand the generation of the message dialog over to
  $FG_ROOT/gui/dialogs/message.xml

17 years agoTim MOORE:
mfranz [Sun, 1 Jul 2007 16:39:52 +0000 (16:39 +0000)]
Tim MOORE:

"This patch fixes the use of the keypad with numlock in the osgViewer
version of FlightGear."

"This also restores the handling of resize events while trying to stay
out of the way of the multiple display code."

17 years agoCsaba HALASZ: use the OSG member variables right away
mfranz [Sun, 1 Jul 2007 14:26:06 +0000 (14:26 +0000)]
Csaba HALASZ: use the OSG member variables right away
mf: remove redundant ARC check

17 years ago- fix carttogeod() function (don't convert the altitude from radian to degree ;-)
mfranz [Sun, 1 Jul 2007 11:07:53 +0000 (11:07 +0000)]
- fix carttogeod() function (don't convert the altitude from radian to degree ;-)
- better argument check in parsexml()

17 years agominor cleanup: don't need the args array in the class anymore
mfranz [Sat, 30 Jun 2007 09:44:33 +0000 (09:44 +0000)]
minor cleanup: don't need the args array in the class anymore

17 years agoVivian MEAZZA: allow to turn off heading marker (symbol for own aircaft)
mfranz [Sat, 30 Jun 2007 08:53:06 +0000 (08:53 +0000)]
Vivian MEAZZA: allow to turn off heading marker (symbol for own aircaft)
mf: remove commented out

17 years agosync with recent changes to fg/plib
mfranz [Fri, 29 Jun 2007 22:44:41 +0000 (22:44 +0000)]
sync with recent changes to fg/plib

17 years agoadd parsexml() function, which is a wrapper around the built-in easyxml
mfranz [Fri, 29 Jun 2007 15:34:38 +0000 (15:34 +0000)]
add parsexml() function, which is a wrapper around the built-in easyxml
parser. Advantages over xml.nas:             (reviewed and OK'ed by Andy)

- faster (33% ... only. I had hoped for more.)
- more standards compliant
- should support UTF
- I don't have to support it.  ;-)

Usage: parsexml(<path> [, <start-tag> [, <end-tag> [, <data> [, <pi>]]]]);

<path> is an absolute file path, the rest are optional callback functions.

Example:
    parsexml("/tmp/foo.xml", nil, nil, func(d) { print("DATA FOUND: ", d) });

17 years agocomment out cout (XMLVisitor::endXML() works now)
mfranz [Fri, 29 Jun 2007 10:55:52 +0000 (10:55 +0000)]
comment out cout  (XMLVisitor::endXML() works now)

17 years agomake it nicer & shorter :-)
mfranz [Thu, 28 Jun 2007 19:23:57 +0000 (19:23 +0000)]
make it nicer & shorter  :-)

17 years agoAI traffic now honors separate runway assignments for different types of
durk [Thu, 28 Jun 2007 18:30:35 +0000 (18:30 +0000)]
AI traffic now honors separate runway assignments for different types of
traffic (i.e. commercial airliners will use a differnt part of the airport
than general avation, ultralight and/or military traffic.

17 years agoallow to specify a node type: --prop:[type:]name=value
mfranz [Thu, 28 Jun 2007 11:26:40 +0000 (11:26 +0000)]
allow to specify a node type:   --prop:[type:]name=value
where type is one of string (default), double, float, long, int, bool
Using only the first letter works, too.

  --prop:foo=123         ... sets property foo to string 123 (old behavior)
  --prop:string:foo=123  ... verbose version of above
  --prop:s:foo=123       ... slightly less verbose version of above
  --prop:bool:foo=1      ... makes property a bool of value 'true'

I hope this isn't considered a silly gimmick. I need this often and maybe
other developers do, too. It's useful in cases where the difference really
matters. if (getprop("/foo")), for instance, is TRUE even when the property
contains string "false", as all strings are TRUE.

17 years agoThomas Foerster: Replaced AI network route tracing algorithm by a much more
durk [Thu, 28 Jun 2007 07:54:39 +0000 (07:54 +0000)]
Thomas Foerster: Replaced AI network route tracing algorithm by a much more
efficiently performing "Dijkstra algorithm".

Durk Talsma: Added the detection of "circular" wait situations in the AI
ground network. A circular wait is a situation where aircraft a waits for
b; b waits for c; and c (in turn) waits for a. The checkCircularWaits
function detects these situations.

The current "solution" to a circular wait is rather crude: Remove the
aircraft from the scene. A proper solution needs a lot more work, however,
and at least this patch stops the AI system from clogging up. in case of a
circular wait.

17 years agoThomas Foerster: Prepare for the inclusion of aircraft specific performance
durk [Thu, 28 Jun 2007 07:47:20 +0000 (07:47 +0000)]
Thomas Foerster: Prepare for the inclusion of aircraft specific performance
data for AI traffic. Default performance classes are still available as a
backup. This database will allow the calculation of aircraft-specific
take-off speed and estimate runway lenght requirements. Further added
rudimentary support for take-off and landing rotation of AIAircraft.

17 years agoset north/east/down speed to make radar map mode work
mfranz [Wed, 27 Jun 2007 15:28:23 +0000 (15:28 +0000)]
set north/east/down speed to make radar map mode work

17 years agoFix a long standing bug in a code path that is probably executed very rarely.
curt [Tue, 26 Jun 2007 21:29:59 +0000 (21:29 +0000)]
Fix a long standing bug in a code path that is probably executed very rarely.

17 years agomake update interval configurable, even though the default 1.0 is supposed
mfranz [Sun, 24 Jun 2007 22:13:25 +0000 (22:13 +0000)]
make update interval configurable, even though the default 1.0 is supposed
to be a realistic value

17 years agowhat is this "plib" thing?!
mfranz [Sun, 24 Jun 2007 20:34:01 +0000 (20:34 +0000)]
what is this "plib" thing?!

17 years agoMaik JUSTUS: avoid Doppler artifacts (listener changes position quickly, etc.)
mfranz [Sun, 24 Jun 2007 20:32:02 +0000 (20:32 +0000)]
Maik JUSTUS: avoid Doppler artifacts (listener changes position quickly, etc.)

17 years agothe former weather radar is now a generic radar (weather and aircraft),
mfranz [Sun, 24 Jun 2007 19:50:15 +0000 (19:50 +0000)]
the former weather radar is now a generic radar (weather and aircraft),
so rename the instrument from <wxradar> to <radar>

17 years ago- don't mix /instrumentation/radar and /instrumentation/wxradar wildly
mfranz [Sun, 24 Jun 2007 17:15:48 +0000 (17:15 +0000)]
- don't mix /instrumentation/radar and /instrumentation/wxradar wildly
  together -- there's only *one* instrument node now
- don't take "random" tacan, but <tacan-source> from the instrumentation
  config (or /instrumentation/tacan[0] by default)
- don't take "random" display-controls from /instrumentation/tacan[0]
- default name is now "radar" (formerly "wxradar")

17 years agodegrade "Warning: catching up on tile delete queue" from SG_ALERT to SG_WARN.
mfranz [Sun, 24 Jun 2007 08:30:55 +0000 (08:30 +0000)]
degrade "Warning: catching up on tile delete queue" from SG_ALERT to SG_WARN.
* it says it's a warning (while in fact it's just saying what it's doing)
* the user can't do much here (yes, flying slower, but it doesn't say that :-)
* scrolling those countless messages in the terminal puts stress on the CPU
  in a time when it's apparently already struggling

17 years agoVivian MEAZZA & Tim MOORE:
mfranz [Sun, 24 Jun 2007 07:57:45 +0000 (07:57 +0000)]
Vivian MEAZZA & Tim MOORE:

- re-enable od_gauge ("owner drawn" render-to-texture instruments)
- implement radar in c++ (unlimited number of clouds/ai/mp/... objects,
  better performance)

17 years agoTim MOORE: addCamera() method (needed by og_gauge)
mfranz [Sun, 24 Jun 2007 07:52:50 +0000 (07:52 +0000)]
Tim MOORE: addCamera() method  (needed by og_gauge)

17 years agoadd geodinfo(<lat>, <lon>) function that returns an array [<elev>, <matdata>]
mfranz [Sat, 23 Jun 2007 15:25:41 +0000 (15:25 +0000)]
add geodinfo(<lat>, <lon>) function that returns an array [<elev>, <matdata>]
or nil if no terrain intersection could be made (tile not loaded yet).
<matdata> is a hash with information about the surface material, or nil
if no material is assigned (shouldn't really happen, but one never knows).

Example:

  var ac = geo.aircraft_position();
  var data = geoddata(ac.lat(), ac.lon());
  debug.dump(data);

  # which outputs
  [ 294.5862574369132, { light_coverage : 0, bumpiness : 0, load_resistance : 1e+30,
  solid : 1, names : [ "pc_taxiway", "dirt_rwytaxiway" ], friction_factor : 1,
  rolling_friction : 0.02 } ]

With this information it can be determined how far an object would sink in,
if the coordinate is on a runway, etc.

  foreach (var n; data[1].names)
      if (string.match(n, "p[ac]_*"))
          im_on_a_runway();

17 years agoMaik JUSTUS: "ease the rotor of the hornet if not rotating"
mfranz [Sat, 23 Jun 2007 06:41:17 +0000 (06:41 +0000)]
Maik JUSTUS: "ease the rotor of the hornet if not rotating"

17 years agoincrease range of searched and displayed frequencies 40 -> 50 nm
mfranz [Fri, 22 Jun 2007 18:12:31 +0000 (18:12 +0000)]
increase range of searched and displayed frequencies 40 -> 50 nm

17 years agoMaik JUSTUS: prevent occasional OpenAL crashes after resets
mfranz [Fri, 22 Jun 2007 16:51:12 +0000 (16:51 +0000)]
Maik JUSTUS: prevent occasional OpenAL crashes after resets

17 years agoMaik JUSTUS: fix/implement directional sound
mfranz [Thu, 21 Jun 2007 21:49:46 +0000 (21:49 +0000)]
Maik JUSTUS: fix/implement directional sound

17 years ago... but use the exception text, of course. :-)
mfranz [Tue, 19 Jun 2007 10:56:50 +0000 (10:56 +0000)]
... but use the exception text, of course.  :-)

17 years agofix bug that prevented /sim/sceneryloaded from ever becoming "true" if
mfranz [Tue, 19 Jun 2007 10:18:14 +0000 (10:18 +0000)]
fix bug that prevented /sim/sceneryloaded from ever becoming "true" if
/sim/screneryloaded-override was "true". At least one subsystem (od_gauge)
waits for /sim/sceneryloaded to bypass CPU intensive code until the scenery
is up. This broke e.g. the RTT-radar when using /sim/screneryloaded-override

--prop:sim/sceneryloaded-override=true has the effect that fgfs
doesn't show the splash screen until the scenery is loaded, but shows
the OTW view (scenery/aircraft) at the earliest possible moment. This is
useful for developers who often need to run fgfs only to check some minor
detail, while not caring about stuttering caused by scenery loading.

17 years agoloadxml, savexml: don't pop up a GUI error message on error, but use a
mfranz [Tue, 19 Jun 2007 10:10:00 +0000 (10:10 +0000)]
loadxml, savexml: don't pop up a GUI error message on error, but use a
simple SG_LOG instead. The user didn't call the fgcommand, so why should
s/he be bothered with that? And the actually caller of the command gets a
return value and can pop up a dialog if it thinks it's necessary.

17 years agoFix the speed estimate, tune control surface deflection gains, parse the full
curt [Mon, 18 Jun 2007 22:01:32 +0000 (22:01 +0000)]
Fix the speed estimate, tune control surface deflection gains, parse the full
gps ITOW.

17 years ago256 Bytes ought to be enough for anybody ... hmm, better 512.
mfranz [Sun, 17 Jun 2007 08:14:02 +0000 (08:14 +0000)]
256 Bytes ought to be enough for anybody ...  hmm, better 512.

Why /sim/fg-current at all? Because we have a file selector dialog
(still unfinished), and one might like to start it from the current
directory, to find saved flights/screenshots/whatever.

17 years agoset /sim/fg-current to current working directory; getcwd() is defined in
mfranz [Sat, 16 Jun 2007 21:35:16 +0000 (21:35 +0000)]
set /sim/fg-current to current working directory; getcwd() is defined in
unistd.h (which was already included), and should be available in direct.h
under name _getcwd on MS Windows.

17 years agoMaik JUSTUS: add functions carttogeod() and geodtocart() to convert between
mfranz [Sat, 16 Jun 2007 18:22:20 +0000 (18:22 +0000)]
Maik JUSTUS: add functions carttogeod() and geodtocart() to convert between
x/y/z and lat/lon/alt                                      (OK'ed by Andy)

17 years agoStay with fg_os.cxx for now
fredb [Sat, 16 Jun 2007 16:41:17 +0000 (16:41 +0000)]
Stay with fg_os.cxx for now

17 years agoDon't catch a (potentially) meaningful exception only to replace it with
mfranz [Sat, 16 Jun 2007 16:25:40 +0000 (16:25 +0000)]
Don't catch a (potentially) meaningful exception only to replace it with
a meaningless one. bootstrap.cxx/main() will catch it, anyway.

17 years agoUpdate MSVC 7.1 projects
fredb [Sat, 16 Jun 2007 16:16:27 +0000 (16:16 +0000)]
Update MSVC 7.1 projects

17 years agoWin32 fix
fredb [Sat, 16 Jun 2007 16:16:15 +0000 (16:16 +0000)]
Win32 fix

17 years agoOSG file renamed
fredb [Sat, 16 Jun 2007 16:15:49 +0000 (16:15 +0000)]
OSG file renamed

17 years agoConsistency fix
fredb [Sat, 16 Jun 2007 15:57:42 +0000 (15:57 +0000)]
Consistency fix

17 years agoTim MOORE:
mfranz [Sat, 16 Jun 2007 09:39:56 +0000 (09:39 +0000)]
Tim MOORE:

FGManipulator.*:
"This patch works around a bug in OSG's handling of modifier keys. The
symptom of the bug is that modifier keys don't appear to be released."

fg_os_osgviewer.cxx:
"This patch fixes the test for support of cursor changes in OSG 2.0."

17 years agoMaik JUSTUS: "small update to the tilt-rotor feature"
mfranz [Sat, 16 Jun 2007 07:22:47 +0000 (07:22 +0000)]
Maik JUSTUS: "small update to the tilt-rotor feature"

17 years agoRemoved a stray debug message.
durk [Sat, 16 Jun 2007 05:38:05 +0000 (05:38 +0000)]
Removed a stray debug message.

17 years agoFix for refueling and radar calculations.
durk [Fri, 15 Jun 2007 20:52:32 +0000 (20:52 +0000)]
Fix for refueling and radar calculations.

17 years agoAlex Bory: TACAN has to search the new AI submode 'tanker'.
durk [Thu, 14 Jun 2007 05:26:57 +0000 (05:26 +0000)]
Alex Bory: TACAN has to search the new AI submode 'tanker'.

17 years agoMaik: Adding support for tilting of the rotor. Can be used for small
andy [Wed, 13 Jun 2007 21:10:23 +0000 (21:10 +0000)]
Maik: Adding support for tilting of the rotor. Can be used for small
autogyros or even for the Osprey.

17 years agoMake loadxml use an absolute path, like savexml (for consistency reasons, and
mfranz [Tue, 12 Jun 2007 16:13:21 +0000 (16:13 +0000)]
Make loadxml use an absolute path, like savexml (for consistency reasons, and
because this allows to load from FG_HOME. To reduce security risks, always
append an ".xml" extension if there was none. Makes it hard to read /etc/secret
and to overwrite ~/.bashrc.  :-)

17 years agoVivian MEAZZA:
mfranz [Mon, 11 Jun 2007 20:47:20 +0000 (20:47 +0000)]
Vivian MEAZZA:

simulate rotational moment of inertia by using a filter

17 years agoTweak control input estimation gains.
curt [Mon, 11 Jun 2007 20:14:40 +0000 (20:14 +0000)]
Tweak control input estimation gains.

17 years agoAdd an option to estimate control surfaces deflections based on rotational
curt [Mon, 11 Jun 2007 19:13:08 +0000 (19:13 +0000)]
Add an option to estimate control surfaces deflections based on rotational
rates (not perfect, but lacking any data at all this is better than showing
them all hard over full stop.)

17 years ago- make next_view()/pref_view() trigger listeners, otherwise the "view_cycle"
mfranz [Mon, 11 Jun 2007 19:02:01 +0000 (19:02 +0000)]
- make next_view()/pref_view() trigger listeners, otherwise the "view_cycle"
  fgcommand doesn't activate Dynamic View, Fly-By View, etc.
- consistent indentation (broke that with my last commit :-)

17 years agoVivian MEAZZA:
mfranz [Sun, 10 Jun 2007 18:24:48 +0000 (18:24 +0000)]
Vivian MEAZZA:
- let sumodels without subsubmodels die on impact
- remove "sub-id" tying

mf: move variable declarations to better places, variable renaming

17 years agoFix indentation.
curt [Sun, 10 Jun 2007 16:01:09 +0000 (16:01 +0000)]
Fix indentation.

17 years agoSyd Adams:
curt [Sun, 10 Jun 2007 15:58:50 +0000 (15:58 +0000)]
Syd Adams:

Export ground speed to property system under /velocities.

17 years agoChanged formatting to K&R/4 by "popular demand".
durk [Sun, 10 Jun 2007 06:06:57 +0000 (06:06 +0000)]
Changed formatting to K&R/4 by "popular demand".

17 years agoA couple tweaks.
curt [Sat, 9 Jun 2007 22:38:54 +0000 (22:38 +0000)]
A couple tweaks.