1
0
Fork 0
flightgear/src/Main
david 5a849b66e8 Major overhaul:
- changed FGSubsystem::update(int) to
  FGSubsystem::update(delta_time_sec); the argument is now delta time
  in seconds rather than milliseconds

- added FGSubsystem::suspend(), FGSubsystem::suspend(bool),
  FGSubsystem::resume(), and FGSubsystem::is_suspended(), all with
  default implementations; is_suspended takes account of the master
  freeze as well as the subsystem's individual suspended state

- the FDMs now use the delta time argument the same as the rest of
  FlightGear; formerly, main.cxx made a special case and passed a
  multiloop argument

- FDMs now calculate multiloop internally instead of relying on
  main.cxx

There are probably some problems -- I've done basic testing with the
major FDMs and subsystems, but we'll probably need a few weeks to
sniff out bugs.
2002-05-11 16:28:50 +00:00
..
.cvsignore -Removed .cvsignore from itself, since .cvsignore is now in the CVS 2001-12-12 04:15:23 +00:00
3dfx.sh Ssg tweaks. 1999-06-30 00:25:13 +00:00
fg_commands.cxx Mac OS X fixes and MSVC warning fixes from Jonathan Polley. 2002-05-10 23:35:06 +00:00
fg_commands.hxx Initial revision of interface to new SimGear command manager. 2001-06-01 17:52:17 +00:00
fg_init.cxx Mac OS X fixes and MSVC warning fixes from Jonathan Polley. 2002-05-10 23:35:06 +00:00
fg_init.hxx Viewer update from Jim Wilson: 2002-04-06 17:23:18 +00:00
fg_io.cxx Somewhere along the line in the recent changes some std::cout were 2002-03-18 19:46:24 +00:00
fg_io.hxx Die if I/O Channel config fails for any reason. 2000-10-04 20:50:38 +00:00
fg_props.cxx Major overhaul: 2002-05-11 16:28:50 +00:00
fg_props.hxx Major property-manager rewrite, using const char * throughout 2002-03-19 17:12:13 +00:00
fgfs.cxx Major overhaul: 2002-05-11 16:28:50 +00:00
fgfs.hxx Major overhaul: 2002-05-11 16:28:50 +00:00
globals.cxx Major overhaul: 2002-05-11 16:28:50 +00:00
globals.hxx Major overhaul: 2002-05-11 16:28:50 +00:00
location.cxx Jim Wilson: 2002-04-19 00:25:25 +00:00
location.hxx Patch from Jim Wilson: 2002-04-13 13:11:34 +00:00
logger.cxx Major overhaul: 2002-05-11 16:28:50 +00:00
logger.hxx Major overhaul: 2002-05-11 16:28:50 +00:00
main.cxx Major overhaul: 2002-05-11 16:28:50 +00:00
Makefile.am This patch includes the FGLocation class, a few fixes, cleanup in viewer code. 2002-04-11 04:26:07 +00:00
options.cxx Regularized the position initialization: 2002-05-01 23:13:36 +00:00
options.hxx Added fullscreen to globals, and fixed compile bug for 3DFX cards. 2002-01-06 16:51:31 +00:00
README Moved FGAircraftModel subsystem out into its own directory, and 2002-04-05 03:19:34 +00:00
runfgfs.bat.in source tree reorganization prior to flightgear 0.7 2009-09-14 14:26:20 +02:00
runfgfs.in Script was looking for wrong executable name. 1999-10-15 00:11:52 +00:00
splash.cxx Modifications to coordinate with recent changes in simgear. 2001-05-15 22:30:39 +00:00
splash.hxx source tree reorganization prior to flightgear 0.7 2009-09-14 14:26:20 +02:00
viewer.cxx Major overhaul: 2002-05-11 16:28:50 +00:00
viewer.hxx Major overhaul: 2002-05-11 16:28:50 +00:00
viewmgr.cxx Major overhaul: 2002-05-11 16:28:50 +00:00
viewmgr.hxx Major overhaul: 2002-05-11 16:28:50 +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.