]> git.mxchange.org Git - flightgear.git/log
flightgear.git
16 years agoSome Mac / __APPLE___ cleanups:
ehofman [Fri, 25 Jul 2008 08:39:28 +0000 (08:39 +0000)]
Some Mac / __APPLE___ cleanups:

    - remove the OSX_BUNDLE crap *I* introduced years ago - we're always a a bun
dle on Mac now.

    - fix up the default fg-root on Mac to be FlightGear.app/Contents/Resources/
data - i.e the location used by the macflightgear.org distro, and indeed the obv
ious 'correct' location. Not sure why I didn't use that in the first place, back
 in the day.

    - remove the CPSForegroundEnable hack. For one thing, we're a bundle and don
't need it, and for another, osgViewer on Mac does the same logic using a newer,
 public API rather than a hack into the OS.

    - remove the strange logic for doing fgOSInit 'early' (in bootstrap rather t
han main) when running from the command line on Mac; again this is obsolete, and
 no one seems to know why it was ever necessary. I guess it was an interaction w
ith SDL when running without a bundle.

    - (not Mac related) remove obsolete code bracketed by ENABLE_PLIB_JOYSTICK a
nd USE_GLIDE (neither of which are ever set, even from config.h that I can see)
in main.cxx

16 years agoRemove the remaining macintosh (not MacOS-X) and MWERKS workarounds.
ehofman [Fri, 25 Jul 2008 07:29:20 +0000 (07:29 +0000)]
Remove the remaining macintosh (not MacOS-X) and MWERKS workarounds.

16 years agotypo: s/atl/alt/ (for "alternatives")
mfranz [Thu, 24 Jul 2008 20:46:30 +0000 (20:46 +0000)]
typo: s/atl/alt/  (for "alternatives")

16 years agoremove macintosh (note: not MacOS-X) and MWERKS workarounds.
ehofman [Thu, 24 Jul 2008 19:50:58 +0000 (19:50 +0000)]
remove macintosh (note: not MacOS-X) and MWERKS workarounds.

16 years agoargument & parameter completion for bash (instructions inside)
mfranz [Thu, 24 Jul 2008 17:52:04 +0000 (17:52 +0000)]
argument & parameter completion for bash (instructions inside)

16 years agolet removeChild() return the detached node (like the c++ version)
mfranz [Thu, 24 Jul 2008 11:25:13 +0000 (11:25 +0000)]
let removeChild() return the detached node (like the c++ version)

16 years agoadd printf
mfranz [Wed, 23 Jul 2008 15:45:30 +0000 (15:45 +0000)]
add printf

16 years agoadd thisfunc() and props.condition()
mfranz [Tue, 22 Jul 2008 23:33:30 +0000 (23:33 +0000)]
add thisfunc() and props.condition()

16 years ago- use path validation for parsexml() nasal command
mfranz [Tue, 22 Jul 2008 20:26:17 +0000 (20:26 +0000)]
- use path validation for parsexml() nasal command
- util.cxx: add comment

16 years agoSync. with JSBSim CVS (header cleanups).
ehofman [Tue, 22 Jul 2008 08:49:15 +0000 (08:49 +0000)]
Sync. with JSBSim CVS (header cleanups).

16 years agoClean up a couple warnings.
curt [Mon, 21 Jul 2008 19:57:56 +0000 (19:57 +0000)]
Clean up a couple warnings.

16 years ago * change a number of function parameters to const where appropriate
ehofman [Mon, 21 Jul 2008 12:32:22 +0000 (12:32 +0000)]
  * change a number of function parameters to const where appropriate
  * fix a problem where the wrong node-name length was returned
  * xmlgrep now also works when only the -e options is specified
  * fix xmlgrep to show the correct node-name (it reported the parent
    node-name in the previous version)

16 years ago* fix __xmlSkipComment to properly find the end of comment tag.
ehofman [Sun, 20 Jul 2008 09:38:53 +0000 (09:38 +0000)]
* fix __xmlSkipComment to properly find the end of comment tag.
* add the xmlGetNodeName and xmlCopyNodeName functions
* add the xmlCopyString function
* clean up some code

'xmlgrep -v' now returns the proper node name

16 years agoUpdate MSVC 7.1 projects - new JSBsim
fredb [Sun, 20 Jul 2008 07:40:16 +0000 (07:40 +0000)]
Update MSVC 7.1 projects - new JSBsim

16 years agoAdd repeat capability to input from files.
timoore [Sat, 19 Jul 2008 16:23:05 +0000 (16:23 +0000)]
Add repeat capability to input from files.

16 years agoChange the low level internals of the xml library to reflect the following;
ehofman [Sat, 19 Jul 2008 12:18:05 +0000 (12:18 +0000)]
Change the low level internals of the xml library to reflect the following;
 * rewrite the code to always recursively walk the node tree when searching
    for a particular node. this is required for cases where a node with a
    particular name is located deeper in a node with the same name;
    for example -r /configuration/device/reference/device would fail in the
    previous verion
  * rename xmlGetElement to xmlGetNodeNum and add the possibility to request
    the nth node with this name
  * rename xmlGetNumElements to xmlGetNumNodes

The drawback is that this is approach slows down processing the files a bit,
but at least it can now find any xml node in any xml file.
Also, no more function changes are planned from now on.

16 years agoRestore code after unwanted change in last commit
fredb [Thu, 17 Jul 2008 21:32:20 +0000 (21:32 +0000)]
Restore code after unwanted change in last commit

16 years agoSIGPIPE is a unix thing
fredb [Thu, 17 Jul 2008 21:28:43 +0000 (21:28 +0000)]
SIGPIPE is a unix thing

16 years agomake sure that the validation nodes are readable and writable
mfranz [Thu, 17 Jul 2008 08:38:13 +0000 (08:38 +0000)]
make sure that the validation nodes are readable and writable

16 years agoignore SIGPIPE. If we pipe our output to another application, let's say
mfranz [Tue, 15 Jul 2008 16:55:23 +0000 (16:55 +0000)]
ignore SIGPIPE. If we pipe our output to another application, let's say
to kst, and kst is closed, this does *not* mean that we want FlightGear
to "abort".

16 years agoinclude cstring for memset() (necessary for gcc 4.3.*; backported
mfranz [Tue, 15 Jul 2008 13:08:03 +0000 (13:08 +0000)]
include cstring for memset() (necessary for gcc 4.3.*; backported
from JSBSim/cvs)

16 years agoMSVC doesn't have a round function
fredb [Mon, 14 Jul 2008 09:48:09 +0000 (09:48 +0000)]
MSVC doesn't have a round function

16 years agoRemoval of depricated version of Airports/trafficcontrol.[ch]xx
durk [Sun, 13 Jul 2008 12:57:06 +0000 (12:57 +0000)]
Removal of depricated version of Airports/trafficcontrol.[ch]xx
(See src/ATC for it's new location)

16 years agoInitial attempt to establish a better integration between AI and ATC code.
durk [Sun, 13 Jul 2008 12:51:06 +0000 (12:51 +0000)]
Initial attempt to establish a better integration between AI and ATC code.
Various other patches that have been lingering around for a while:
 * Moved trafficcontrol.[ch]xx from the Airports directory to ATC, where
   it really belongs.
 * AI aircraft will request startup clearance, and ground control will
   approve.
 * Starting AI Aircraft will be pushed back to a predefined holding point
   on the ground network, and wait a while before taxiing out to the runway

16 years ago- Added the ATC directory again, in it's new incarnation as the storage
durk [Sun, 13 Jul 2008 12:38:01 +0000 (12:38 +0000)]
- Added the ATC directory again, in it's new incarnation as the storage
  location for general purpose ATC functions, meant to be compatible with
  the AIModels code.

16 years agos/offset/offsets/
mfranz [Sat, 12 Jul 2008 21:13:48 +0000 (21:13 +0000)]
s/offset/offsets/

16 years agothe usual copy from $FG_ROOT/Docs/
mfranz [Sat, 12 Jul 2008 14:13:22 +0000 (14:13 +0000)]
the usual copy from $FG_ROOT/Docs/

16 years ago"load"/"save" flight: enforce ".sav" extension
mfranz [Fri, 11 Jul 2008 20:55:43 +0000 (20:55 +0000)]
"load"/"save" flight: enforce ".sav" extension

16 years agouse same path validation process for fgcommands "load", "save",
mfranz [Fri, 11 Jul 2008 16:36:54 +0000 (16:36 +0000)]
use same path validation process for fgcommands "load", "save",
"loadxml", ans "savexml" as is used for io.open(). This is still
Nasal based for now. See $FG_ROOT/Nasal/io.nas.

16 years agoadd a reference for memset()
ehofman [Fri, 11 Jul 2008 14:11:54 +0000 (14:11 +0000)]
add a reference for memset()

16 years agoUpdate to the latest version of JSBSim which supports Lighter Than Air craft
ehofman [Thu, 10 Jul 2008 17:23:02 +0000 (17:23 +0000)]
Update to the latest version of JSBSim which supports Lighter Than Air craft
(like Airships) and external forces.

16 years agoreturn attribute mask as unsigned
mfranz [Thu, 10 Jul 2008 11:36:10 +0000 (11:36 +0000)]
return attribute mask as unsigned

16 years agolet n.getAttribute("last") return SGPropertyNode::LAST_USED_ATTRIBUTE
mfranz [Thu, 10 Jul 2008 10:58:06 +0000 (10:58 +0000)]
let n.getAttribute("last") return SGPropertyNode::LAST_USED_ATTRIBUTE
(this is the same constant value for all properties)

16 years agodon't run the help browser from a property that a user could have
mfranz [Wed, 9 Jul 2008 19:35:53 +0000 (19:35 +0000)]
don't run the help browser from a property that a user could have
changed to something evil, but rather make sure that the browser
string can be trusted. (TODO: change system() to vfork()/execvp() ?)

16 years agolet the --prop: option overwrite write-protected properties
mfranz [Wed, 9 Jul 2008 15:09:23 +0000 (15:09 +0000)]
let the --prop: option overwrite write-protected properties
("The user is always right, but not always bright.")

16 years agoremove depreciated and unused src/GUI/trackball.*
mfranz [Wed, 9 Jul 2008 12:44:32 +0000 (12:44 +0000)]
remove depreciated and unused src/GUI/trackball.*

16 years agoremove depreciated and unused src/GUI/trackball.*
mfranz [Wed, 9 Jul 2008 12:37:54 +0000 (12:37 +0000)]
remove depreciated and unused src/GUI/trackball.*

16 years agoremove depreciated gui_local.[ch]xx:
mfranz [Wed, 9 Jul 2008 12:22:33 +0000 (12:22 +0000)]
remove depreciated gui_local.[ch]xx:
- drop unused parts (MouseQuat/GuiQuat)
- move "old-reinit-dialog" fgcommand to fg_command.cxx under new name
  "reset" for now. (May later get merged with fgcommand "reinit".)
- move reInit() to fg_init.cxx: This was used by Shift-Esc and
  Menu->File-Reset (via fgcommand "old-reinit-dialog"). We have already
  a similar function fgReInitSubsystems() in fg_init.cxx, so these two
  functions will probably get merged later.)

16 years agorename attributes write/read to writable/readable (The original names
mfranz [Mon, 7 Jul 2008 10:23:24 +0000 (10:23 +0000)]
rename attributes write/read to writable/readable (The original names
where chosen to match the SGPropertyNode::WRITE/READ symbol names and
should make it more consistent, but this isn't really something that
should be exposed to the Nasal developer.)

16 years ago* reorganize the code to be able to skip comment sections
ehofman [Sun, 6 Jul 2008 11:34:50 +0000 (11:34 +0000)]
* reorganize the code to be able to skip comment sections
* depreciate __xmlFindNextElement and use __xmlGetNode instead
* xmlGetNextElement now returns char* instead of void* for furute use
* add preliminary support for wildcards in the search path ('*' and '?')

16 years ago * fix a problem caused by removing the last unnecessary alloc
ehofman [Tue, 1 Jul 2008 12:15:46 +0000 (12:15 +0000)]
 * fix a problem caused by removing the last unnecessary alloc
 * strip leading-, and trailing spaces from the string before comparing
 * fix a problem where trailing spaces weren't removed

16 years agomove[1] icons to source dir, from where the respective installers can copy
mfranz [Mon, 30 Jun 2008 14:02:26 +0000 (14:02 +0000)]
move[1] icons to source dir, from where the respective installers can copy
them to the final place depending on OS and Desktop Environment (just
like man pages and binaries). Otherwise the installer would need access to
$FG_ROOT only for the icons, which is an undesirable dependency.

[1] there's a lock on the $FG_ROOT/icons/ dir, so I'll remove
them later from the old place.

16 years agowhoops, my bad
ehofman [Mon, 30 Jun 2008 12:05:26 +0000 (12:05 +0000)]
whoops, my bad

16 years agoRemove the last unnecessary alloc from the library
ehofman [Mon, 30 Jun 2008 12:00:40 +0000 (12:00 +0000)]
Remove the last unnecessary alloc from the library

16 years agoSome small updates; fix typo's and fix a small memory leak
ehofman [Mon, 30 Jun 2008 07:30:02 +0000 (07:30 +0000)]
Some small updates; fix typo's and fix a small memory leak
Improve the documentation in README

16 years agoErik HOFMAN: add documentation/changelog
mfranz [Sun, 29 Jun 2008 13:33:26 +0000 (13:33 +0000)]
Erik HOFMAN: add documentation/changelog

16 years agoErik HOFMAN: faster and better xmlgrep implementation
mfranz [Sun, 29 Jun 2008 13:08:24 +0000 (13:08 +0000)]
Erik HOFMAN: faster and better xmlgrep implementation

16 years ago- remove unused puObject args in gui fgcommands
mfranz [Mon, 23 Jun 2008 18:28:02 +0000 (18:28 +0000)]
- remove unused puObject args in gui fgcommands
- remove no longer used PU macros

16 years ago- make sure /sim/fg-current can't get preset and write protected, so
mfranz [Sun, 22 Jun 2008 11:29:32 +0000 (11:29 +0000)]
- make sure /sim/fg-current can't get preset and write protected, so
  it's reliable at Nasal init time.
- make sure the cwd buffer is terminated

16 years agoadd abort()
mfranz [Thu, 19 Jun 2008 17:25:14 +0000 (17:25 +0000)]
add abort()

16 years agowhile abort() is really only useful for listeners (in all other cases
mfranz [Thu, 19 Jun 2008 17:18:42 +0000 (17:18 +0000)]
while abort() is really only useful for listeners (in all other cases
we know the stack trace), it's better to use a separate function for
it, as this can be used conditionally, as in:

  setlistener("/the/property", func(n) {
      if (n.getValue() < 0) # who's writing negative numbers to /the/property?!
          abort();          # let's check the backtrace ...
  });

16 years agomake fgfs abort() after a listener with runtime arg == -1 was triggered
mfranz [Thu, 19 Jun 2008 10:39:12 +0000 (10:39 +0000)]
make fgfs abort() after a listener with runtime arg == -1 was triggered
and its function called. This is useful for debugging purposes, to get
a core dump which unveils which C++ code was writing to the property.
This isn't any more of a security problem as other Nasal code that
makes fgfs crash, such as:  var x = func call(x); x();  The difference
is that the listener doesn't use up all memory before and is much quicker.

16 years agoset_fg_root: prevent circumvention of the Nasal security code through
mfranz [Mon, 16 Jun 2008 07:46:55 +0000 (07:46 +0000)]
set_fg_root: prevent circumvention of the Nasal security code through
pre-setting and write-protecting /sim/fg-root in *-set.xml files

16 years ago- allow users to set fg-home dir via FG_HOME environment variable, but
mfranz [Fri, 13 Jun 2008 10:52:47 +0000 (10:52 +0000)]
- allow users to set fg-home dir via FG_HOME environment variable, but
- don't allow to do that from any XML file. This is to prevent malign
  code from writing a new fg-home in ~/.fgfs/autosave.xml or other files
  in ~/.fgfs/.

16 years agoFrom Benoit Laniel: replace SG threading constructs with OpenThreads
timoore [Thu, 12 Jun 2008 08:24:39 +0000 (08:24 +0000)]
From Benoit Laniel: replace SG threading constructs with OpenThreads

16 years agocosmetic changes *only*:
mfranz [Wed, 11 Jun 2008 18:02:19 +0000 (18:02 +0000)]
cosmetic changes *only*:
- fix mixed tab/space indentation (replace all tabs by 8 spaces)
- remove trailing spaces
- rename one local variable (ttt -> pwd)

16 years agoAnders GIDENSTAM: catch all exceptions to avoid aborting fgfs after
mfranz [Wed, 11 Jun 2008 17:16:50 +0000 (17:16 +0000)]
Anders GIDENSTAM: catch all exceptions to avoid aborting fgfs after
                  commands like "ls .."

16 years agoDon't add guiCamera, which is now a slave, to the scene graph.
timoore [Sun, 8 Jun 2008 20:50:30 +0000 (20:50 +0000)]
Don't add guiCamera, which is now a slave, to the scene graph.

16 years agovim syntax files for *.ac and *.nas files. See nasal.vim for how to use them.
mfranz [Sat, 7 Jun 2008 17:21:47 +0000 (17:21 +0000)]
vim syntax files for *.ac and *.nas files. See nasal.vim for how to use them.
Note that for XML embedded Nasal you can type  :set ft=nasal  and back to
XML with  :set ft=xml   (ft ... filetype)

16 years agoFGFontCache::initializeFonts() now portable across platform through the use of plib
fredb [Sat, 7 Jun 2008 08:10:46 +0000 (08:10 +0000)]
FGFontCache::initializeFonts() now portable across platform through the use of plib

16 years agoRevert most iostream-related changes to JSBSim
timoore [Fri, 6 Jun 2008 21:21:57 +0000 (21:21 +0000)]
Revert most iostream-related changes to JSBSim

So many files in JSBSim use cout that it is not productive to remove
iostream from header files.

16 years agoFix GUI and HUD text rendering problems.
timoore [Fri, 6 Jun 2008 19:02:17 +0000 (19:02 +0000)]
Fix GUI and HUD text rendering problems.

After the changes that moved the GUI and HUD to a slave camera, the
texture-based fonts wouldn't display. The main fixes here are making
sure that the TXF textures are all loaded into the font cache early,
and explicitly setting the active texture unit in the GUI / HUD
drawImplementation.

16 years agomake route manager input case insensitive
mfranz [Fri, 6 Jun 2008 07:49:41 +0000 (07:49 +0000)]
make route manager input case insensitive

16 years agofix path
mfranz [Wed, 4 Jun 2008 20:21:35 +0000 (20:21 +0000)]
fix path

16 years agoAnders GIDENSTAM: "only override the receive port when it isn't set already"
mfranz [Tue, 3 Jun 2008 15:57:33 +0000 (15:57 +0000)]
Anders GIDENSTAM: "only override the receive port when it isn't set already"

16 years agoFred BOUVIER & Stuart BUCHANAN: make search function case-insensitive
mfranz [Tue, 3 Jun 2008 10:25:58 +0000 (10:25 +0000)]
Fred BOUVIER & Stuart BUCHANAN: make search function case-insensitive
mf: add leading space to allow search for word boundaries (" wat")

16 years agoOne more try at the osg 2.5.1 pager fix
timoore [Tue, 3 Jun 2008 07:32:03 +0000 (07:32 +0000)]
One more try at the osg 2.5.1 pager fix

16 years agoFix typo in DatabasePager interface changes for OSG 2.4
timoore [Tue, 3 Jun 2008 05:36:19 +0000 (05:36 +0000)]
Fix typo in DatabasePager interface changes for OSG 2.4

16 years agoChanges for new DatabasePager interface in OSG 2.5.1
timoore [Mon, 2 Jun 2008 21:10:13 +0000 (21:10 +0000)]
Changes for new DatabasePager interface in OSG 2.5.1

16 years agoClean up header file use of iostream and "using" declarations
timoore [Mon, 2 Jun 2008 21:09:51 +0000 (21:09 +0000)]
Clean up header file use of iostream and "using" declarations

Replace include <iostream> with istream, ostream and/or iosfwd as
appropriate.

Remove using namespace std and using std::foo from header files.

16 years agoiostream cleanup wip
timoore [Mon, 2 Jun 2008 21:09:10 +0000 (21:09 +0000)]
iostream cleanup wip

16 years agoInclude <iostream> and using declarations as needed.
timoore [Mon, 2 Jun 2008 21:07:35 +0000 (21:07 +0000)]
Include <iostream> and using declarations as needed.

SimGear no longer includes iostream and avoids using declarations in
header files, so various fixups are needed.

16 years agoattach listener after setting the default values (of course :-)
mfranz [Mon, 2 Jun 2008 11:44:02 +0000 (11:44 +0000)]
attach listener after setting the default values (of course :-)

16 years ago- export font properties to the property tree again
mfranz [Mon, 2 Jun 2008 09:32:37 +0000 (09:32 +0000)]
- export font properties to the property tree again
- don't keep oodles of class member variables public (eek!)
- use ::hasValue() instead of ::getType() != SGPropertyNode::NONE
- consistency fixes and cosmetics

16 years agochange default font values
mfranz [Sun, 1 Jun 2008 18:16:35 +0000 (18:16 +0000)]
change default font values

16 years agoCsaba HALASZ & Syd ADAMS: make radar font configurable
mfranz [Sun, 1 Jun 2008 18:08:01 +0000 (18:08 +0000)]
Csaba HALASZ & Syd ADAMS: make radar font configurable
mf: move font color parts to the font listener

16 years agoRemove unused variables
fredb [Sun, 1 Jun 2008 14:59:20 +0000 (14:59 +0000)]
Remove unused variables

16 years agoFix Traffic Manager XML parser
fredb [Sun, 1 Jun 2008 11:56:32 +0000 (11:56 +0000)]
Fix Traffic Manager XML parser

16 years agoImplement rotation offsets for cameras.
frohlich [Mon, 26 May 2008 20:34:26 +0000 (20:34 +0000)]
Implement rotation offsets for cameras.

16 years agosync with $FG_ROOT/Docs/READEM.xmlsound:
mfranz [Wed, 21 May 2008 15:00:20 +0000 (15:00 +0000)]
sync with $FG_ROOT/Docs/READEM.xmlsound:
- <delay-sec> added
- spelling fixes
- fix mixed indentation

16 years agoUpdate MSVC 7.1 projects. Add WindowSystemAdapter
fredb [Tue, 20 May 2008 06:36:24 +0000 (06:36 +0000)]
Update MSVC 7.1 projects. Add WindowSystemAdapter

16 years agopuInitialize returns nothing.
fredb [Tue, 20 May 2008 06:35:37 +0000 (06:35 +0000)]
puInitialize returns nothing.

16 years agoClean up OSG camera setup and interface to plib PUI
timoore [Mon, 19 May 2008 21:21:03 +0000 (21:21 +0000)]
Clean up OSG camera setup and interface to plib PUI

Switch to defining PU_USE_NONE and providing our own callback
functions to pui for "get window" and "get window size." A new
WindowSystemAdapter class assigns ID numbers to windows for the
purpose of identifying them to plib; the window size can be extracted
from the osg::GraphicsContext class in all the different
implementations (osgViewer, glut, sdl).

Implement a GraphicsContextOperation that runs code in a particular
graphics context, perhaps in another thread, and provides an
isFinished() method to test if the operation has finished. This allows
us to initialize plib PUI properly if there are multiple graphics
contexts without using fgMakeCurrent(). fgMakeCurrent() can't work in
multi-threaded OSG configurations.

Eliminate fgMakeCurrent() and all its uses, either by using
GraphicsContextOperation or by seeing that it is not necessary.

Attach the GUI camera as a slave camera.

Don't manipulate the OSG state in the drawImplementation() functions
for SGHUDAndPanelDrawable and SGPuDrawable; it's not needed.

16 years ago- use fireValueChanged() instead of setBoolValue(true) (micro-optimization :-)
mfranz [Sun, 18 May 2008 21:13:25 +0000 (21:13 +0000)]
- use fireValueChanged() instead of setBoolValue(true) (micro-optimization :-)
- comment out rather pointless FDM status message

16 years agonoise--
mfranz [Sun, 18 May 2008 21:05:11 +0000 (21:05 +0000)]
noise--

16 years agofg: move most scenery-related code to simgear
timoore [Wed, 14 May 2008 22:10:07 +0000 (22:10 +0000)]
fg: move most scenery-related code to simgear

From Till Busch.

16 years agoRename FontStatus enum labels because ERROR is already a macro under Windows
fredb [Wed, 14 May 2008 09:51:11 +0000 (09:51 +0000)]
Rename FontStatus enum labels because ERROR is already a macro under Windows

16 years agoUpdate MSVC 7.1 projects. Rename ATC -> ATCDCL
fredb [Wed, 14 May 2008 09:50:05 +0000 (09:50 +0000)]
Update MSVC 7.1 projects. Rename ATC -> ATCDCL

16 years agoMake sure that the compiler knows about the new location of the ATC code.
durk [Mon, 12 May 2008 14:58:43 +0000 (14:58 +0000)]
Make sure that the compiler knows about the new location of the ATC code.

16 years agoMerging David Luff's AI/ATC code with AIModels. Part 1:
durk [Mon, 12 May 2008 10:38:04 +0000 (10:38 +0000)]
Merging David Luff's AI/ATC code with AIModels. Part 1:
  - Move Dave's original code to a new directory (ATCDCL) so we can recycle
    the original ATC directory for generic ATC functions.

16 years agoMerging David Luff's AI/ATC code with AIModels. Part 1:
durk [Mon, 12 May 2008 10:07:41 +0000 (10:07 +0000)]
Merging David Luff's AI/ATC code with AIModels. Part 1:
  - Move Dave's original code to a new directory (ATCDCL) so we can recycle
    the original ATC directory for generic ATC functions.

16 years ago- rename fgcommand "set-mouse" to "set-cursor"
mfranz [Thu, 8 May 2008 10:07:51 +0000 (10:07 +0000)]
- rename fgcommand "set-mouse" to "set-cursor"
- write new {x,y} coords to /devices/status/mice/mouse/{x,y}, so that
  they are immediately available

16 years ago - Add some DEBUG level log messages to help users in getting traffic files
durk [Thu, 8 May 2008 06:11:43 +0000 (06:11 +0000)]
 - Add some DEBUG level log messages to help users in getting traffic files
   to work.
 - Add the possibility to load only proportion of traffic in order to
   reduce some of the workload, in case of a slower computer.

16 years agoadd fgcommand "set-mouse", which sets mouse coordinates and cursor type
mfranz [Wed, 7 May 2008 21:49:35 +0000 (21:49 +0000)]
add fgcommand "set-mouse", which sets mouse coordinates and cursor type

16 years agoAdd a subclass of fntTexFont that defers font loading
timoore [Tue, 6 May 2008 21:31:01 +0000 (21:31 +0000)]
Add a subclass of fntTexFont that defers font loading

Loading is deferred until the first render so that it has a chance of
happening in the proper graphics context.

16 years agoscript to output all frequencies for an airport as well as frequencies of
mfranz [Sun, 4 May 2008 21:33:16 +0000 (21:33 +0000)]
script to output all frequencies for an airport as well as frequencies of
nearby radio navigation facilities and their distance/bearing to the airport

16 years agoread runway start offset from /sim/airport/runways/start-offset-m
mfranz [Fri, 2 May 2008 21:31:30 +0000 (21:31 +0000)]
read runway start offset from /sim/airport/runways/start-offset-m
(Defaults to 5.0, which was hard-coded before. /sim/airport/runways/
does already exist and contains the runway search parameters.)

16 years agoadd unit suffixes -nm and -deg to /sim/presets/offset-{distance,azimuth}
mfranz [Thu, 1 May 2008 21:14:02 +0000 (21:14 +0000)]
add unit suffixes -nm and -deg to /sim/presets/offset-{distance,azimuth}

16 years agocleanup after last commit
mfranz [Tue, 29 Apr 2008 15:35:09 +0000 (15:35 +0000)]
cleanup after last commit

16 years ago- improve comments (contents and spelling)
mfranz [Tue, 29 Apr 2008 14:49:44 +0000 (14:49 +0000)]
- improve comments (contents and spelling)
- fix bad indentation (mixed 2/4 spaces or tabs/spaces)