FlightGear next
globals.cxx File Reference
#include <config.h>
#include <algorithm>
#include <osgViewer/Viewer>
#include <osgDB/Registry>
#include <simgear/structure/commands.hxx>
#include <simgear/structure/exception.hxx>
#include <simgear/misc/sg_path.hxx>
#include <simgear/misc/sg_dir.hxx>
#include <simgear/timing/sg_time.hxx>
#include <simgear/ephemeris/ephemeris.hxx>
#include <simgear/structure/subsystem_mgr.hxx>
#include <simgear/structure/event_mgr.hxx>
#include <simgear/misc/ResourceManager.hxx>
#include <simgear/props/propertyObject.hxx>
#include <simgear/props/props_io.hxx>
#include <simgear/props/AtomicChangeListener.hxx>
#include <simgear/scene/model/modellib.hxx>
#include <simgear/package/Root.hxx>
#include <Add-ons/AddonResourceProvider.hxx>
#include <Aircraft/controls.hxx>
#include <Airports/runways.hxx>
#include <Autopilot/route_mgr.hxx>
#include <Navaids/navlist.hxx>
#include <GUI/gui.h>
#include <Main/sentryIntegration.hxx>
#include <Viewer/viewmgr.hxx>
#include <Scenery/scenery.hxx>
#include <Scenery/tilemgr.hxx>
#include <Viewer/renderer.hxx>
#include <GUI/MessageBox.hxx>
#include <simgear/sound/soundmgr.hxx>
#include <simgear/scene/material/matlib.hxx>
#include "globals.hxx"
#include "locale.hxx"
#include "fg_props.hxx"
#include "fg_io.hxx"

Go to the source code of this file.

Classes

class  AircraftResourceProvider
 
class  CurrentAircraftDirProvider
 

Typedefs

using VersionPair = std::pair<int, int>
 

Functions

static void treeDumpRefCounts (int depth, SGPropertyNode *nd)
 
static void treeClearAliases (SGPropertyNode *nd)
 
static std::string autosaveName ()
 
static void deleteProperties (SGPropertyNode *props, const string_list &blacklist)
 
static bool operator< (const VersionPair &a, const VersionPair &b)
 
static void tryAutosaveMigration (const SGPath &userDataPath, SGPropertyNode *props)
 

Variables

FGGlobalsglobals = NULL
 

Typedef Documentation

◆ VersionPair

using VersionPair = std::pair<int, int>

Definition at line 766 of file globals.cxx.

Function Documentation

◆ autosaveName()

static std::string autosaveName ( )
static

Definition at line 727 of file globals.cxx.

◆ deleteProperties()

static void deleteProperties ( SGPropertyNode * props,
const string_list & blacklist )
static

Definition at line 748 of file globals.cxx.

◆ operator<()

static bool operator< ( const VersionPair & a,
const VersionPair & b )
static

Definition at line 768 of file globals.cxx.

◆ treeClearAliases()

static void treeClearAliases ( SGPropertyNode * nd)
static

Definition at line 672 of file globals.cxx.

◆ treeDumpRefCounts()

static void treeDumpRefCounts ( int depth,
SGPropertyNode * nd )
static

Definition at line 660 of file globals.cxx.

◆ tryAutosaveMigration()

static void tryAutosaveMigration ( const SGPath & userDataPath,
SGPropertyNode * props )
static

Definition at line 777 of file globals.cxx.

Variable Documentation

◆ globals

FGGlobals* globals = NULL

Definition at line 142 of file globals.cxx.