1
0
Fork 0
flightgear/src/Main
Florent Rougon 034fb89db3 Abort with a clear error message for invalid uses of --config inside a config file
The options.cxx code is not ready to handle recursive use of --config
(for config files). Instead of failing in an ugly way, abort with a
clear error message in such situations. See discussion at
<https://sourceforge.net/p/flightgear/mailman/message/35838852/>.

Note: it *is* possible to load XML PropertyList files from config files,
      so --config is not entirely "banned" from config files.

+ add missing include
2017-05-15 11:06:47 +02: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 End segfault_handler() with std::abort() rather than kill() on ourselves 2017-05-11 12:19:31 +02:00
CMakeLists.txt Migrate old autosave XML files. (Disabled for now) 2017-04-13 08:01:45 +01:00
fg_commands.cxx Move some commands to a separate file. 2017-03-22 21:13:40 +01:00
fg_commands.hxx Move some commands to a separate file. 2017-03-22 21:13:40 +01:00
fg_init.cxx Rename fatalMessageBox() to fatalMessageBoxWithoutExit(), add exiting variant 2017-04-10 02:29:48 +02:00
fg_init.hxx Start wiring package manager into the launcher. 2015-03-11 17:09:59 +00:00
fg_io.cxx Cleanup: remove unused code and includes 2015-07-08 17:24:13 +02:00
fg_io.hxx fg_io: Fixed mem leaks. 2012-11-01 14:42:26 +01:00
fg_os.hxx Reset: refactor static CameraGroup ownership 2013-11-16 13:02:47 +00:00
fg_os_common.cxx Move viewer-related sources to separate folder. 2012-04-25 23:28:00 +02:00
fg_props.cxx Partial testing framework. 2017-03-25 15:35:26 +00:00
fg_props.hxx Use future-proof SGPath APIs. 2016-06-28 10:08:38 +01:00
fg_scene_commands.cxx Replace "tile-manager" with "scenery" 2017-03-26 21:49:26 +01:00
FGInterpolator.cxx subsystemFactor: name fixing (use same as in fg_init.cxx) and cleanup. 2014-07-12 01:17:35 +02:00
FGInterpolator.hxx subsystemFactor: name fixing (use same as in fg_init.cxx) and cleanup. 2014-07-12 01:17:35 +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 Migration test runs successfully now. 2017-04-13 13:14:53 +01:00
globals.hxx Migration test runs successfully now. 2017-04-13 13:14:53 +01:00
locale.cxx Startup-tip system. 2017-03-03 23:21:18 +02:00
locale.hxx Startup-tip system. 2017-03-03 23:21:18 +02:00
logger.cxx Fix for SEGFAULT when using multiple loggers. 2015-11-22 17:11:36 +00:00
logger.hxx Fix for SEGFAULT when using multiple loggers. 2015-11-22 17:11:36 +00:00
main.cxx Revert "Remove the Ati viewport hack." 2017-04-12 11:13:14 +01:00
main.hxx Structural work (init + shutdown) for new reset system. 2013-11-19 17:38:51 +00:00
metar_main.cxx Replace the NOAA METAR URL with the new, updated one 2016-08-04 20:34:34 +02:00
options.cxx Abort with a clear error message for invalid uses of --config inside a config file 2017-05-15 11:06:47 +02:00
options.hxx Abort with a clear error message for invalid uses of --config inside a config file 2017-05-15 11:06:47 +02:00
positioninit.cxx Cleanup unused variable warning. 2017-04-06 18:26:18 +09:00
positioninit.hxx Restructure positional finalisation for sim-reset. 2012-12-15 15:25:45 +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 Fix rpmlint/Linux packager complaints 2012-05-05 01:42:41 +02:00
screensaver_control.cxx Disable screensaver: initial Linux-only implementation 2013-12-15 21:18:22 +00:00
screensaver_control.hxx Disable screensaver: initial Linux-only implementation 2013-12-15 21:18:22 +00:00
subsystemFactory.cxx fgcommand remove-subsystem: fix double delete/segfault. 2015-11-19 23:17:58 +01:00
subsystemFactory.hxx Initial work on dynamic subsystem creation. 2012-09-30 16:34:51 +01:00
test_autosaveMigration.cxx Fix build error due to sgstream.hxx now being in simgear/io/iostreams/ 2017-04-14 00:19:59 +02:00
test_posinit.cxx Migrate old autosave XML files. (Disabled for now) 2017-04-13 08:01:45 +01:00
util.cxx Rename fatalMessageBox() to fatalMessageBoxWithoutExit(), add exiting variant 2017-04-10 02:29:48 +02:00
util.hxx fgValidatePath uses SGPath 2016-07-03 23:59:40 +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.