1
0
Fork 0
flightgear/src/Main
ehofman 4c55a5aeb4 Andy wrote:
This is just a port of an old 3D HUD patch to the new view code.
This pans the HUD with the view, by pasting it onto a quad fixed in front of the viewer.  It also fixes the awful, arbitrary scaling problems the HUD code has.  The old HUD only looks right when viewed at 1024x768 and 55 degree FOV.  This works the scale out magically so that it looks right in all views.  It also redefines the "<compression-factor>" tag in the ladder to (1) mean compression instead of expansion and (2) have non-psychopathic units (now "1" means 1 degree per degree).  Fix this in your existing HUD ladder files before reporting bugs.  It's definitely a cosmetic win -- the velocity vector points at the right thing and the horizon lines up properly.

Norman wrote:

I have created a modified version of Andy's patch that implements the 3D HUD as the 'normal' and the 2D HUD as the 'minimal' HUD.   < i > and < shift I > keys
2003-03-21 15:02:23 +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 Add a new <power> property to allow raising an axis to a power other 2003-03-01 21:28:51 +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 Fix a typo 2003-03-20 22:31:25 +00:00
fg_init.hxx Declare fgInitNav(). 2003-02-21 02:42:45 +00:00
fg_io.cxx Add multiplayer support from Duncan McCreanor and Diarmuid Tyson 2003-03-19 20:45:09 +00:00
fg_io.hxx Bernie Bright: 2002-08-25 20:56:16 +00:00
fg_props.cxx Change cout and cerr in SG_LOG() where appropriate, otherwise comment it out 2003-03-20 10:43:02 +00:00
fg_props.hxx Make fgLoadProps more flexible, to read from $FG_ROOT or the current 2003-01-21 02:08:00 +00:00
fgfs.cxx Compiler warning fixes and small updates 2003-03-19 17:46:52 +00:00
fgfs.hxx Simplify subsystem handling through FGGlobals. 2003-01-16 16:01:26 +00:00
globals.cxx Removed the old FGSteam module from FlightGear. 2003-01-29 15:30:29 +00:00
globals.hxx Add multiplayer support from Duncan McCreanor and Diarmuid Tyson 2003-03-19 20:45:09 +00:00
location.cxx Patch from Melchior Franz: 2002-06-07 19:43:40 +00:00
location.hxx - Change the global_tile_mgr to a globals->get_tile_mgr() which is 2002-12-06 22:29:46 +00:00
logger.cxx Minor logging changes. 2003-02-01 17:59:52 +00:00
logger.hxx Minor logging changes. 2003-02-01 17:59:52 +00:00
main.cxx Andy wrote: 2003-03-21 15:02:23 +00:00
Makefile.am Add multiplayer support from Duncan McCreanor and Diarmuid Tyson 2003-03-19 20:45:09 +00:00
options.cxx Change cout and cerr in SG_LOG() where appropriate, otherwise comment it out 2003-03-20 10:43:02 +00:00
options.hxx Some various massaging and clean ups of initialization code. 2002-11-16 20:17:11 +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 - Some refactoring of the configure.ac script. 2002-12-10 20:50:48 +00:00
splash.hxx Added some cheap eye candy to entertain myself for a few minutes. Splash 2002-11-17 01:21:13 +00:00
util.cxx Changed 'exit' command to quit immediately, rather than displaying a 2003-01-24 03:08:23 +00:00
util.hxx Changed 'exit' command to quit immediately, rather than displaying a 2003-01-24 03:08:23 +00:00
viewer.cxx There are a number of little changes. Tested with current cvs as of 20:30EST 2003-02-06 19:44:32 +00:00
viewer.hxx There are a number of little changes. Tested with current cvs as of 20:30EST 2003-02-06 19:44:32 +00:00
viewmgr.cxx There are a number of little changes. Tested with current cvs as of 20:30EST 2003-02-06 19:44:32 +00:00
viewmgr.hxx There are a number of little changes. Tested with current cvs as of 20:30EST 2003-02-06 19:44:32 +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.