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

18 years agoPigeon : save about 110Mb when the UIUC FDM is not used
fredb [Sun, 9 Apr 2006 09:22:15 +0000 (09:22 +0000)]
Pigeon : save about 110Mb when the UIUC FDM is not used

18 years agoUpdates for v0.9.10
curt [Wed, 5 Apr 2006 19:52:52 +0000 (19:52 +0000)]
Updates for v0.9.10

18 years ago<input> elements that are <live> always update their input field from the
mfranz [Mon, 3 Apr 2006 15:00:33 +0000 (15:00 +0000)]
<input> elements that are <live> always update their input field from the
<property>, except if they are activated, in which case the user input
should, of course, not get overwritten. But if such an input was active and
the user selected a different widget, then its contents were dropped.
Fix that by setting the "DownCallback" for live input fields.

18 years agoRevert last change
fredb [Sun, 2 Apr 2006 08:42:36 +0000 (08:42 +0000)]
Revert last change

18 years agoCorrect a typo
fredb [Sun, 2 Apr 2006 08:29:14 +0000 (08:29 +0000)]
Correct a typo

18 years agoUnder Windows, set fg-home to My Documents, or whatever localized name this folder...
fredb [Sat, 1 Apr 2006 11:07:45 +0000 (11:07 +0000)]
Under Windows, set fg-home to My Documents, or whatever localized name this folder has.

18 years agoModified Files:
frohlich [Sat, 1 Apr 2006 10:50:52 +0000 (10:50 +0000)]
Modified Files:
src/Main/renderer.cxx: Remove some more unused variables

18 years ago- use proper error output method
mfranz [Fri, 31 Mar 2006 16:56:14 +0000 (16:56 +0000)]
- use proper error output method
- warnings--

18 years agosupport filtering to show only a subset of entries
mfranz [Fri, 31 Mar 2006 10:17:43 +0000 (10:17 +0000)]
support filtering to show only a subset of entries

18 years agodialog-apply only applies (use dialog-update if you want to update)
mfranz [Fri, 31 Mar 2006 10:15:55 +0000 (10:15 +0000)]
dialog-apply only applies (use dialog-update if you want to update)

18 years ago- reduce timeout
mfranz [Fri, 31 Mar 2006 10:12:00 +0000 (10:12 +0000)]
- reduce timeout
- stop trying to connect after first failed attempt

18 years agoDon't restore initial screen geometry because there is nothing in fg_os* to resize...
fredb [Thu, 30 Mar 2006 20:37:34 +0000 (20:37 +0000)]
Don't restore initial screen geometry because there is nothing in fg_os* to resize an existing window.
Old behavior was to just resize the GL viewport, which doesn't necessarily match the fg window size.

18 years agoadd shadows to FGModelMgr managed models
mfranz [Thu, 30 Mar 2006 14:34:16 +0000 (14:34 +0000)]
add shadows to FGModelMgr managed models

18 years agoFix for an AIFlightPlan initialization problem in the traffic manager.
durk [Wed, 29 Mar 2006 18:36:21 +0000 (18:36 +0000)]
Fix for an AIFlightPlan initialization problem in the traffic manager.

18 years agoMarc Frajola:
curt [Tue, 28 Mar 2006 21:18:32 +0000 (21:18 +0000)]
Marc Frajola:

Here is one patch that to make FlightGear run without floating point
exceptions on FreeBSD.  Apparently, if we do not ignore floating point
exceptions per this patch, there is some occasional condition where the
nvidia driver is involved in delivering spurious floating point exceptions
to the fgfs process, causing it to core-dump occasionally without the patch.

With only this patch, FlightGear will compile and run properly on
FreeBSD 6.X as long as the nvidia accelerated driver is installed,
modulo proper switches to the SimGear and FlightGear configure script
executions.

Again, kudos to your team for the great work on the big release
push; it is super to see things come together like this!

18 years agoFix for a misplaced boolean assignment that caused erratic runway selection.
durk [Tue, 28 Mar 2006 06:14:02 +0000 (06:14 +0000)]
Fix for a misplaced boolean assignment that caused erratic runway selection.

18 years agoUpdateds for v0.9.10-pre3
curt [Mon, 27 Mar 2006 19:47:48 +0000 (19:47 +0000)]
Updateds for v0.9.10-pre3

18 years agoJust commenting out a few error print statements, which I had overlooked.
durk [Sun, 26 Mar 2006 21:42:47 +0000 (21:42 +0000)]
Just commenting out a few error print statements, which I had overlooked.

18 years agoBugfix in the ai initialization randomization procedure. Randomly
durk [Sun, 26 Mar 2006 21:40:35 +0000 (21:40 +0000)]
Bugfix in the ai initialization randomization procedure. Randomly
removing waypoints could cause the AIFlightPlan to run out of waypoints.
This patch prevents that by retaining at least two waypoints.

18 years agoever heard of SG_LOG?
mfranz [Sun, 26 Mar 2006 08:11:40 +0000 (08:11 +0000)]
ever heard of SG_LOG?

18 years agoRemove unused variables
frohlich [Sat, 25 Mar 2006 19:11:33 +0000 (19:11 +0000)]
Remove unused variables

18 years agoMake the bo105 appear correct for multiplayers.
frohlich [Sat, 25 Mar 2006 19:10:32 +0000 (19:10 +0000)]
Make the bo105 appear correct for multiplayers.

18 years ago- don't crash if user clicked "Apply" but hasn't selected an airport
mfranz [Sat, 25 Mar 2006 08:47:53 +0000 (08:47 +0000)]
- don't crash if user clicked "Apply" but hasn't selected an airport
- re-order information from  "LOXT  Tulln"  to  "Tulln  (LOXT)".
  The list is sorted by airport name and columns aren't aligned, so this
  looks way cleaner.

18 years ago- make aircraft list no longer stick out from its dialog box
mfranz [Sat, 25 Mar 2006 07:45:50 +0000 (07:45 +0000)]
- make aircraft list no longer stick out from its dialog box
- cosmetics: consistent coding style (and "if" is not a function :-)

18 years agoInitial revision.
curt [Fri, 24 Mar 2006 19:11:08 +0000 (19:11 +0000)]
Initial revision.

18 years ago- set size, otherwise the widget doesn't expand to the size that the layouter
mfranz [Thu, 23 Mar 2006 23:02:48 +0000 (23:02 +0000)]
- set size, otherwise the widget doesn't expand to the size that the layouter
  found desirable
- set slider width default correctly (parentHeight? Huh?)

18 years ago- implement setSize(): We can't just use puObject::setSize() -- we do, of
mfranz [Thu, 23 Mar 2006 23:00:31 +0000 (23:00 +0000)]
- implement setSize(): We can't just use puObject::setSize() -- we do, of
  course, have to re-layout all sub-widgets on resizing
- make slider size configurable, like it's done for the close relative
  puLargeInput

18 years agoAdditional fixes for new DME type codes.
curt [Thu, 23 Mar 2006 21:42:25 +0000 (21:42 +0000)]
Additional fixes for new DME type codes.

18 years ago- abstract out box slider width (should probably be settable)
mfranz [Thu, 23 Mar 2006 19:51:38 +0000 (19:51 +0000)]
- abstract out box slider width (should probably be settable)
- reduce it to 20 (30 is excessive and didn't match the property brower look)
- call puSlider with this size explicitly (otherwise its size is derived
  from the font size, unlike the arrow buttons!)

18 years agomake puList actually useful: call back on list entry selection.
mfranz [Thu, 23 Mar 2006 19:03:31 +0000 (19:03 +0000)]
make puList actually useful: call back on list entry selection.
(again: I'll submit all the changes to plib's puaList as soon as
possibe. Just needs a few more fixes first ... :-)

18 years agomake puListBox inherit puList colors (otherwise the GUI style isn't
mfranz [Thu, 23 Mar 2006 17:44:10 +0000 (17:44 +0000)]
make puListBox inherit puList colors (otherwise the GUI style isn't
respected, and black text on dark grey is a bit hard to read).
TODO: - submit that for inclusion in plib's puAuxList
      - drop custom version and use plib's (after 0.9.10)

18 years agoPreparations for v0.9.10-pre2 release.
curt [Thu, 23 Mar 2006 17:01:21 +0000 (17:01 +0000)]
Preparations for v0.9.10-pre2 release.

18 years agoVassilii KHACHATUROV: read rain settings from property node (preferences.xml)
mfranz [Thu, 23 Mar 2006 16:48:45 +0000 (16:48 +0000)]
Vassilii KHACHATUROV: read rain settings from property node (preferences.xml)

18 years agomake sure node pointers remain valid
mfranz [Thu, 23 Mar 2006 15:13:19 +0000 (15:13 +0000)]
make sure node pointers remain valid

18 years agoRemove COPYING (License file) from .cvsingore and add to the repository.
curt [Thu, 23 Mar 2006 13:02:51 +0000 (13:02 +0000)]
Remove COPYING (License file) from .cvsingore and add to the repository.

18 years agodon't crash if model contains personality branch (sgLoad3DModel doesn't
mfranz [Wed, 22 Mar 2006 13:46:10 +0000 (13:46 +0000)]
don't crash if model contains personality branch (sgLoad3DModel doesn't
care for that -- SGModelLib::load_model does)

18 years agoJon Berndt:
ehofman [Wed, 22 Mar 2006 13:32:32 +0000 (13:32 +0000)]
Jon Berndt:

I had inadvertently terminated a data line when reaching a tab character after
initial data was supplied. I tested the lightning file and it now appears to
read in correctly.

18 years agopuList.cxx: _list_box->getIntegerValue() returns -1 as long as no list
mfranz [Wed, 22 Mar 2006 10:56:49 +0000 (10:56 +0000)]
puList.cxx: _list_box->getIntegerValue() returns -1 as long as no list
  entry was selected. Return 0 in this case, not an invalid string address
  (causing segfaults).
dialogs.cxx: don't set property if no list entry was chosen.

18 years agoThis innocuous looking typo was crashing the sim whenever an AI plane was asked to...
daveluff [Tue, 21 Mar 2006 23:33:54 +0000 (23:33 +0000)]
This innocuous looking typo was crashing the sim whenever an AI plane was asked to follow the user whilst the user was flying a circuit (non straight-in) approach

18 years agoAdd an icon to the FlightGear Wiki, and a name to the output image
fredb [Tue, 21 Mar 2006 21:45:14 +0000 (21:45 +0000)]
Add an icon to the FlightGear Wiki, and a name to the output image

18 years agosetup files for various versions.
curt [Tue, 21 Mar 2006 20:51:16 +0000 (20:51 +0000)]
setup files for various versions.

18 years agoPreparations for first v0.9.10 prerelease.
curt [Tue, 21 Mar 2006 18:52:19 +0000 (18:52 +0000)]
Preparations for first v0.9.10 prerelease.

18 years agoAdd fuel pressure.
curt [Tue, 21 Mar 2006 18:51:57 +0000 (18:51 +0000)]
Add fuel pressure.

18 years agoUpdates to base package file selection.
curt [Tue, 21 Mar 2006 18:46:38 +0000 (18:46 +0000)]
Updates to base package file selection.

18 years agoAdd changes from the 'data' tree.
curt [Tue, 21 Mar 2006 18:37:40 +0000 (18:37 +0000)]
Add changes from the 'data' tree.

18 years agobetter name for listener property
mfranz [Tue, 21 Mar 2006 17:35:30 +0000 (17:35 +0000)]
better name for listener property

18 years agoraise signal to listeners when a whole coordinate set was written
mfranz [Tue, 21 Mar 2006 17:33:54 +0000 (17:33 +0000)]
raise signal to listeners when a whole coordinate set was written

18 years agoMore sanity checks
fredb [Tue, 21 Mar 2006 14:53:38 +0000 (14:53 +0000)]
More sanity checks

18 years agoAdd sanity check on option parameter
fredb [Tue, 21 Mar 2006 14:43:38 +0000 (14:43 +0000)]
Add sanity check on option parameter

18 years agoFirst stab at a 0.9.10 changelog.
curt [Tue, 21 Mar 2006 02:04:07 +0000 (02:04 +0000)]
First stab at a 0.9.10 changelog.

18 years agoTweak.
curt [Tue, 21 Mar 2006 01:07:36 +0000 (01:07 +0000)]
Tweak.

18 years agoFix 3d tables.
ehofman [Mon, 20 Mar 2006 20:19:16 +0000 (20:19 +0000)]
Fix 3d tables.

18 years agoRemove unused variable
frohlich [Mon, 20 Mar 2006 18:16:09 +0000 (18:16 +0000)]
Remove unused variable

18 years agofix old bug: remove the models from where they were added (the model branch
mfranz [Mon, 20 Mar 2006 17:45:50 +0000 (17:45 +0000)]
fix old bug: remove the models from where they were added (the model branch
is nowhere set)

18 years ago- remove unused ssgSelector
mfranz [Mon, 20 Mar 2006 17:32:56 +0000 (17:32 +0000)]
- remove unused ssgSelector
- add function to remove models

18 years agoallow to add models at runtime
mfranz [Mon, 20 Mar 2006 16:38:31 +0000 (16:38 +0000)]
allow to add models at runtime

18 years agodon't abort() only because one model wasn't found. Just print an error
mfranz [Mon, 20 Mar 2006 16:00:26 +0000 (16:00 +0000)]
don't abort() only because one model wasn't found. Just print an error
message and continue.

18 years agouse guarded pointers
mfranz [Mon, 20 Mar 2006 15:45:53 +0000 (15:45 +0000)]
use guarded pointers

18 years agoextract loop body into separate function to later allow model addition
mfranz [Mon, 20 Mar 2006 12:10:20 +0000 (12:10 +0000)]
extract loop body into separate function to later allow model addition
at runtime; remove Nasal support for now (the model loader is currently
initialized before the Nasal subsystem is available)

18 years agoa bool isn't safe enough here, but a mutex shouldn't be necessary
mfranz [Mon, 20 Mar 2006 11:01:16 +0000 (11:01 +0000)]
a bool isn't safe enough here, but a mutex shouldn't be necessary

18 years ago- disallow listener re-entry to prevent crash/runaway process
mfranz [Mon, 20 Mar 2006 07:13:10 +0000 (07:13 +0000)]
- disallow listener re-entry to prevent crash/runaway process
- move FGNasalListener function bodies to NasalSys.cxx (has become too big)

18 years agoBugfixes and feature improvements related to AI auto flightplan generation.
durk [Sun, 19 Mar 2006 07:41:48 +0000 (07:41 +0000)]
Bugfixes and feature improvements related to AI auto flightplan generation.
When AIFlightPlanCreateTaxi() function is called with the firstFlight
argument set to true, this is supposed to handle situations where the
the aircraft's timetable indicates it should have left between about 5 to
20 minutes earlier. In the previous version, all these aircraft started
taxiing from the first parking location available in the network, due
to the fact that the variable gateId was not assigned a value. In this
patch, route tracing starts from an assigned gate and the network node
following code is fast forwarded to a random location along the taxiways
to give a more realistic and natural distribution of taxiing aircraft
after startup.
    This patch further addresses some weird ballet-dancing behavior that
aircraft were showing just prior to/right after parking and which was
related to a number of more or less duplicate waypoints in the transition
from createTaxi() to createParking() to createPushBack() to createTaxi().
    Finally, a blatant typing error in the getParking() function was fixed.

18 years agocreate /sim/gui if it doesn't exist
mfranz [Sun, 19 Mar 2006 07:10:10 +0000 (07:10 +0000)]
create /sim/gui if it doesn't exist