david [Sun, 2 Mar 2003 16:37:48 +0000 (16:37 +0000)]
Patch from Frederic Bouvier:
arrays of insufficient size are allocated in prop_picker.cxx ( size()
don't count the null char ) and strcpy is writing outside the allocated
array. A patch follow.
david [Sun, 2 Mar 2003 14:19:24 +0000 (14:19 +0000)]
Patch from Erik Hofman:
I've updated the instrument modulator code to allow tricks like the one
described by Andy. It is now possible to define <min>, <max> and
<modulator> in one layer and if <min> and/or <max> ore within the range
of the <modulator> tag, their value will be honoured.
david [Sat, 1 Mar 2003 21:28:51 +0000 (21:28 +0000)]
Add a new <power> property to allow raising an axis to a power other
than 1 or 2 (<squared/> still works as well, and is equivalent to
<power>2</power>).
daveluff [Wed, 26 Feb 2003 11:24:15 +0000 (11:24 +0000)]
Use actual terrain ground elevation instead of hardwired KEMT elevation field whilst taxiing. Still need to fix this for takeoff and landing roll. Also added a check that a valid gate is found whilst arriving, and simply disappear the plane if none is found (instead of stackdumping\!\!
david [Fri, 21 Feb 2003 02:45:47 +0000 (02:45 +0000)]
Add fgInitNav() function so that navaids and fixes can be loaded
earlier, before fgInitSubsystems().
Modify fgInitPos() so that the plane is not automatically aligned with
a runway when an airport is the reference point unless (a) a runway
was explicitly requested, or (b) the plane is on the ground with no
offset distance specified. To set up the plane lined up on an
approach to a runway, use something like
david [Tue, 18 Feb 2003 16:50:07 +0000 (16:50 +0000)]
Added a "twist" attribute for wings to allow for washout (or washin,
if desired) in the stall. This allows for fairly docile stalls when
desired, as on trainers (you also need to limit the elevator lift).
daveluff [Thu, 13 Feb 2003 12:20:25 +0000 (12:20 +0000)]
Changes in support of Alexander's ATC menu/transmission work. In particular all the pop-up dialog stuff has been ripped out of ATCmgr.[ch]xx and moved to ATCDialog.[ch]xx
daveluff [Thu, 13 Feb 2003 12:17:37 +0000 (12:17 +0000)]
Better robustness for the ATCData structure istream operator. Adding fin.close() seems to have cured an intermittent stackdump when reading in the voice files which are the next istream operation to occur. Unknown types no longer cause the rest of the file not to be read - only the specific unknown entry
daveluff [Thu, 13 Feb 2003 12:05:19 +0000 (12:05 +0000)]
First draft of work by Alexander Kappes to add dynamically driven menu entries to the pop-up ATC dialog, parsing of text input to the ATC system and parameterised transmissions where the speech of a transmission is derived from the intent based on data files potentially allowing users to specify different phrases for each voice instead of being hard-coded. This is a work in progress.
david [Wed, 12 Feb 2003 18:34:51 +0000 (18:34 +0000)]
Square the /environment/turbulence-norm property before scaling it for
FGAtmosphere -- that way, there are finer distinctions in the lower
end, where most people will fly.
david [Tue, 11 Feb 2003 20:05:18 +0000 (20:05 +0000)]
Temporarily disabled ILS range tweaking, until we come up with a
better scheme.
While it's true that the actual ILS indications are unreliable when
far off the approach path, the ILS is not out of range -- you can
still ident it (an essential part of any approach procedure), and the
indicator will usually be doing something, however bizarre. The
current scheme did not allow the user to ident the ILS until
practically on the approach path.
curt [Thu, 6 Feb 2003 19:44:32 +0000 (19:44 +0000)]
There are a number of little changes. Tested with current cvs as of 20:30EST
04Feb. Actually been running since the beginning of January with these
patches. All changes work without crashing with the current base package cvs,
but there are some visual problems with the views (other than pilot view)
without changes to the base package.
As soon as you can build test and commit I can add in those base package
updates that will make it all work nicely. I will also go through all the 3D
Aircraft configs to make sure the change in the "pitch-offset" for cockpit
views (see below) are made to maintain current behavior.
Here are the files (changes listed below):
http://www.spiderbark.com/fgfs/viewerupdate.diffs.gz
http://www.spiderbark.com/fgfs/viewerupdate.tar.gz
daveluff [Thu, 6 Feb 2003 10:42:43 +0000 (10:42 +0000)]
Major re-work of the comm frequency storage and lookup. Only a small core amount of data is now stored instead of the whole ATC classes. All the comm frequency types are now stored in one map instead of a map each. query(...) and query_bck(...) have been renamed to FindByFreq(...) and FindByPos(...) for clarity and consistency with NavList
david [Wed, 5 Feb 2003 01:09:20 +0000 (01:09 +0000)]
Patches from Johan Walles:
Here are the two modifications I had to make to get flightgear (just
updated from CVS) to build. The first one is for being able to specify
SimGear's location at the ./configure command line, and the second one
is to be able to link.
curt [Tue, 4 Feb 2003 22:27:58 +0000 (22:27 +0000)]
James Turner:
Here's a change to the GUI property picker I did a few weeks back.
It makes the values in the property pick 'live' (and also re-factors
the picker code to use less arrays, this should be obvious from the
diffs). A good demo is to open up the engine node and observe the rpm,
cylinder head temp, oil pressure and so on while playing with the
throttle and airspeed. It's pretty rough (some rounding of digits would
help) but useful for testing (at least I think so). I'm not sure about
the performance implications either, but it seems fine for me.
curt [Mon, 3 Feb 2003 22:35:24 +0000 (22:35 +0000)]
Add support for specifying an rpm source for the alternator. This enables
us to tie the output of an arbitrary generator to the state of an arbitrary
engine.
curt [Mon, 3 Feb 2003 22:15:36 +0000 (22:15 +0000)]
Add the ability to specify an initial state (on/off) for a connector switch.
If nothing is specifed the switch defaults to on, but this is a problem for
the starter switch.
david [Sat, 1 Feb 2003 17:59:52 +0000 (17:59 +0000)]
Minor logging changes.
All logs and log entries are now disabled by default, unless
explicitly enabled by an 'enabled' property. This works much more
intuitively with the GUI dialog.
david [Sat, 25 Jan 2003 21:49:57 +0000 (21:49 +0000)]
Kludge in a /systems/electrical/serviceable master property to kill
the whole electrical system. We will also need a mechanism to kill
individual suppliers (such as the alternator), but this is good enough
for most training.