FlightGear next
main.cxx File Reference
#include <config.h>
#include <simgear/compiler.h>
#include <simgear/props/props_io.hxx>
#include <iostream>
#include <osg/Camera>
#include <osg/GraphicsContext>
#include <osgDB/Registry>
#include <simgear/canvas/VGInitOperation.hxx>
#include <simgear/debug/logdelta.hxx>
#include <simgear/emesary/Emesary.hxx>
#include <simgear/emesary/notifications.hxx>
#include <simgear/io/raw_socket.hxx>
#include <simgear/math/SGMath.hxx>
#include <simgear/math/sg_random.hxx>
#include <simgear/misc/strutils.hxx>
#include <simgear/nasal/NasalEmesaryInterface.hxx>
#include <simgear/props/AtomicChangeListener.hxx>
#include <simgear/props/props.hxx>
#include <simgear/scene/material/Effect.hxx>
#include <simgear/scene/material/matlib.hxx>
#include <simgear/scene/model/modellib.hxx>
#include <simgear/scene/tsync/terrasync.hxx>
#include <simgear/structure/commands.hxx>
#include <simgear/timing/sg_time.hxx>
#include <Add-ons/AddonManager.hxx>
#include <GUI/MessageBox.hxx>
#include <GUI/gui.h>
#include <Main/locale.hxx>
#include <Navaids/NavDataCache.hxx>
#include <Scenery/scenery.hxx>
#include <Sound/soundmanager.hxx>
#include <Time/TimeManager.hxx>
#include <Viewer/CameraGroup.hxx>
#include <Viewer/GraphicsPresets.hxx>
#include <Viewer/WindowSystemAdapter.hxx>
#include <Viewer/renderer.hxx>
#include <Viewer/splash.hxx>
#include "fg_commands.hxx"
#include "fg_init.hxx"
#include "fg_io.hxx"
#include "fg_os.hxx"
#include "fg_props.hxx"
#include "main.hxx"
#include "options.hxx"
#include "positioninit.hxx"
#include "screensaver_control.hxx"
#include "subsystemFactory.hxx"
#include "util.hxx"
#include <Main/ErrorReporter.hxx>
#include <Main/sentryIntegration.hxx>
#include <simgear/embedded_resources/EmbeddedResourceManager.hxx>
#include <EmbeddedResources/FlightGear-resources.hxx>

Go to the source code of this file.

Classes

struct  SGLogDeltasListener
 

Namespaces

namespace  flightgear
 FlightPlan.hxx - defines a full flight-plan object, including departure, cruise, arrival information and waypoints.
 

Functions

static void fgMainLoop (void)
 
static void initTerrasync ()
 
static void fgSetVideoOptions ()
 
static void checkOpenGLVersion ()
 
void flightgear::registerMainLoop ()
 
void flightgear::unregisterMainLoopProperties ()
 
static void fgIdleFunction (void)
 
void fgResetIdleState ()
 
void fgInitSecureMode ()
 
static void rotateOldLogFiles ()
 
static void logToHome (const std::string &pri)
 
int fgMainInit (int argc, char **argv)
 

Variables

int _bootstrap_OSInit
 
static SGPropertyNode_ptr frame_signal
 
static int idle_state = 0
 
static SGLogDeltasListener s_sglogdeltas_listener
 

Function Documentation

◆ checkOpenGLVersion()

static void checkOpenGLVersion ( )
static

Definition at line 222 of file main.cxx.

◆ fgIdleFunction()

static void fgIdleFunction ( void )
static

Definition at line 295 of file main.cxx.

◆ fgInitSecureMode()

void fgInitSecureMode ( )

Definition at line 452 of file main.cxx.

◆ fgMainInit()

int fgMainInit ( int argc,
char ** argv )

Definition at line 537 of file main.cxx.

◆ fgMainLoop()

static void fgMainLoop ( void )
static

Definition at line 100 of file main.cxx.

◆ fgResetIdleState()

void fgResetIdleState ( )

Definition at line 446 of file main.cxx.

◆ fgSetVideoOptions()

static void fgSetVideoOptions ( )
static

Definition at line 185 of file main.cxx.

◆ initTerrasync()

static void initTerrasync ( )
static

Definition at line 158 of file main.cxx.

◆ logToHome()

static void logToHome ( const std::string & pri)
static

Definition at line 504 of file main.cxx.

◆ rotateOldLogFiles()

static void rotateOldLogFiles ( )
static

Definition at line 481 of file main.cxx.

Variable Documentation

◆ _bootstrap_OSInit

int _bootstrap_OSInit
extern

Definition at line 269 of file bootstrap.cxx.

◆ frame_signal

SGPropertyNode_ptr frame_signal
static

Definition at line 87 of file main.cxx.

◆ idle_state

int idle_state = 0
static

Definition at line 293 of file main.cxx.

◆ s_sglogdeltas_listener

SGLogDeltasListener s_sglogdeltas_listener
static

Definition at line 534 of file main.cxx.