]> git.mxchange.org Git - flightgear.git/log
flightgear.git
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

18 years agoAdd binary output support for the generic protocol.
ehofman [Sat, 29 Apr 2006 12:17:30 +0000 (12:17 +0000)]
Add binary output support for the generic protocol.

18 years agoAdd support for a binary output mode.
ehofman [Sat, 29 Apr 2006 11:15:44 +0000 (11:15 +0000)]
Add support for a binary output mode.

18 years agoadd an optional property node pointer to ObjectProperty. This is currently
mfranz [Fri, 28 Apr 2006 15:55:41 +0000 (15:55 +0000)]
add an optional property node pointer to ObjectProperty. This is currently
only used by the <list> widget. It allows to "dialog-update" the list,
which rescans the <value> children and redraws the list widget with new
contents. The old contents are only freed at dialog close, which should
eventually get changed.

18 years agoempty names aren't names
mfranz [Fri, 28 Apr 2006 12:56:11 +0000 (12:56 +0000)]
empty names aren't names

18 years agowhat about using the right variable?
mfranz [Fri, 28 Apr 2006 12:14:23 +0000 (12:14 +0000)]
what about using the right variable?

18 years ago- merge FGDialog::{update,apply}Value{,s} ... there's really no need to have
mfranz [Fri, 28 Apr 2006 11:49:11 +0000 (11:49 +0000)]
- merge FGDialog::{update,apply}Value{,s} ... there's really no need to have
  two almost identical functions for these methods. It only forces to repeat
  the redundancy for every small change to either.
- abstract out generation and destruction of plib string arrays
- abstract out generation of lists from <value> children

18 years agonewgui.[ch]xx: implement FGDialog *NewGUI::getDialog(cont string&)
mfranz [Fri, 28 Apr 2006 10:27:54 +0000 (10:27 +0000)]
newgui.[ch]xx:  implement  FGDialog *NewGUI::getDialog(cont string&)
fg_command.cxx: add possibility to "dialog-apply" or "dialog-update"
                an arbitrary active (= open) dialog or widget

18 years agorename NewGUI::getDialog() to NewGUI::getDialogProperties()
mfranz [Fri, 28 Apr 2006 09:59:31 +0000 (09:59 +0000)]
rename NewGUI::getDialog() to NewGUI::getDialogProperties()
getDialog wrongly implies that it returns an FGDialog, and we might later
need a real getDialog.

18 years agoexplain createModule()'s optional SGPropertyNode argument
mfranz [Thu, 27 Apr 2006 16:40:04 +0000 (16:40 +0000)]
explain createModule()'s optional SGPropertyNode argument

18 years agoadd optional SGPropertyNode* argument to NasalSys::createModule. This is
mfranz [Thu, 27 Apr 2006 15:56:51 +0000 (15:56 +0000)]
add optional SGPropertyNode* argument to NasalSys::createModule. This is
used in dialog.cxx to allow XML dialogs access to their own prop tree via
Nasal's cmdarg(). That way dialogs can generate dynamic content, such as
list entries.

18 years agouse guarded pointers
mfranz [Thu, 27 Apr 2006 15:49:47 +0000 (15:49 +0000)]
use guarded pointers

18 years agoworking on the termination of the last hardcoded dialogs in Autopilot/auto_gui.cxx:
mfranz [Thu, 27 Apr 2006 15:30:42 +0000 (15:30 +0000)]
working on the termination of the last hardcoded dialogs in Autopilot/auto_gui.cxx:

- move fg_init/parseWaypoints() to route_mgr/postinit()
- don't delete initial string list to keep it available for subsystem reinit

18 years agocosmetics:
mfranz [Thu, 27 Apr 2006 10:35:03 +0000 (10:35 +0000)]
cosmetics:
- only call globals->set_initial_waypoints() if the waypoints list address
  has actually changed, that is: if it has just been initialized
- remove trailing spaces
- fix indentation

18 years agoVivian MEAZZA:
mfranz [Wed, 26 Apr 2006 21:55:42 +0000 (21:55 +0000)]
Vivian MEAZZA:

"add display values for navigation display"

18 years agoset /sim/startup/[xy]size initially again. (This was always done in the past,
mfranz [Tue, 25 Apr 2006 20:16:01 +0000 (20:16 +0000)]
set /sim/startup/[xy]size initially again. (This was always done in the past,
but got changed so that Nasal listeners wouldn't be triggered needlessly.
Doesn't make sense, though, as Nasal will never be available before the
video size is set, and it prevents the window interface from setting the
startup size.)

18 years agoPigeons remaining 'crash on no sound device' fix.
frohlich [Tue, 25 Apr 2006 18:48:59 +0000 (18:48 +0000)]
Pigeons remaining 'crash on no sound device' fix.

18 years agoRevert a part of the past patch. It still does not crash
frohlich [Sun, 23 Apr 2006 18:44:22 +0000 (18:44 +0000)]
Revert a part of the past patch. It still does not crash
but you can hear again the 737 ...

18 years agoPigeon:
frohlich [Sun, 23 Apr 2006 15:29:39 +0000 (15:29 +0000)]
Pigeon:
Avoid crashes if there is no sound device.

18 years agoApply multiplayer crash on exit fix from Pigeon
frohlich [Sun, 23 Apr 2006 09:03:21 +0000 (09:03 +0000)]
Apply multiplayer crash on exit fix from Pigeon

18 years agoVivian MEAZZA:
mfranz [Wed, 19 Apr 2006 17:36:41 +0000 (17:36 +0000)]
Vivian MEAZZA:

"Add Air to Air TACAN. With this facility TACAN equipped aircraft can
measure the range and bearing of TACAN equipped AI Aircraft. ATM there is
only one assigned - callsign ESSO1 on TACAN channel 039X, but this can be
easily expanded to include other c/s channel # pairs - just ask me if you
want more."

18 years agoRestore line endings after goofing
fredb [Tue, 18 Apr 2006 21:39:59 +0000 (21:39 +0000)]
Restore line endings after goofing

18 years agoIf it's a struct, it's not a class
fredb [Tue, 18 Apr 2006 21:24:38 +0000 (21:24 +0000)]
If it's a struct, it's not a class

18 years ago- work around plib bug that crashes fgfs if no airport was found (empty
mfranz [Tue, 18 Apr 2006 15:21:19 +0000 (15:21 +0000)]
- work around plib bug that crashes fgfs if no airport was found (empty
  list) and the arrows are clicked  (patch sent to plib; workaround it to
  be removed once fgfs officially depends on a plib version that includes
  the fix)
- fix (very unlikely) crash in case the widget is redrawn between list
  destruction and setting of the new list.

18 years ago- make header not depend on *.cxx files (which would be wrong :-P )
mfranz [Mon, 17 Apr 2006 17:17:21 +0000 (17:17 +0000)]
- make header not depend on *.cxx files (which would be wrong :-P )

18 years ago- use guarded property pointers
mfranz [Mon, 17 Apr 2006 17:08:58 +0000 (17:08 +0000)]
- use guarded property pointers
- reduce header usage
- make headers not depend on *.cxx files

18 years agomake headers include headers they depend on, don't rely on the c(xx)
mfranz [Mon, 17 Apr 2006 13:40:20 +0000 (13:40 +0000)]
make headers include headers they depend on, don't rely on the c(xx)
file to do that. (This is a requirement for header precompiling.)

18 years agomake headers include headers they depend on, don't rely on the c(xx)
mfranz [Mon, 17 Apr 2006 13:19:53 +0000 (13:19 +0000)]
make headers include headers they depend on, don't rely on the c(xx)
file to do that. (This is a requirement for header precompiling.)

18 years agomake headers include headers they depend on, don't rely on the c(xx)
mfranz [Mon, 17 Apr 2006 12:59:35 +0000 (12:59 +0000)]
make headers include headers they depend on, don't rely on the c(xx)
file to do that. (This is a requirement for header precompiling.)

18 years agoaircraft are often in several state lists at the same time, and they can
mfranz [Sat, 15 Apr 2006 18:48:59 +0000 (18:48 +0000)]
aircraft are often in several state lists at the same time, and they can
even be more than once in the same list. We need to remove all such instances,
or the a pointer to TowerPlaneRec may become invalid and cause crashes.

The proper fix would, of course, be to be careful with state changes and
to prevent *any* duplication of entries.   [OK'ed by David]

18 years agorename OBJECT_TAXI_SIGN to OBJECT_SIGN. This isn't about taxi signs any
mfranz [Fri, 14 Apr 2006 14:50:11 +0000 (14:50 +0000)]
rename OBJECT_TAXI_SIGN to OBJECT_SIGN. This isn't about taxi signs any
more, but all sorts of signs. Now is the best time to get rid of a
misleading name.

18 years agoallow to not only set a general widget <color>, but also specific element
mfranz [Fri, 14 Apr 2006 10:17:09 +0000 (10:17 +0000)]
allow to not only set a general widget <color>, but also specific element
colors:  <color-{{back,fore}ground,highlight,label,legend,misc,editfield}>
<input-misc>, for example, sets the input field cursor color, <input-legend>
the input field text color. (This feature was always planned as part of the
'theming' capabilities, and most code is already in place. Only this line
was apparently fogotten. :-)

18 years agodefer occluder registration until the shadows subsytem is initialized.
mfranz [Wed, 12 Apr 2006 22:21:02 +0000 (22:21 +0000)]
defer occluder registration until the shadows subsytem is initialized.
That way models that are loaded early during startup get their shadows, too.

18 years agoonly call occluder if the shadows were already initialized. This lead to
mfranz [Wed, 12 Apr 2006 11:12:36 +0000 (11:12 +0000)]
only call occluder if the shadows were already initialized. This lead to
a crash when using the model manager from XML files (which apparently
nobody does, anyway ;-)  Now those models work (again), but have no
shadows. Those placed at runtime (e.g. via ufo) still have a shadow.

18 years agoMake some variables accessable (public) so MIPSpro can compile it.
ehofman [Sun, 9 Apr 2006 09:46:05 +0000 (09:46 +0000)]
Make some variables accessable (public) so MIPSpro can compile it.