]> git.mxchange.org Git - flightgear.git/log
flightgear.git
18 years agofix ugly aliasing effects in moving scales (caused by integer calculation
mfranz [Mon, 12 Jun 2006 22:27:10 +0000 (22:27 +0000)]
fix ugly aliasing effects in moving scales (caused by integer calculation
of tick coords)

18 years ago- remove trailing spaces
mfranz [Mon, 12 Jun 2006 21:34:47 +0000 (21:34 +0000)]
- remove trailing spaces
- fix indentation, alignment and other formal stuff

18 years ago- remove evil exit()
mfranz [Mon, 12 Jun 2006 15:39:38 +0000 (15:39 +0000)]
- remove evil exit()
- remove "enabled". It's unused, and that's a good thing: it wasn't
  initialized.

18 years agoadd Nasal/Listener hooks for adding/removing AI/MP models. Things like
mfranz [Sun, 11 Jun 2006 15:32:18 +0000 (15:32 +0000)]
add Nasal/Listener hooks for adding/removing AI/MP models. Things like
MP chat or Nasal/xml based radar instruments need that. It uses fgSetString,
because this is in a very "cold path" and shouldn't clutter the AIBase.

18 years agoremove the "ai_model" subsystem manually before the other subsystems
mfranz [Sun, 11 Jun 2006 15:18:48 +0000 (15:18 +0000)]
remove the "ai_model" subsystem manually before the other subsystems
are taken down by the C++ runtime environment. This will later be done
with runlevels. Why would we want to run nasal code in subsystem
destructors? We don't really. But some data structures may use nasal,
which are normally created/destroyed during runtime. And these will
also be destroyed at fgfs exit. In the past things like these didn't
happen, because someone had disabled all subsystem destructors ...

18 years agoModified Files:
frohlich [Sun, 11 Jun 2006 13:34:18 +0000 (13:34 +0000)]
Modified Files:
src/AIModel/AIAircraft.cxx src/ATC/AILocalTraffic.cxx
src/FDM/flight.cxx src/FDM/flight.hxx src/FDM/groundcache.cxx
src/FDM/groundcache.hxx src/Main/fg_init.cxx src/Main/main.cxx
src/Scenery/hitlist.cxx src/Scenery/hitlist.hxx
src/Scenery/scenery.cxx src/Scenery/scenery.hxx
Make use of the attached SGMaterial reference userdata on scenegraph
leafs. Make the SGMaterial pointer available to the ground query
routines.

18 years agofix another crash on exit by finally converting the rest of unguarded
mfranz [Sun, 11 Jun 2006 10:21:10 +0000 (10:21 +0000)]
fix another crash on exit by finally converting the rest of unguarded
SGPropertyNode to guarded ones. This is also done for JSBSim/JSBSim.hxx,
for which JSB had given explicit permission a while ago. I postponed that
back then, but now is the time.

18 years agomake sure the "nasal" subsystem is one of the last to be removed. That
mfranz [Sat, 10 Jun 2006 22:24:05 +0000 (22:24 +0000)]
make sure the "nasal" subsystem is one of the last to be removed. That
way it can still process listener code during shutdown.

18 years ago- remove listener in ~FGNasalListener(), not FGNasalSys::removelistener
mfranz [Sat, 10 Jun 2006 22:21:22 +0000 (22:21 +0000)]
- remove listener in ~FGNasalListener(), not FGNasalSys::removelistener
- delete all listeners in ~FGNasalSys()

18 years agothe special line width doesn't make much sense, as it's only applied to the
mfranz [Sat, 10 Jun 2006 15:25:48 +0000 (15:25 +0000)]
the special line width doesn't make much sense, as it's only applied to the
arrow head marks. It was probably thought for all lines, but as those are
wide enough, I just comment that out for now.

18 years agoUpdates to the MSVC8 project file from Olaf.
frohlich [Sat, 10 Jun 2006 11:19:51 +0000 (11:19 +0000)]
Updates to the MSVC8 project file from Olaf.

18 years agotreat colors like the other parameters: only copy them from the palette
mfranz [Sat, 10 Jun 2006 09:22:27 +0000 (09:22 +0000)]
treat colors like the other parameters: only copy them from the palette
color group /sim/hud/palette/color[*]/ to the active group /sim/hud/color/
if they really exist. (Parameters like <antialiased> can be set in the
active group and be left alone, or set by each <palette> color group.)

18 years agoconsider new HUD path. It doesn't seem to make sense to put "antialiased"
mfranz [Sat, 10 Jun 2006 07:23:15 +0000 (07:23 +0000)]
consider new HUD path. It doesn't seem to make sense to put "antialiased"
into the <color> group, but that's because on HUD color changes a whole
"color" set from /sim/hud/palette/color[*] is copied to /sim/hud/color/, and
antialiasing needs to be considered with that. (I'm not entirely happy
with the property names yet.)

18 years ago- remove lots of traling spaces
mfranz [Fri, 9 Jun 2006 21:29:40 +0000 (21:29 +0000)]
- remove lots of traling spaces
- fix indendation and alignment

18 years ago- add transparency option
mfranz [Fri, 9 Jun 2006 20:37:16 +0000 (20:37 +0000)]
- add transparency option
- comment out date/time ... this needs to be added to the HUDs that need it

18 years ago- remove trailing spaces
mfranz [Fri, 9 Jun 2006 18:48:57 +0000 (18:48 +0000)]
- remove trailing spaces
- fix many cases of broken indentation (but not all)
- unify indendation
- ...

18 years agoVivian MEAZZA:
mfranz [Fri, 9 Jun 2006 18:29:51 +0000 (18:29 +0000)]
Vivian MEAZZA:

" Make a couple of minor adjustments to Harald's weather radar code, make
elevation work in the radar code, and add station ident to the TACAN code"

18 years ago- remove obsolete definition
mfranz [Fri, 9 Jun 2006 10:53:48 +0000 (10:53 +0000)]
- remove obsolete definition
- make sure HUD is only initialized once

18 years ago- copy preset colors from <palette> to /sim/hud/color
mfranz [Thu, 8 Jun 2006 17:14:59 +0000 (17:14 +0000)]
- copy preset colors from <palette> to /sim/hud/color
- listen to color, alpha, alpha-clamping
- fix blend mode

18 years agoFix wrong documentation link
fredb [Thu, 8 Jun 2006 12:14:35 +0000 (12:14 +0000)]
Fix wrong documentation link

18 years agoMake use of the ground material types
frohlich [Thu, 8 Jun 2006 05:58:36 +0000 (05:58 +0000)]
Make use of the ground material types

18 years ago- don't hide HUD only because the color index is invalid
mfranz [Wed, 7 Jun 2006 21:41:32 +0000 (21:41 +0000)]
- don't hide HUD only because the color index is invalid
- initialize color components

18 years agoboy, what a load of ...
mfranz [Wed, 7 Jun 2006 21:35:11 +0000 (21:35 +0000)]
boy, what a load of ...

18 years agowhoops ... compile (this silly #define will be removed very soon)
mfranz [Wed, 7 Jun 2006 21:28:33 +0000 (21:28 +0000)]
whoops ... compile  (this silly #define will be removed very soon)

18 years agoremove obsolete constants
mfranz [Wed, 7 Jun 2006 21:09:38 +0000 (21:09 +0000)]
remove obsolete constants

18 years ago- drop hardcoded color/brightness values
mfranz [Wed, 7 Jun 2006 18:01:19 +0000 (18:01 +0000)]
- drop hardcoded color/brightness values
- let listener class watch and maintain HUD color properties, which is
  more effective and more flexible.

18 years agoremove obsolete HUD fgcommands
mfranz [Wed, 7 Jun 2006 17:59:28 +0000 (17:59 +0000)]
remove obsolete HUD fgcommands

18 years agobark if the requested font isn't a texture font. A more graceful recovery
mfranz [Tue, 6 Jun 2006 19:25:33 +0000 (19:25 +0000)]
bark if the requested font isn't a texture font. A more graceful recovery
doesn't buy us much, as the font is only set at initialization time and not
changeable later. Better tell the user immediately that he goofed.

18 years agorestore old default; this should probably be configurable ...
mfranz [Tue, 6 Jun 2006 18:36:34 +0000 (18:36 +0000)]
restore old default; this should probably be configurable ...

18 years agobetter always use style[0] (again). Otherise *-set.xml can't easily change
mfranz [Tue, 6 Jun 2006 17:30:49 +0000 (17:30 +0000)]
better always use style[0] (again). Otherise *-set.xml can't easily change
background/font

18 years agouse global fontcache ... this is mostly cosmetic, as the whole file will
mfranz [Tue, 6 Jun 2006 16:33:38 +0000 (16:33 +0000)]
use global fontcache ... this is mostly cosmetic, as the whole file will
probably die a soon as the old property picker was removed

18 years ago- use global fontcache
mfranz [Tue, 6 Jun 2006 15:34:18 +0000 (15:34 +0000)]
- use global fontcache
- make font/size configurable

18 years agouse global fontcache. This hast the nice side effect that panels can now
mfranz [Tue, 6 Jun 2006 12:52:45 +0000 (12:52 +0000)]
use global fontcache. This hast the nice side effect that panels can now
use *any* texture (*.txf) font, not just "typewriter" and "led".

18 years agoFGFontCache: add getter for the fntTexFont component of a cached font
mfranz [Tue, 6 Jun 2006 12:49:42 +0000 (12:49 +0000)]
FGFontCache: add getter for the fntTexFont component of a cached font

18 years agoread font and colors from the selected style, not always from /sim/gui/style[0]
mfranz [Mon, 5 Jun 2006 22:03:23 +0000 (22:03 +0000)]
read font and colors from the selected style, not always from /sim/gui/style[0]

18 years agodon't choke on invalid nodes
mfranz [Mon, 5 Jun 2006 21:55:18 +0000 (21:55 +0000)]
don't choke on invalid nodes

18 years agouse the global fontcache; this has the nice side-effect that the font is
mfranz [Mon, 5 Jun 2006 20:49:35 +0000 (20:49 +0000)]
use the global fontcache; this has the nice side-effect that the font is
now settable via /sim/gui/style/fonts/splash/{name,size,slant}

18 years agouse global fontcache
mfranz [Mon, 5 Jun 2006 20:25:43 +0000 (20:25 +0000)]
use global fontcache

18 years agomake FGFontCache independent of NewGUI and allow early construction in
mfranz [Mon, 5 Jun 2006 20:23:56 +0000 (20:23 +0000)]
make FGFontCache independent of NewGUI and allow early construction in
FGGlobals

18 years agomake fontcache globally available
mfranz [Mon, 5 Jun 2006 20:21:45 +0000 (20:21 +0000)]
make fontcache globally available

18 years agowhoops, sorry, I forgot to commit that. (Thanks, Fred, for fixing).
mfranz [Mon, 5 Jun 2006 16:28:20 +0000 (16:28 +0000)]
whoops, sorry, I forgot to commit that. (Thanks, Fred, for fixing).
Belongs to the SGSubsystem interface functions.

18 years agoDeclare new member functions
fredb [Mon, 5 Jun 2006 16:19:50 +0000 (16:19 +0000)]
Declare new member functions

18 years agomake modifier keys accessible via /devices/status/keyboard/{shift,ctrl,alt}
mfranz [Mon, 5 Jun 2006 13:45:59 +0000 (13:45 +0000)]
make modifier keys accessible via /devices/status/keyboard/{shift,ctrl,alt}

18 years agofix the splash background color property path
mfranz [Sun, 4 Jun 2006 17:18:05 +0000 (17:18 +0000)]
fix the splash background color property path

18 years ago- display of SGPropertyNode flags can now be toggled per <property-list>
mfranz [Sat, 3 Jun 2006 11:20:19 +0000 (11:20 +0000)]
- display of SGPropertyNode flags can now be toggled per <property-list>
  widget (Ctrl-click on "." entry), so we don't need a global property
  for this
- s/dotFiles/_dot_files/ for consistency reasons

18 years agoFix a dumb bug where I inadvertantly did a computation in int32 land causing
curt [Thu, 1 Jun 2006 21:13:56 +0000 (21:13 +0000)]
Fix a dumb bug where I inadvertantly did a computation in int32 land causing
me to loose 2 decimal places in my location data before converting to lon/lat.

18 years agoMask error message 'Failed to find runway 28R at ...' when no runway is requested...
fredb [Wed, 31 May 2006 07:20:10 +0000 (07:20 +0000)]
Mask error message 'Failed to find runway 28R at ...' when no runway is requested in the command line

18 years agoFrom Olaf Flebbe: avoid iterator overruns if we delete the last list entry.
frohlich [Tue, 30 May 2006 17:21:50 +0000 (17:21 +0000)]
From Olaf Flebbe: avoid iterator overruns if we delete the last list entry.

18 years ago- use guarded pointer for (unused) refuel_node
mfranz [Fri, 26 May 2006 05:23:40 +0000 (05:23 +0000)]
- use guarded pointer for (unused) refuel_node
- comment out refuel_node->setBoolValue()  (as it was in the original patch :-)

18 years agonot that!
mfranz [Wed, 24 May 2006 21:05:48 +0000 (21:05 +0000)]
not that!

18 years agos/isascii/isprint/
mfranz [Wed, 24 May 2006 21:02:52 +0000 (21:02 +0000)]
s/isascii/isprint/

18 years ago- fix slider
mfranz [Wed, 24 May 2006 20:46:10 +0000 (20:46 +0000)]
- fix slider
- order functions like in puAuxList.cxx (plib/cvs) for easier
  back/forward-porting

18 years ago- force multiline contents (Nasal scripts!) into one line, so that they
mfranz [Wed, 24 May 2006 14:00:56 +0000 (14:00 +0000)]
- force multiline contents (Nasal scripts!) into one line, so that they
  don't print over other entries or even leak out of the widget
- warning-- (MSVC)

18 years agoCompile
fredb [Wed, 24 May 2006 10:51:35 +0000 (10:51 +0000)]
Compile

18 years agoVivian MEAZZA:
mfranz [Wed, 24 May 2006 10:06:44 +0000 (10:06 +0000)]
Vivian MEAZZA:

"Remove unnecessary, redundant or duplicated code. Functionally, there is no
change"

18 years agook, now I know why the destructor was commented out in prop_picker.cxx:
mfranz [Wed, 24 May 2006 09:42:10 +0000 (09:42 +0000)]
ok, now I know why the destructor was commented out in prop_picker.cxx:
there's a bug that I had copied: update() checks each list node: if it
has no children, then a listener is attached. Later, when freeing the
children list, it assumed again that each node without children would
have a listener attached. This caused a crash when a node had children
before, but lost them in the meantime. Now we tried to remove a listener
where there never was one.

18 years ago- don't jump to top after bool toggling
mfranz [Tue, 23 May 2006 21:35:38 +0000 (21:35 +0000)]
- don't jump to top after bool toggling

18 years agocatch non-existent nodes, too
mfranz [Tue, 23 May 2006 20:48:01 +0000 (20:48 +0000)]
catch non-existent nodes, too

18 years agotreat widget input correctly
mfranz [Tue, 23 May 2006 20:24:56 +0000 (20:24 +0000)]
treat widget input correctly

18 years agodon't abort fgfs only because a nasal script called a property function
mfranz [Tue, 23 May 2006 18:55:38 +0000 (18:55 +0000)]
don't abort fgfs only because a nasal script called a property function
with an invalid path, as in getprop("/sim/model/737") or x.getNode("f:1").
Forward sg's error message to the Nasal runtime error function instead, so
you get something like:

  Nasal runtime error: name must begin with alpha or '_'
    at /home/m/fgfs/Base.local/Nasal/props.nas, line 30

Unfortunately, the location points to the line where the ghost wrapper
sits, rather than the offending script line.

18 years agougly "fix": the constructor was commented out in prop_picker.cxx since
mfranz [Tue, 23 May 2006 16:49:32 +0000 (16:49 +0000)]
ugly "fix": the constructor was commented out in prop_picker.cxx since
*many* years, so the property browser always leaked memory. I activated
this line in property_list.cxx and ... got a crash right there. So this
was the reason for it being commented out? Doing the same for now, until
I know the exact reason and can really fix it.

18 years agofix for broken plib 1.8.4
mfranz [Tue, 23 May 2006 16:44:10 +0000 (16:44 +0000)]
fix for broken plib 1.8.4

18 years agoVivian MEAZZA:
mfranz [Mon, 22 May 2006 20:18:40 +0000 (20:18 +0000)]
Vivian MEAZZA:

"Bug Fix - amend the code so that JSBSIm can have more than one tanker in
the environment at the same time. A nasal script has to be added to each
aar-capable JSBSim model to complete this fix."

18 years ago- move the ID stuff to dialog.hxx
mfranz [Mon, 22 May 2006 16:14:50 +0000 (16:14 +0000)]
- move the ID stuff to dialog.hxx
- add an identifier to fgPropertyList(), which is also PUCLASS_LIST based

18 years agomake new widget available as <property-list>
mfranz [Mon, 22 May 2006 14:35:39 +0000 (14:35 +0000)]
make new widget available as <property-list>

18 years agoadd property_list.[ch]xx
mfranz [Mon, 22 May 2006 14:34:59 +0000 (14:34 +0000)]
add property_list.[ch]xx

18 years agonew property browser widget
mfranz [Mon, 22 May 2006 14:34:20 +0000 (14:34 +0000)]
new property browser widget

18 years ago- backport plib/cvs (transparency feature; never tried that :-)
mfranz [Mon, 22 May 2006 14:33:01 +0000 (14:33 +0000)]
- backport plib/cvs  (transparency feature; never tried that :-)
- backport submissions for plib 1.8.5:
  * set slider size correctly
  * remove slider/arrow when all entries fit into the view
  * don't allow to scroll off the list

18 years agothe last patch fixed the AirportList ... and broke all other PUCLASS_LIST.;
mfranz [Sun, 21 May 2006 22:14:18 +0000 (22:14 +0000)]
the last patch fixed the AirportList ... and broke all other PUCLASS_LIST.;
Unfortunately, there's no simple way to distinguish them. plib has no
user defined widget classes, and getTypeString() -- which could be used
for that -- isn't virtual. Sigh. I'll discuss the problem on the plib list.
For now I can only offer an ugly workaround. (Don't look closely!)

18 years ago- replace string methods with property methods The class was originally adapted
mfranz [Sat, 20 May 2006 15:25:38 +0000 (15:25 +0000)]
- replace string methods with property methods The class was originally adapted
  from plib's file-picker, where it made some sense to keep the current path as
  string, and to chop off elements when leaving a dir, and adding them when
  entering. But it doesn't make the least sense in SGPropertyNode space, where
  we already have everything to move in a tree.

- add R & W flags for TRACE_READ and TRACE_WRITE. Remember: lower case letters:
  disabled (rw ... reading/writing), upper case letters: enabled (RWAUT)

- remove some verbosity & further cleanup ... to make further work easier :-)

18 years agoCreate the /sim/ai node if someone has the unfortunate idea of removing it from prefe...
fredb [Sat, 20 May 2006 13:29:31 +0000 (13:29 +0000)]
Create the /sim/ai node if someone has the unfortunate idea of removing it from preferences.xml

18 years agoAdd an option to enable ai scenarii from the command line instead of editing preferen...
fredb [Sat, 20 May 2006 12:19:33 +0000 (12:19 +0000)]
Add an option to enable ai scenarii from the command line instead of editing preferences.xml

18 years agofix "airport list" crash: I had wrongly assumed that now all PUCLASS_LIST
mfranz [Sat, 20 May 2006 11:35:28 +0000 (11:35 +0000)]
fix "airport list" crash: I had wrongly assumed that now all PUCLASS_LIST
would actually be an fgList class. The airport list is a PUCLASS_LIST, too,
so we have to check for that. -> Use getTypeString() for identification.

18 years ago- unify several indentation and coding styles (and no, this is not my
mfranz [Fri, 19 May 2006 10:59:04 +0000 (10:59 +0000)]
- unify several indentation and coding styles (and no, this is not my
  preferred style, but the most sane of those used :-)
- remove trailing spaces
- cleanup

(all of this will make further work on the files easier)

18 years agoVivian MEAZZA:
mfranz [Thu, 18 May 2006 16:59:04 +0000 (16:59 +0000)]
Vivian MEAZZA:

"Add Air to Air TACAN and User-User refuelling over the Multiplayer Network.
With this change, your TACAN instrument can be tuned to the channel of a
Multiplayer ac. It also activates fuel flow between User and User aircraft
when they are less than 50 ft apart. To participate in multiplayer as a
tanker, all you require to do is to use the callsign MOBIL* (where * is some
number) on the net. Only MOBIL1, MOBIL2 and MOBIL3 have been assigned TACAN
channels, but any MOBIL callsign will be able to give fuel."

18 years agoshow attributes if /sim/gui/dialogs/property-browser/show-flags == true:
mfranz [Thu, 18 May 2006 14:46:42 +0000 (14:46 +0000)]
show attributes if /sim/gui/dialogs/property-browser/show-flags == true:

r ... read protected
w ... write protected (untested; does probably not work for obvious reasons ;-)
A ... archive
U ... userarchive
T ... tied

18 years agounselect entry after editing process has been finished
mfranz [Thu, 18 May 2006 13:09:34 +0000 (13:09 +0000)]
unselect entry after editing process has been finished

18 years agodon't reset list to top after having changed a value
mfranz [Thu, 18 May 2006 12:51:32 +0000 (12:51 +0000)]
don't reset list to top after having changed a value

18 years agoCtrl-Click on bool entry toggles property
mfranz [Thu, 18 May 2006 12:12:10 +0000 (12:12 +0000)]
Ctrl-Click on bool entry toggles property

18 years agoSDL 1.2.10 (released today!) doesn't report unicode on key release. Now
mfranz [Wed, 17 May 2006 21:21:38 +0000 (21:21 +0000)]
SDL 1.2.10 (released today!) doesn't report unicode on key release. Now
we have to ourselves which unicode code a key release even should fire.
(Tested with 1.2.9 and an 1.2.10. Please report any new keyboard problems.)

18 years ago- undefine PUCLASS_LIST, as we have our own (old_warning--)
mfranz [Tue, 16 May 2006 12:45:38 +0000 (12:45 +0000)]
- undefine PUCLASS_LIST, as we have our own (old_warning--)
- PropertyObject: remove additional "values" member again
- don't create entry lists for <list>, <select>, and <combo> at dialog
  creation and delete them on dialog close, but let a separate class
  fgValueList handle this. The three widgets are now subclassed and the
  derived widget lets fgValueList manage the lists
- make <select> consistent with <list>. This breaks backwards
  compatibility, but not a single dialog in fgfs uses it and did so
  since ... forever. (Shoot me!)

Rationale: now that dialogs are a bit more dynamic than they used to be
(thanks to embedded Nasal), we have to delete and recreate entry lists
during dialog use. Deleting only at dialog closing doesn't cut it anymore.
Especially list widgets that are updated several times per second would
use up a lot of memory otherwise. The route-manager doesn't update that
often, but it did already leak. One TODO less.  :-)

18 years agoVivian MEAZZA: check for carrier name and aircraft callsign without
mfranz [Mon, 15 May 2006 10:47:32 +0000 (10:47 +0000)]
Vivian MEAZZA: check for carrier name and aircraft callsign without
               creating them

18 years agolinking with the puaux lib would be recommendable, if we are using its
mfranz [Sun, 14 May 2006 12:22:53 +0000 (12:22 +0000)]
linking with the puaux lib would be recommendable, if we are using its
widgets  ;-)

18 years agofix data type (no wonder that this crashes on 64 bit systems :-)
mfranz [Sun, 14 May 2006 11:14:49 +0000 (11:14 +0000)]
fix data type (no wonder that this crashes on 64 bit systems :-)

18 years agoUse puAux widgets available in plib 1.8.4 instead of using pui deprecated widgets...
fredb [Sun, 14 May 2006 09:03:50 +0000 (09:03 +0000)]
Use puAux widgets available in plib 1.8.4 instead of using pui deprecated widgets now removed from CVS

18 years ago- remove trailing spaces
mfranz [Sat, 13 May 2006 10:02:17 +0000 (10:02 +0000)]
- remove trailing spaces
- fix ridiculous mixture of 2-space-, 3-space-, 4-space-, tab-indents,
  and ~K&R & (braindead) FSF coding style

18 years agoVivian MEAZZA:
mfranz [Sat, 13 May 2006 09:06:57 +0000 (09:06 +0000)]
Vivian MEAZZA:

"Preparations for an upgrade to Air-to-Air Refuelling to allow more than one
tanker in the environment at a time. This will only work with YASim models.
JSBSim models are unaffected by this change."

18 years ago- remove listener first in the destructor
mfranz [Fri, 12 May 2006 15:37:25 +0000 (15:37 +0000)]
- remove listener first in the destructor
- make function arg const again

18 years agoonly lock AP automatically if above /autopilot/route-manager/min-lock-altitude-agl-ft
mfranz [Fri, 12 May 2006 09:36:21 +0000 (09:36 +0000)]
only lock AP automatically if above /autopilot/route-manager/min-lock-altitude-agl-ft
The ufo sets this to a very low value, "serious" aircraft (which don't want this
unrealistic automatism at all) set it to a very high value, and those that don't
care ... don't need to care.

18 years agoonly activate heading & altitude lock when in air (and even then it should
mfranz [Thu, 11 May 2006 10:01:47 +0000 (10:01 +0000)]
only activate heading & altitude lock when in air (and even then it should
probably be configurable?).

18 years agoalso set new target altitude if wp is appended to empty list
mfranz [Wed, 10 May 2006 21:46:27 +0000 (21:46 +0000)]
also set new target altitude if wp is appended to empty list

18 years ago- set target altitude if a new WP becomes active through deleting/inserting
mfranz [Wed, 10 May 2006 09:40:08 +0000 (09:40 +0000)]
- set target altitude if a new WP becomes active through deleting/inserting
- cosmetics

18 years agoremove wrong comment; should be obvious, anyway
mfranz [Tue, 9 May 2006 21:08:01 +0000 (21:08 +0000)]
remove wrong comment; should be obvious, anyway

18 years ago- implement target altitude handling
mfranz [Tue, 9 May 2006 21:01:01 +0000 (21:01 +0000)]
- implement target altitude handling

18 years agoadd "signals" for start and end of screenshot capturing. Like the other
mfranz [Tue, 9 May 2006 09:39:28 +0000 (09:39 +0000)]
add "signals" for start and end of screenshot capturing. Like the other
signals, this is meant for attaching listeners. The ufo will use that to
hide/reveal the status line in screenshots. The following signal properties
are now available:

  /sim/signals/exit       ... set to 1 right before quitting
  /sim/signals/reinit     ... set to 1 on re-init  (Shift-Esc)
  /sim/signals/screenshot ... set to 1 before and to 0 after screenshot
  /sim/signals/click      ... set to 1 after mouse clicks at terrain, signalling
                              that the geo coords in /sim/input/click/ were updated

18 years agoremove obsolete menu functions
mfranz [Mon, 8 May 2006 15:00:10 +0000 (15:00 +0000)]
remove obsolete menu functions

18 years agoremove obsolete fgcommands
mfranz [Mon, 8 May 2006 14:56:46 +0000 (14:56 +0000)]
remove obsolete fgcommands

18 years agoignore spaces after the colon in "@insert 3: ebase"
mfranz [Mon, 8 May 2006 14:53:23 +0000 (14:53 +0000)]
ignore spaces after the colon in  "@insert 3: ebase"

18 years ago- move auto_gui's addWaypoint to routemgr.cxx
mfranz [Mon, 8 May 2006 14:35:29 +0000 (14:35 +0000)]
- move auto_gui's addWaypoint to routemgr.cxx
- add command interface property (monitored by listener)
- remove all traces of auto_gui.[ch]xx
- remove some trailing spaces, fix indentation

18 years agoDave Culp:
curt [Tue, 2 May 2006 01:19:02 +0000 (01:19 +0000)]
Dave Culp:

I've got some updates for the soaring scenario that will make for a more
realistic (and fun) experience.  They are:

1)  A cap cloud, which will sit atop each thermal
2)  A thermal scenario with wide coverage around KSFO, and using cap clouds
3)  A one-line change to AIThermal.cxx to position cap cloud properly
4)  Schweizer 2-33 set file change to match cloud coverage with thermal
heights.

files:

1)  data/Models/Geometry/thermalcap.ac
2)  data/Models/Geometry/thermalcap.xml
3)  data/Models/Geometry/thermal_cap.rgb

4)  data/AI/thermal_demo.xml

5)  data/Aircraft/sgs233/sgs233-set.xml

6)  source/src/AIModel/AIThermal.cxx
*** or, if you prefer diffs ***
7)  aimodel.diff