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.
curt [Sat, 25 Jan 2003 20:45:39 +0000 (20:45 +0000)]
Refactored some of the navlist code and removed the built in "fail to find"
if the station is too far away. Instead, simply return the closest station.
All the code that searches navaids does it's own range checking anyway.
This will make the navlist query functions a bit more useful for other
types of functionality where you may need to lookup a station without
consideration of range (i.e. presetting your position relative to a navaid.)
david [Sat, 25 Jan 2003 19:49:27 +0000 (19:49 +0000)]
Added a Gyro helper class to factor out some common code for managing
a spinning gyro.
Changed FGInstrumentMgr to inherit from FGSubsystemGroup, greatly
simplifying the (already simple) class. I should probably rename this
to FGInstrumentGroup or something similar, but not today.
Added the gyroscopic turn indicator (part of the TC).
curt [Wed, 22 Jan 2003 01:24:32 +0000 (01:24 +0000)]
Add a "signed" distance to the GS transmitter. When you are in the approach
hemisphere the distance is positive, if you are in the departure hemisphere
the distance is negature. (Possible use for graphing approach distance
vs. glide slope or cdi.)
david [Tue, 21 Jan 2003 02:09:27 +0000 (02:09 +0000)]
Added support for reinit(), to reload the configuration files without
having to restart FlightGear. This should speed up GUI design and
debugging quite a bit.
david [Sat, 18 Jan 2003 21:59:25 +0000 (21:59 +0000)]
Removed a couple of the deprecated dialogs, and removed the old
predefined bindings for F11 and F12. Instead, there is now a soft
binding from F11 to the autopilot dialog.
curt [Sat, 18 Jan 2003 19:40:28 +0000 (19:40 +0000)]
Make the destructor virtual.
(I thought I'd slip this in along with David's change to the default menu
configure option. I believe that will cause a new config.h to be generated
which will cause a near complete rebuild of FG (as will this globals.hxx
change) so it shouldn't cause additional grief to have these happen at the
same time.)
david [Sat, 18 Jan 2003 16:26:41 +0000 (16:26 +0000)]
Add in some temporary commands to get at the old, hard-coded dialogs.
Most of these will eventually be replaced with XML-configured dialogs,
and the rest will be turned into proper widgets or global commands.