1
0
Fork 0
flightgear/src/Main
ehofman 7b824755ee Mathias Fröhlich:
I have prepared a patch that:
- Introduces a FGTileMgr::scenery_available method which asks the tilemanager
  if scenery for a given range around a lat/lon pair is already loaded and make
  use of that method at some -9999 meter checks.
- Introduces a FGScenery::get_elevation_m method which queries the altitude at
  a given position. In constrast to the groundcache functions this is the best
  choice if you ask for one *single* altitude value. Make use of that thing in
  AI/ATC classes and for the current views ground level. At the current views
  part the groundcache is reused if possible.
- The computation of the 'current groundlevel' is no longer done on the
  tilemanagers update since the required functions are now better seperated.

Alltogether it eliminates somehow redundant terrain level computations which
are now superseeded by that more finegrained functions and the existence of
the groundcache. Additionally it introduces an api to commonly required
functions which was very complex to do prevously.
2005-08-14 12:57:12 +00:00
..
.cvsignore Updated. 2004-02-07 21:37:54 +00:00
3dfx.sh Ssg tweaks. 1999-06-30 00:25:13 +00:00
bootstrap.cxx sg_throwable's "origin" argument is optional and defaults to an empty 2005-06-12 16:01:49 +00:00
fg_commands.cxx Whoops. I had missed that we have that already. Reverting. Thanks Erik. 2005-07-03 15:43:32 +00:00
fg_commands.hxx Move FGEventMgr and FGSubsystemMgr over to SimGear, add SGEventMgr to FlightGear's globals structre and some small code cleanups 2003-09-24 17:20:55 +00:00
fg_init.cxx Mathias Fröhlich: 2005-08-14 12:57:12 +00:00
fg_init.hxx Fix my mailing address by replacing it with my web page. 2004-11-19 22:10:41 +00:00
fg_io.cxx FGIO::shutdown_all() is called from the FGIO destructor so remove the extra 2004-12-29 20:40:41 +00:00
fg_io.hxx Fix my mailing address by replacing it with my web page. 2004-11-19 22:10:41 +00:00
fg_os.cxx reverting last patch: the (non)redrawing problems are simply too annoying :-( 2005-05-04 12:11:37 +00:00
fg_os.hxx Hook in the fgOSExit() function. 2004-04-25 02:17:03 +00:00
fg_os_sdl.cxx Melchior FRANZ: 2005-04-06 08:46:39 +00:00
fg_props.cxx Roy Vegard Ovesen: 2004-10-24 11:05:14 +00:00
fg_props.hxx Change fg_props.[ch]xx into a proper subsystem, under the control of 2004-02-20 17:35:33 +00:00
globals.cxx cleanup (deleting NULL pointers is explicitly allowed) 2005-05-02 06:03:25 +00:00
globals.hxx The view frustum is defined in plib apps using calls to ssgSetFOV() and 2005-02-25 19:41:53 +00:00
logger.cxx Change the timing semantics slightly so that you get much closer to the 2003-11-24 01:50:48 +00:00
logger.hxx Move FGEventMgr and FGSubsystemMgr over to SimGear, add SGEventMgr to FlightGear's globals structre and some small code cleanups 2003-09-24 17:20:55 +00:00
main.cxx Mathias Fröhlich: 2005-08-14 12:57:12 +00:00
main.hxx Finish what was committed in a broken state yesterday. 2004-09-20 13:21:51 +00:00
Makefile.am Remove the 'old' 3D clouds code. 2005-06-25 11:21:18 +00:00
metar_main.cxx Cosmetic updates. 2005-01-27 10:58:05 +00:00
options.cxx better error message to help users and support staff 2005-07-03 10:27:35 +00:00
options.hxx Fix my mailing address by replacing it with my web page. 2004-11-19 22:10:41 +00:00
README Moved FGAircraftModel subsystem out into its own directory, and 2002-04-05 03:19:34 +00:00
renderer.cxx Mathias Fröhlich: 2005-08-14 12:57:12 +00:00
renderer.hxx The view frustum is defined in plib apps using calls to ssgSetFOV() and 2005-02-25 19:41:53 +00:00
runfgfs.bat.in source tree reorganization prior to flightgear 0.7 2009-09-14 14:26:20 +02:00
runfgfs.in Fix my mailing address by replacing it with my web page. 2004-11-19 22:10:41 +00:00
splash.cxx read the splash font color from the gui style file. This is a bit of a 2005-07-07 21:43:22 +00:00
splash.hxx - implement progress information (enabled by default; can be turned off via 2005-05-06 09:08:44 +00:00
util.cxx FGIO::shutdown_all() is called from the FGIO destructor so remove the extra 2004-12-29 20:40:41 +00:00
util.hxx Fix my mailing address by replacing it with my web page. 2004-11-19 22:10:41 +00:00
viewer.cxx Patrick Quirk: fix typo (Norman: "looks like this is probably a bug") 2005-07-07 12:57:00 +00:00
viewer.hxx Mathias: 2005-04-29 14:38:24 +00:00
viewmgr.cxx Mathias: 2005-04-29 14:38:24 +00:00
viewmgr.hxx Mathias: 2005-04-29 14:38:24 +00:00

Last updated $Date$

This directory contains the main routine for FlightGear, together with
various utility classes and functions that do not fit in anywhere
else, and subsystems that have not yet graduated to having their own
directories (because the maintainers are lazy, not because the
subsystems are not important).

fg_commands.cxx
fg_commands.hxx
  This module defines a global function to register FlightGear's
  built-in commands.

fg_init.cxx
fg_init.hxx
  This module defines global functions to initialize for the various
  subsystems.  Code is gradually being moved out of here and into the
  subsystems' own init() methods, so this module will eventually
  disappear.

fg_io.cxx
fg_io.hxx
  This module defines high-level global I/O functions for FlightGear.
  I don't know how widely these are used, yet.

fg_props.cxx
fg_props.hxx
  This module provides a FlightGear layer over the SimGear property
  manager.  This module performs two roles: it provides global
  convenience functions for accessing the FlightGear property tree,
  and it ties some properties to its own static functions.  The second
  role has mostly disappeared, since subsystems now tie their own
  properties in their bind() methods, and eventually this module will
  contain only the convenience functions.

fgfs.cxx
fgfs.hxx
  This module defines FGSubsystem, the abstract base class (or
  interface) for subsystems in FlightGear.  Most of the important
  subsystems already extend this class, and eventually, all subsystems
  will.

globals.cxx
globals.hxx
  This module defines FGGlobals, a class that holds pointers to
  subsystems and other variables used by a FlightGear session.  Many
  global variables have migrated into here, and eventually, all will,
  so that the program can maintain state for more than one session at
  once.

logger.cxx
logger.hxx
  This module defines the FGLogger subsystem, which allows the user to
  log any property value to any number of CSV files, somewhat like an
  overenthusiastic flight data recorder.

main.cxx
  This file defines the main() function for FlightGear as well as the
  top-level loop.  Currently, there is a still lot of code in here
  that belongs in the individual subsystems' init() and update()
  methods; eventually, this will be a short, simple file defining the
  top-level flow logic of the program.

options.cxx
options.hxx
  This module defines global functions for parsing command-line
  options and transferring them to the property tree.

runfgfs.bat
runfgfs.bat.in
  This is a batch file for launching FlightGear under MSWindows.
  runfgfs.bat is autogenerated from runfgfs.bat.in, so any changes
  should be made to the latter file.

splash.cxx
splash.hxx
  This module defines global functions for displaying and updating the
  splash screen.

viewer.cxx
viewer.hxx
  This module defines the FGViewer subsystem, which calculates the
  viewpoint in world coordinates and provides transformation matrices
  for the scenery code.  FGViewer has methods that allow the program
  to rotate or move the current view direction.

viewmgr.cxx
viewmgr.hxx
  This module defines the FGViewMgr subsystem, which manages all of
  the different views available in FlightGear.