1
0
Fork 0
flightgear/src/Main
curt 72017fc671 Andy Ross:
The biggest and coolest patch adds mouse sensitivity to the 3D
cockpits, so we can finally work the radios.  This ended up requiring
significant modifications outside of the 3D cockpit code.  Stuff folks
will want to look at:

+ The list of all "3D" cockpits is stored statically in the
   panelnode.cxx file.  This is clumsy, and won't migrate well to a
   multiple-aircraft feature.  Really, there should be a per-model list
   of 3D panels, but I couldn't find a clean place to put this.  The
   only handle you get back after parsing a model is a generic ssg
   node, to which I obviously can't add panel-specific methods.

+ The aircraft model is parsed *very* early in the initialization
   order.  Earlier, in fact, than the static list of allowable command
   bindings is built in fgInitCommands().  This is bad, as it means
   that mouse bindings on the instruments can't work yet.  I moved the
   call to fgInitCommands, but someone should look carefully to see
   that I picked the right place.  There's a lot of initialization
   code, and I got a little lost in there... :)

+ I added yet another "update" hook to the fgRenderFrame routine to
   hook the updates for the 3D panels.  This is only required for
   "mouse press delay", and it's a fairly clumsy mechanism based on
   frame rate instead of real time.  There appears to be delay handling
   already in place in the Input stuff, and there's a discussion going
   on about different mouse behavior right now.  Maybe this is a good
   time to unify these two (now three) approaches?
2002-10-29 19:44:03 +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 Modified for simpler command-manager interface. 2002-10-26 01:19:23 +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 Andy Ross: 2002-10-29 19:44:03 +00:00
fg_init.hxx Erik Hofman: 2002-10-07 15:45:00 +00:00
fg_io.cxx Bernie Bright: 2002-09-17 16:16:54 +00:00
fg_io.hxx Bernie Bright: 2002-08-25 20:56:16 +00:00
fg_props.cxx Added fgAddChangeListener convenience functions. 2002-06-18 03:27:21 +00:00
fg_props.hxx Added fgAddChangeListener convenience functions. 2002-06-18 03:27:21 +00:00
fgfs.cxx First draft of subsystem manager; moved some subsystems into it. 2002-10-03 21:20:56 +00:00
fgfs.hxx First draft of subsystem manager; moved some subsystems into it. 2002-10-03 21:20:56 +00:00
globals.cxx Frederic Bouvier: 2002-10-04 20:57:18 +00:00
globals.hxx Cleaned up some old cruft. 2002-10-16 03:44:19 +00:00
location.cxx Patch from Melchior Franz: 2002-06-07 19:43:40 +00:00
location.hxx Jim Wilson: 2002-05-20 16:13:37 +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 Andy Ross: 2002-10-29 19:44:03 +00:00
Makefile.am Shuffled location of ExternalNet.[ch]xx to it's own subdir. 2002-09-28 21:42:03 +00:00
options.cxx Fixed init-order bug that caused c172-set.xml defaults always to be 2002-10-10 18:39:52 +00:00
options.hxx Add support for a --show-aircraft option. This displays a list of all 2002-08-28 16:59:40 +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
util.cxx Globally-useful functions, starting with Alex Perry's low-pass 2002-09-27 22:01:33 +00:00
util.hxx Globally-useful functions, starting with Alex Perry's low-pass 2002-09-27 22:01:33 +00:00
viewer.cxx Patch from Cameron Moore: 2002-07-18 22:32:32 +00:00
viewer.hxx Patch from Julian Foad: 2002-06-28 17:59:59 +00:00
viewmgr.cxx Patch from Julian Foad: 2002-06-28 18:00:21 +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.