1
0
Fork 0
flightgear/src/Main
James Turner 0e545d711c Attempt to handle NaNs more elegantly
Check for NaNs after each FDM iteration, and freeze the sim if found.
Report this condition to the user and to the reporting backend, along
with the last valid position.

Probably needs some refinement, this is just a first guess.

Sentry-Id: FLIGHTGEAR-AM
2020-12-18 13:58:33 +00:00
..
.gitignore Ignore a generated file 2011-01-28 20:15:43 +01:00
AircraftDirVisitorBase.hxx Split the launcher main window into its own file. 2017-04-10 14:38:57 +01:00
bootstrap.cxx Add more bootstrap logging for Win7 weirdness 2020-12-07 17:11:17 +00:00
CMakeLists.txt CMake: overhaul how we find 3rd-party files 2020-08-26 13:57:24 +01:00
fg_commands.cxx Improved Sview system to allow specification of views from Nasal using properties. 2020-12-12 14:09:39 +00:00
fg_commands.hxx Move some commands to a separate file. 2017-03-22 21:13:40 +01:00
fg_init.cxx Add graphics-presets logic (as a subsystem) 2020-11-30 15:45:13 +00:00
fg_init.hxx Improve UI around read-only mode / lock-files 2020-05-03 18:02:20 +01:00
fg_io.cxx Fix some warnings from Xcode 12 2020-10-29 14:52:19 +00:00
fg_io.hxx generates io channel names and adds to property tree 2020-08-10 10:49:09 +01:00
fg_os.hxx Reset: refactor static CameraGroup ownership 2013-11-16 13:02:47 +00:00
fg_os_common.cxx Rename our own version of pu.h to FlightGear_pu.h per James advice. Remove inclusion of pu.h where it isn't requirted. 2020-09-03 12:56:01 +02:00
fg_props.cxx Explicitly set the daylight-saving time flag to zero since we specify in GMT 2020-10-22 12:02:28 +02:00
fg_props.hxx Change some warnings to developer mode. 2020-04-10 10:40:32 +01:00
fg_scene_commands.cxx Support reloading Compositor instances at runtime via a fgcommand 2020-12-17 06:36:25 +01:00
FGInterpolator.cxx SGSubsystem classes: Registration of all subsystems. 2019-07-01 14:51:32 +02:00
FGInterpolator.hxx SGSubsystem classes: Addition of staticSubsystemClassId() to all subsystems. 2019-07-01 14:51:32 +02:00
flightgear.ico Force 32 bits depth on .ico - only for Windows 2013-11-14 21:24:56 +01:00
flightgear.rc Cmake: set an icon to the Windows executable 2011-01-28 19:30:27 +01:00
globals.cxx CompositeViewer: Support for multiple view windows using osgViewer::CompositeViewer. 2020-11-21 13:27:02 +00:00
globals.hxx Print missing --data path in the "fatal message box" 2020-07-28 10:25:25 +02:00
locale.cxx Improve locale handling 2020-07-14 12:23:23 +01:00
locale.hxx Remove unused code and fix typos 2020-07-11 13:22:33 +02:00
logger.cxx Fix some warnings from Xcode 12 2020-10-29 14:52:19 +00:00
logger.hxx SGSubsystem classes: Addition of staticSubsystemClassId() to all subsystems. 2019-07-01 14:51:32 +02:00
main.cxx Add graphics-presets logic (as a subsystem) 2020-11-30 15:45:13 +00:00
main.hxx Improve reset main-loop interaction. 2020-08-11 18:44:29 +01:00
metar_main.cxx src/Main/metar_main.cxx: added -s option to decode explicit METAR string without contacting server. 2019-10-31 22:53:41 +00:00
options.cxx Change default Windows download-dir to 2020-12-02 17:36:12 +00:00
options.hxx Tweaks to avoid a crash when asking for FGData path 2020-06-04 17:43:27 +01:00
positioninit.cxx CompositeViewer: Support for multiple view windows using osgViewer::CompositeViewer. 2020-11-21 13:27:02 +00:00
positioninit.hxx Improve interaction of —parkpos and repositioning 2020-05-19 18:00:34 +01: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 Fix rpmlint/Linux packager complaints 2012-05-05 01:42:41 +02:00
screensaver_control.cxx REVIEW: Memory Leak - screensaver_control 2020-08-22 22:59:33 -05:00
screensaver_control.hxx Disable screensaver: initial Linux-only implementation 2013-12-15 21:18:22 +00:00
sentryIntegration.cxx Attempt to handle NaNs more elegantly 2020-12-18 13:58:33 +00:00
sentryIntegration.hxx Sentry: block XML parse errors from the launcher 2020-10-29 16:23:26 +00:00
subsystemFactory.cxx Move tide calculations from FGLight into it's own subsystem 2020-10-19 14:28:56 +02:00
subsystemFactory.hxx Initial work on dynamic subsystem creation. 2012-09-30 16:34:51 +01:00
util.cxx Basic support for structured authors data 2018-07-25 13:58:48 +01:00
util.hxx Basic support for structured authors data 2018-07-25 13:58:48 +01:00
XLIFFParser.cxx XLIFF: Fix loading of indexed strings 2018-10-13 21:22:18 +01:00
XLIFFParser.hxx XLIFF parser ignores un-approved translations 2018-10-12 22:24:33 +01: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.