Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Class Members | File Members | Related Pages

Main.cpp File Reference

Top-level application implementation including main() function. More...

#include <math.h>
#include <GL/glut.h>
#include <plib/ssg.h>
#include <plib/ssgAux.h>
#include "../Ssg/ssgLocal.h"
#include "../Include/FlyLegacy.h"
#include "../Include/Globals.h"
#include "../Include/Situation.h"
#include "../Include/KeyMap.h"
#include "../Include/Ui.h"
#include "../Include/Database.h"
#include "../Include/Utility.h"
#include "../Include/LogFile.h"
#include "../Include/Pod.h"

Go to the source code of this file.

Functions

static void idle (void)
static void reshape (int w, int h)
static void motion (int x, int y)
static void passive_motion (int x, int y)
static void mouse (int button, int updown, int x, int y)
static void keyboard (unsigned char key, int x, int y)
static void special (int key, int x, int y)
static void redraw (void)
static void InitGraphics ()
void InitFonts (void)
void cleanup_fonts (void)
void LoadDatabases (void)
void UnloadDatabases (void)
static void InitGlobalsNoPodFilesystem (void)
static void InitGlobalsWithPodFilesystem (void)
void CleanupGlobals (void)
void ShutdownAll (void)
static void InitSplashScreen (void)
static void Draw2D (SSurface *surf)
static void RedrawSplashScreen (void)
static void CleanupSplashScreen (void)
static void Initialize (void)
static void InitLoadingScreen (void)
static void RedrawLoadingScreen (void)
static void CleanupLoadingScreen (void)
static void LoadStartupSituation (void)
static void RedrawSimulation (void)
static void InitExitScreen (void)
static void RedrawExitScreen (void)
static void CleanupExitScreen (void)
static void ExitApp ()
int main (int argc, char **argv)

Variables

SGlobalsglobals = NULL
CDatabasedbAirport
CDatabasedbAtsRoute
CDatabasedbComm
CDatabasedbCountry
CDatabasedbState
CDatabasedbIls
CDatabasedbNavaid
CDatabasedbObstruct
CDatabasedbRunway
CDatabasedbWaypoint
SBitmapbmSplash = NULL
SSurfacesurfSplash = NULL
SBitmapbmLoading
SSurfacesurfLoading
static unsigned int nFrames = 0
static float tFrames = 0.0f
static float frameRate = 0.0f
SBitmapbmExit = NULL
SSurfacesurfExit = NULL


Detailed Description

Implementation of main() and WinMain() entry points for the application, application initialization and shutdown functions, and the GTFO method of immediate application abort due to fatal errors.

Definition in file Main.cpp.


Function Documentation

void cleanup_fonts void   ) 
 

Definition at line 246 of file Main.cpp.

References SGlobals::fonts, FreeFont(), SDefaultFonts::ftasci10, SDefaultFonts::ftascm10, SDefaultFonts::ftdigi13, SDefaultFonts::ftdigi9, SDefaultFonts::ftdigi9b, SDefaultFonts::ftdigi9d, SDefaultFonts::ftmicro5, SDefaultFonts::ftmno14b, SDefaultFonts::ftmono12, SDefaultFonts::ftsmal10, SDefaultFonts::ftthin24, and SDefaultFonts::fttiny7.

Referenced by CleanupGlobals().

static void CleanupExitScreen void   )  [static]
 

Definition at line 1158 of file Main.cpp.

References FreeBitmap(), and FreeSurface().

Referenced by ExitApp().

void CleanupGlobals void   ) 
 

Definition at line 562 of file Main.cpp.

References SGlobals::audiomgr, cleanup_fonts(), cleanup_ui(), SGlobals::context, SGlobals::cursormgr, SGlobals::fuimgr, SGlobals::keymap, SGlobals::logDebug, SGlobals::logWarning, SGlobals::pfs, pshutdown(), SGlobals::settings, SGlobals::sit, SGlobals::skymgr, SGlobals::slewmgr, SGlobals::terrainmgr, and SGlobals::timemgr.

Referenced by ShutdownAll().

static void CleanupLoadingScreen void   )  [static]
 

Definition at line 1021 of file Main.cpp.

References FreeBitmap(), and FreeSurface().

Referenced by redraw().

static void CleanupSplashScreen void   )  [static]
 

Definition at line 952 of file Main.cpp.

References FreeBitmap(), and FreeSurface().

Referenced by redraw().

static void Draw2D SSurface surf  )  [static]
 

Definition at line 912 of file Main.cpp.

References Blit(), gtfo, SGlobals::screenHeight, and SGlobals::screenWidth.

Referenced by RedrawExitScreen(), RedrawLoadingScreen(), and RedrawSplashScreen().

static void ExitApp  )  [static]
 

Definition at line 1165 of file Main.cpp.

References CleanupExitScreen(), and ShutdownAll().

Referenced by redraw().

static void idle void   )  [static]
 

Definition at line 619 of file Main.cpp.

References first, KB_MODIFIER_ALT, KB_MODIFIER_CTRL, KB_MODIFIER_NONE, KB_MODIFIER_SHIFT, SGlobals::keymap, and CKeyMap::KeyPress().

Referenced by InitGraphics().

static void InitExitScreen void   )  [static]
 

Definition at line 1123 of file Main.cpp.

References SBitmap::bitmapName, CreateSurface(), DrawBitmap(), DrawTextC(), EraseSurface(), SGlobals::fonts, SDefaultFonts::ftthin24, GetBitmapSize(), LoadBitmap(), MakeRGB(), SGlobals::screenHeight, SGlobals::screenWidth, SSurface::xScreen, and SSurface::yScreen.

Referenced by redraw().

void InitFonts void   ) 
 

Todo:
Remove memory leak markers around FTASCM10.RAW load

Todo:
Debug fonts: FTDOS12.RAW and FTTINY7W.RAW do not comply with required palette index scheme for fonts; required bitmap patch FTNORM14.RAW FTNORM28.RAW

Definition at line 194 of file Main.cpp.

References SFont::fontName, SGlobals::fonts, SDefaultFonts::ftasci10, SDefaultFonts::ftascm10, SDefaultFonts::ftdigi13, SDefaultFonts::ftdigi9, SDefaultFonts::ftdigi9b, SDefaultFonts::ftdigi9d, SDefaultFonts::ftmicro5, SDefaultFonts::ftmno14b, SDefaultFonts::ftmono12, SDefaultFonts::ftsmal10, SDefaultFonts::ftthin24, SDefaultFonts::fttiny7, and LoadFont().

Referenced by main().

static void InitGlobalsNoPodFilesystem void   )  [static]
 

Definition at line 371 of file Main.cpp.

References SGlobalSettings::aircraftWireframe, SGlobals::audiomgr, SGlobals::cursormgr, SGlobals::drawRate, SGlobals::fuimgr, GetIniVar(), CAudioManager::Init(), SGlobals::keymap, SGlobals::logDebug, SGlobals::logWarning, SGlobals::mouseScrollingEnabled, SGlobals::panelCreepStep, SGlobals::panelScrollStep, CTimeManager::Prepare(), SaveIniSettings(), SGlobals::screenDepth, SGlobals::screenHeight, SGlobals::screenRefresh, SGlobals::screenWidth, SetIniVar(), CTimeManager::SetTimeScale(), SGlobals::settings, SGlobals::simRate, SGlobals::sit, SGlobalSettings::skydomeWireframe, SGlobals::skymgr, SGlobals::slewmgr, SGlobals::terrainmgr, SGlobalSettings::terrainReliefShaded, SGlobalSettings::terrainWireframe, SGlobals::timemgr, and CLogFile::Write().

Referenced by main().

static void InitGlobalsWithPodFilesystem void   )  [static]
 

Definition at line 541 of file Main.cpp.

References SGlobals::fuimgr, LoadDatabases(), CFuiManager::Print(), SGlobals::skymgr, and SGlobals::terrainmgr.

Referenced by Initialize().

static void InitGraphics  )  [static]
 

Todo:
Remove memory leak tags around ssgInit after PLIB upgrade

Definition at line 106 of file Main.cpp.

References SGlobals::context, GetIniFloat(), GetIniVar(), idle(), keyboard(), motion(), mouse(), passive_motion(), redraw(), reshape(), SGlobals::screenDepth, SGlobals::screenHeight, SGlobals::screenRefresh, SGlobals::screenWidth, special(), and WARNINGLOG.

Referenced by main().

static void Initialize void   )  [static]
 

Definition at line 962 of file Main.cpp.

References CCursorManager::BindCursor(), SGlobals::crsrArrow, SGlobals::cursormgr, init_globe_tile_table(), init_keyboard(), InitGlobalsWithPodFilesystem(), and CCursorManager::SetCursor().

Referenced by redraw().

static void InitLoadingScreen void   )  [static]
 

Definition at line 982 of file Main.cpp.

References SBitmap::bitmapName, CreateSurface(), DrawBitmap(), DrawBitmapPartial(), EraseSurface(), GetBitmapSize(), LoadBitmap(), SGlobals::screenHeight, SGlobals::screenWidth, SSurface::xScreen, and SSurface::yScreen.

Referenced by redraw().

static void InitSplashScreen void   )  [static]
 

Definition at line 877 of file Main.cpp.

References SBitmap::bitmapName, CreateSurface(), DrawBitmap(), DrawTextC(), EraseSurface(), FLY_LEGACY_BUILD, FLY_LEGACY_MAJOR_VERSION, FLY_LEGACY_MINOR_VERSION, FLY_LEGACY_TITLE, SGlobals::fonts, SDefaultFonts::ftthin24, GetBitmapSize(), LoadBitmap(), MakeRGB(), SGlobals::screenHeight, SGlobals::screenWidth, SSurface::xScreen, and SSurface::yScreen.

Referenced by redraw().

static void keyboard unsigned char  key,
int  x,
int  y
[static]
 

Definition at line 821 of file Main.cpp.

References glutKeyToFlyLegacyKey(), glutModifiersToFlyLegacyModifiers(), SGlobals::keymap, CKeyMap::KeyPress(), SGlobals::logWarning, and CLogFile::Write().

Referenced by InitGraphics().

void LoadDatabases void   ) 
 

Definition at line 283 of file Main.cpp.

References CDatabase::AddIndex(), and CDatabase::Mount().

Referenced by InitGlobalsWithPodFilesystem().

static void LoadStartupSituation void   )  [static]
 

Definition at line 1038 of file Main.cpp.

References GetIniString(), SaveIniSettings(), SetIniString(), and SGlobals::sit.

Referenced by redraw().

int main int  argc,
char **  argv
 

Todo:
Mount the top-level folder on all other drives

Definition at line 1287 of file Main.cpp.

References APP_SPLASH_SCREEN, SGlobals::appState, GetIniString(), gtfo, init_ui(), InitFonts(), InitGlobalsNoPodFilesystem(), InitGraphics(), LoadIniSettings(), padddiskfolder(), paddpodfolder(), SGlobals::pfs, pinit(), SaveIniSettings(), and SetIniString().

void motion int  x,
int  y
[static]
 

Definition at line 689 of file Main.cpp.

References SGlobals::cursormgr, SGlobals::fuimgr, CSituation::GetCurrentPanel(), CCursorManager::MouseMotion(), CPanel::MouseMotion(), CFuiManager::MouseMove(), and SGlobals::sit.

Referenced by InitGraphics().

void mouse int  button,
int  updown,
int  x,
int  y
[static]
 

Definition at line 757 of file Main.cpp.

References SGlobals::fuimgr, CSituation::GetCurrentPanel(), MOUSE_BUTTON_LEFT, MOUSE_BUTTON_MIDDLE, MOUSE_BUTTON_RIGHT, CPanel::MouseClick(), CFuiManager::MouseClick(), CFuiManager::MouseStopClick(), and SGlobals::sit.

Referenced by InitGraphics().

void passive_motion int  x,
int  y
[static]
 

Definition at line 723 of file Main.cpp.

References SGlobals::cursormgr, SGlobals::fuimgr, CSituation::GetCurrentPanel(), CCursorManager::MouseMotion(), CPanel::MouseMotion(), CFuiManager::MouseMove(), and SGlobals::sit.

Referenced by InitGraphics().

static void redraw void   )  [static]
 

Todo:
If use has selected 'Generate Situation' as the startup default, then display the dialog and wait for the user to create the situationbefore transitioning to the next state

Definition at line 1203 of file Main.cpp.

References APP_EXIT, APP_EXIT_SCREEN, APP_GENERATE_SITUATION, APP_INIT, APP_LOAD_SITUATION, APP_LOADING_SCREEN, APP_PREPARE, APP_SIMULATION, APP_SPLASH_SCREEN, SGlobals::appState, CleanupLoadingScreen(), CleanupSplashScreen(), ExitApp(), InitExitScreen(), Initialize(), InitLoadingScreen(), InitSplashScreen(), LoadStartupSituation(), CSituation::Prepare(), RedrawExitScreen(), RedrawLoadingScreen(), RedrawSimulation(), RedrawSplashScreen(), and SGlobals::sit.

Referenced by InitGraphics().

static void RedrawExitScreen void   )  [static]
 

Definition at line 1152 of file Main.cpp.

References Draw2D().

Referenced by redraw().

static void RedrawLoadingScreen void   )  [static]
 

Definition at line 1013 of file Main.cpp.

References Draw2D().

Referenced by redraw().

static void RedrawSimulation void   )  [static]
 

Todo:
Balance sim update and draw cycles

Definition at line 1077 of file Main.cpp.

References SGlobals::cursormgr, CCursorManager::Draw(), CFuiManager::Draw(), CSituation::Draw(), DrawUi(), frameRate, SGlobals::fuimgr, CTimeManager::GetDeltaRealTime(), CTimeManager::GetDeltaSimTime(), nFrames, SGlobals::sit, tFrames, SGlobals::timemgr, CSituation::Timeslice(), and CTimeManager::Update().

Referenced by redraw().

static void RedrawSplashScreen void   )  [static]
 

Definition at line 946 of file Main.cpp.

References Draw2D().

Referenced by redraw().

static void reshape int  w,
int  h
[static]
 

Definition at line 680 of file Main.cpp.

Referenced by InitGraphics().

void ShutdownAll void   ) 
 

Definition at line 599 of file Main.cpp.

References CleanupGlobals(), SGlobals::logWarning, UnloadDatabases(), UnloadIniSettings(), and CLogFile::Write().

Referenced by ExitApp().

static void special int  key,
int  x,
int  y
[static]
 

Definition at line 846 of file Main.cpp.

References glutModifiersToFlyLegacyModifiers(), glutSpecialToFlyLegacyKey(), SGlobals::keymap, CKeyMap::KeyPress(), SGlobals::logWarning, and CLogFile::Write().

Referenced by CSkyDomeImage::CSkyDomeImage(), and InitGraphics().

void UnloadDatabases void   ) 
 

Definition at line 352 of file Main.cpp.

Referenced by ShutdownAll().


Variable Documentation

SBitmap* bmExit = NULL
 

Definition at line 1120 of file Main.cpp.

SBitmap* bmLoading
 

Definition at line 980 of file Main.cpp.

SBitmap* bmSplash = NULL
 

Definition at line 874 of file Main.cpp.

CDatabase* dbAirport
 

Todo:
Move databases to globals

Definition at line 268 of file Main.cpp.

Referenced by debug_dump_apdb_cb(), SearchAirportsByFAA(), and SearchAirportsByICAO().

CDatabase* dbAtsRoute
 

Definition at line 269 of file Main.cpp.

CDatabase* dbComm
 

Definition at line 270 of file Main.cpp.

CDatabase* dbCountry
 

Definition at line 271 of file Main.cpp.

Referenced by TeleportDirectoryNotify().

CDatabase* dbIls
 

Definition at line 273 of file Main.cpp.

CDatabase* dbNavaid
 

Definition at line 274 of file Main.cpp.

Referenced by SearchNavaidsByGlobeTile().

CDatabase* dbObstruct
 

Definition at line 275 of file Main.cpp.

CDatabase* dbRunway
 

Definition at line 276 of file Main.cpp.

CDatabase* dbState
 

Definition at line 272 of file Main.cpp.

Referenced by TeleportDirectoryNotify().

CDatabase* dbWaypoint
 

Definition at line 277 of file Main.cpp.

float frameRate = 0.0f [static]
 

Definition at line 1075 of file Main.cpp.

Referenced by RedrawSimulation().

SGlobals* globals = NULL
 

Definition at line 58 of file Main.cpp.

Referenced by CCameraCockpit::ActivateCockpitPanel(), CWaterMaskDatabase::AddGlobeTile(), aircraft_slew_cb(), AircraftTeleportNotify(), apply(), CAudioManager::AssignSfx(), calc_zenith_azimuth_angles(), CBitmapPBG::CBitmapPBG(), CBitmapPBM::CBitmapPBM(), CCameraManager::CCameraManager(), CDefaultSuperTile::CDefaultSuperTile(), CDefaultTextureDatabase::CDefaultTextureDatabase(), CFuiManager::CFuiManager(), CFuiTheme::CFuiTheme(), CFuiWindow::CFuiWindow(), CGenericTileDatabase::CGenericTileDatabase(), CImageTIFF::CImageTIFF(), close_window(), CMaskImage::CMaskImage(), CModelACM::CModelACM(), CModelBIN::CModelBIN(), CModelSMF::CModelSMF(), CMoonImage::CMoonImage(), CPanel::CPanel(), CQuarterGlobeTile::CQuarterGlobeTile(), CRawImage::CRawImage(), CQuarterGlobeTile::Create(), CSlicedSuperTile::Create(), CDetailTile::CreateFanGeometry(), CDetailTile::CreateStripGeometry(), CPanel::CreepDown(), CPanel::CreepLeft(), CPanel::CreepRight(), CPanel::CreepUp(), CSceneryModels::CSceneryModels(), CSituation::CSituation(), CTerrainTypeDatabase::CTerrainTypeDatabase(), date_time_dlg_create(), date_time_ok_cb(), debug_dump_camera_cb(), debug_dump_electrical_cb(), debug_dump_fui_cb(), debug_dump_keymap_cb(), debug_dump_sky_cb(), debug_dump_system_pfs_cb(), debug_dump_terrain_cb(), debug_dump_time_cb(), debug_dump_user_cb(), CSimpleSwitch::DecState(), do_teleport(), CNavigationGauge::Draw(), CBKXPDRKT76Gauge::Draw(), CBKADFKR87Gauge::Draw(), CCursorManager::Draw(), CPanel::Draw(), CSituation::Draw(), CTerrainManager::Draw(), CFuiLabel::Draw(), CFuiManager::Draw(), CFuiManager::DrawNoticeToUser(), DrawNoticeToUser(), elevation_tile_texture_dlg_create(), FileLoadEventNotify(), FileQuitEventNotify(), FileSaveAsEventNotify(), FileSaveEventNotify(), CFuiWindowTitle::Fill(), CFuiCloseButton::Fill(), CFuiMinimizeButton::Fill(), CFuiZoomButton::Fill(), FrameRateNotify(), FuiFont(), CPanel::GaugeHit(), CDefaultTextureDatabase::GetBaseTexture(), CCameraSpot::GetCameraOffset(), CCameraSpot::GetCameraOrientation(), CFuiManager::GetComponentType(), CTileElevationDatabase::GetDetailTileElevations(), GetLocalNavaids(), globe_tile_texture_dlg_create(), CSimpleSwitch::IncState(), init_keyboard(), KeyAirplane(), KeyCameraCockpit(), KeyCameraCockpitScrollDown(), KeyCameraCockpitScrollLeft(), KeyCameraCockpitScrollRight(), KeyCameraCockpitScrollUp(), KeyCameraDefineUser1(), KeyCameraDefineUser2(), KeyCameraDefineUser3(), KeyCameraDefineUser4(), KeyCameraDefineUser5(), KeyCameraDefineUser6(), KeyCameraDefineUser7(), KeyCameraDefineUser8(), KeyCameraFlyby(), KeyCameraHeadPitchDown(), KeyCameraHeadPitchUp(), KeyCameraPanDown(), KeyCameraPanLeft(), KeyCameraPanRight(), KeyCameraPanUp(), KeyCameraSpot(), KeyCameraTower(), KeyCameraUser1(), KeyCameraUser2(), KeyCameraUser3(), KeyCameraUser4(), KeyCameraUser5(), KeyCameraUser6(), KeyCameraUser7(), KeyCameraUser8(), KeyCameraZoomIn(), KeyCameraZoomInFast(), KeyCameraZoomInSlow(), KeyCameraZoomOut(), KeyCameraZoomOutFast(), KeyCameraZoomOutSlow(), KeyCameraZoomRatioIn(), KeyCameraZoomRatioOut(), KeyCameraZoomReset(), KeyGlobal(), KeyGlobalCameraNext(), KeyGlobalCameraPrev(), KeyGlobalPause(), KeyGlobalTimeBackward(), KeyGlobalTimeForward(), KeyMenuQuit(), keys_buttons_dlg_create(), keys_buttons_keyset_cb(), KeySlew(), KeySlewBackward(), KeySlewBankLeft(), KeySlewBankRight(), KeySlewDown(), KeySlewForward(), KeySlewLeft(), KeySlewPitchDown(), KeySlewPitchUp(), KeySlewReorient(), KeySlewRight(), KeySlewRotateLeft(), KeySlewRotateLeft45(), KeySlewRotateRight(), KeySlewRotateRight45(), KeySlewStop(), KeySlewUp(), CDatabaseIndex::Load(), CDatabaseTemplate::Load(), CCursor::Load(), CElevationBlockBT::Load(), CScenerySet::Load(), CQTRFile::Load(), CRawImage::Load(), CStarImages::LoadBSCDatabase(), CTileElevationDatabase::LoadBT(), CStarImages::LoadConstellations(), CDetailTile::LoadDefaultTexture(), CStarImages::LoadFlyDatabase(), CTileElevationDatabase::LoadQTR(), CBitmappedFont::LoadRaw(), CDatabase::Mount(), CNavigationGauge::MouseClick(), CSimpleInOutStateSwitch::MouseClick(), CBasicBatterySwitch::MouseClick(), CBasicMagnetoSwitch::MouseClick(), CCursorManager::MouseMotion(), CPanel::MouseMotion(), CGaugeClickArea::MouseMoved(), CGauge::MouseMoved(), CSimpleSwitch::MouseMoved(), CFuiButton::MouseStopClick(), CFuiCheckbox::MouseStopClick(), CFuiRadioButton::MouseStopClick(), msg_debug_dlg_create(), open_window(), OpenStream(), options_pause_cb(), OptionsDateTimeNotify(), OptionsKeysButtonsNotify(), OptionsRealismNotify(), OptionsSceneryNotify(), OptionsSetupAxesNotify(), OptionsSoundsNotify(), OptionsStartupNotify(), OptionsTestControlsNotify(), CFuiThemeWidget::ParseBitmap(), CAudioManager::PlaySfx(), CAudioManager::PlaySfxDelay(), CSituation::Prepare(), CTerrainManager::Prepare(), CSkyManager::Print(), CGaugeNeedle::Read(), CGaugeRectangle::Read(), CGaugeClickArea::Read(), CGaugeKnob::Read(), CGaugeAnnunciator::Read(), CGauge::Read(), CBitmapGauge::Read(), CNeedleGauge::Read(), CTwoNeedleGauge::Read(), CThreeNeedleGauge::Read(), CDigitalNeedleGauge::Read(), CAltimeterGauge::Read(), CRollingAltimeterGauge::Read(), CHorizonGauge::Read(), CFDHorizonGauge::Read(), CHorizontalBallGauge::Read(), CAirspeedGauge::Read(), CVerticalSpeedGauge::Read(), CDirectionalGyroGauge::Read(), CVacuumGauge::Read(), CSuctionGauge::Read(), CFuelGauge::Read(), CFuelFlowGauge::Read(), COilPressureGauge::Read(), COilTemperatureGauge::Read(), CTachometerGauge::Read(), CDualTachometerGauge::Read(), CN1TachometerGauge::Read(), CExhaustGasTemperatureGauge::Read(), CBasicCompassGauge::Read(), CAnalogClockGauge::Read(), CAmmeterGauge::Read(), CFlyhawkDigitalClockGauge::Read(), CBasicDigitalClockGauge::Read(), CBasicADFGauge::Read(), CDigitalReadoutGauge::Read(), CDigitsReadoutGauge::Read(), CCabinPressureRateKnobGauge::Read(), CCabinPressureGauge::Read(), CBrakePressureGauge::Read(), CAOANeedleGauge::Read(), CTurnCoordinatorGauge::Read(), CHSIGauge::Read(), CFlyhawkELTGauge::Read(), CSlipIndicatorGauge::Read(), CHobbsMeterGauge::Read(), CNavigationGauge::Read(), CBKNavComKX155Gauge::Read(), CBKXPDRKT76Gauge::Read(), CBKADFKR87Gauge::Read(), CBKGPSKLN89Gauge::Read(), CBKAP140Gauge::Read(), CBKKFC200Gauge::Read(), CBKKFC150Gauge::Read(), CBKAudioKMA26Gauge::Read(), CGenericNavRadioGauge::Read(), CGenericCommRadioGauge::Read(), CGenericTransponderGauge::Read(), CGenericADFRadioGauge::Read(), CRMINeedleGauge::Read(), CNavGaugeGroup::Read(), CRadioGaugeGroup::Read(), CAnnunciator::Read(), CFlyhawkAnnunciator::Read(), CFlyhawkAnnunciatorTest::Read(), CFlyhawkNavGpsPanelGauge::Read(), CFlyhawkFuelSelectorGauge::Read(), CFlyhawkElevatorTrimGauge::Read(), CMalybooCHTIndicatorGauge::Read(), CMalybooCHTButtonGauge::Read(), CMalybooNavGpsPanelGauge::Read(), CMalybooDigitalClockGauge::Read(), CMalybooEngineMonitorGauge::Read(), CNavajoFuelSelectorGauge::Read(), CNavajoAmmeterGauge::Read(), CNavajoRadarAltimeterGauge::Read(), CCollinsEFISSelectionGauge::Read(), CCollinsVspeedPanel::Read(), CCollinsHFRadioGauge::Read(), CCollinsPFDGauge::Read(), CCollinsNDGauge::Read(), CCollinsRTUGauge::Read(), CCollinsAirDataGauge::Read(), CCollinsMNDGauge::Read(), CUniversalFMSGauge::Read(), CPilatusEFISPanel::Read(), CWalkerTempAirspeedGauge::Read(), CGyroSlavingGauge::Read(), CVerticalRateGauge::Read(), CPropSyncGauge::Read(), CDMEGauge::Read(), CDME2Gauge::Read(), CWeatherRadarGauge::Read(), CAnalogAltPreselectGauge::Read(), CMomentaryHotSpotGauge::Read(), CLitInOutSwitch::Read(), CSimpleSwitch::Read(), CSimpleInOutStateSwitch::Read(), CBasicBatterySwitch::Read(), CTwoStateELTGauge::Read(), CSwitchPairGauge::Read(), CSimpleFloatSwitch::Read(), CDualSwitch::Read(), CPushPullKnobGauge::Read(), CPrimerKnobGauge::Read(), CFlapsSwitchGauge::Read(), CLitLandingGearKnobGauge::Read(), CMixtureKnobGauge::Read(), CReversibleThrottleKnobGauge::Read(), CDualKnobGauge::Read(), CFlyhawkLightKnobGauge::Read(), CTurnKnobGauge::Read(), CCoveredSwitch::Read(), CCoveredLightButtonGauge::Read(), CVerticalSliderGauge::Read(), CTrimWheelGauge::Read(), CTrimWheelIndicatorGauge::Read(), CIndicatorGauge::Read(), CFlapsIndicatorGauge::Read(), CPushButtonGauge::Read(), CLightButtonGauge::Read(), CTurnSwitchGauge::Read(), CMasterCautionWarningButtonGauge::Read(), CKAFireExtinguisherButton::Read(), CWalkerAPPanel::Read(), CWalkerFirePanel::Read(), CLightSwitchSetGauge::Read(), CRockerSwitch::Read(), CDataMapPolynomial::Read(), CDataMapTable::Read(), CDataMap::Read(), CCockpitPanel::Read(), CCameraCockpit::Read(), CCursor::Read(), CKeyDefinition::Read(), CKeySet::Read(), CKeyMap::Read(), CPanel::Read(), CSituation::Read(), CSubsystem::Read(), CDependent::Read(), CGenericMonitor::Read(), CGenericIndicator::Read(), CPneumaticPump::Read(), CEmergencyLocator::Read(), CExteriorLight::Read(), CPitotStaticSwitch::Read(), CAnnunciatorLight::Read(), CStallWarning::Read(), CLightSettingState::Read(), CSwitchSet::Read(), CBattery::Read(), CAlternator::Read(), CPitotStaticSubsystem::Read(), CAltimeter::Read(), CVerticalSpeedIndicator::Read(), CAirspeedIndicator::Read(), CPneumaticSubsystem::Read(), CAttitudeIndicator::Read(), CDirectionalGyro::Read(), CVacuumIndicator::Read(), CTurnCoordinator::Read(), CBKKAP140Panel::Read(), CAmmeter::Read(), CEngineSubsystem::Read(), COilPressure::Read(), CBaseControl::Read(), CMixtureControl::Read(), CFlapControl::Read(), CRadio::Read(), CNavRadio::Read(), CADFRadio::Read(), CTransponderRadio::Read(), CBKKT76Radio::Read(), CBKKLN89GPSRadio::Read(), CFuelSubsystem::Read(), CFuelTap::Read(), CFuelCell::Read(), CFuelHeater::Read(), CFuelMath::Read(), CFuelPump::Read(), CFuelSource::Read(), CFuelTank::Read(), CEngineFuelPump::Read(), CFuelManagement::Read(), CAPUFuelSource::Read(), CPitotStaticPort::Read(), CSimulatedVehicle::Read(), CFuelSystem::Read(), CAerodynamicModel::Read(), CElectricalSystem::Read(), CPitotStaticSystem::Read(), CGroundSuspension::Read(), CLoadoutUnit::Read(), CVariableLoadouts::Read(), CCockpitManager::Read(), CCameraManager::Read(), CLevelOfDetail::Read(), CRadioManager::Read(), CExternalLights::Read(), CEngineManager::Read(), CControlMixer::Read(), CChecklists::Read(), CFlightControlSystem::Read(), CSlopeWindData::Read(), CWorldObject::Read(), CFuiComponent::Read(), CFuiWindow::Read(), CFuiGroupBox::Read(), CGaugeClickArea::ReadFinished(), CGauge::ReadFinished(), CBKNavComKX155Gauge::ReadFinished(), CGyroSlavingGauge::ReadFinished(), CSimpleSwitch::ReadFinished(), CSimpleInOutStateSwitch::ReadFinished(), CSimpleFloatSwitch::ReadFinished(), CMasterCautionWarningButtonGauge::ReadFinished(), CKAFireExtinguisherButton::ReadFinished(), CRockerSwitch::ReadFinished(), CCameraCockpit::ReadFinished(), CPanel::ReadFinished(), CFuiWindow::ReadFinished(), CFuiButton::ReadFinished(), CFuiPopupMenu::ReadFinished(), CFuiCheckbox::ReadFinished(), CFuiRadioButton::ReadFinished(), CFuiLabel::ReadFinished(), CFuiTextField::ReadFinished(), CFuiList::ReadFinished(), ReadMessage(), ReadString(), CIniFile::Save(), scenery_options_dlg_create(), CPanel::ScrollDown(), CPanel::ScrollLeft(), CPanel::ScrollRight(), CPanel::ScrollUp(), SendMessage(), CFuiComponent::SetPosition(), CAudioManager::SetSfxDirection(), CAudioManager::SetSfxFrequency(), CAudioManager::SetSfxPosition(), CAudioManager::SetSfxVolume(), sky_tweaker_dlg_create(), skydomeimage_predraw(), CBasicMagnetoSwitch::StopClick(), CAudioManager::StopSfx(), CAudioManager::StopSfxByUserData(), teleport_dlg_create(), TeleportAlertNotify(), TeleportDirectoryNotify(), CSituation::Timeslice(), CNavRadio::TimeSlice(), CBKKX155Radio::TimeSlice(), toggle_window(), CQuarterGlobeTile::UnassignIndices(), CScenerySet::Unload(), CSlewManager::Update(), CTimeManager::Update(), and CSkyManager::Update().

unsigned int nFrames = 0 [static]
 

Definition at line 1073 of file Main.cpp.

Referenced by CModelACM::CModelACM(), CModelSMF::CModelSMF(), and RedrawSimulation().

SSurface* surfExit = NULL
 

Definition at line 1121 of file Main.cpp.

SSurface* surfLoading
 

Definition at line 981 of file Main.cpp.

SSurface* surfSplash = NULL
 

Definition at line 875 of file Main.cpp.

float tFrames = 0.0f [static]
 

Definition at line 1074 of file Main.cpp.

Referenced by RedrawSimulation().

SourceForge.net Logo Documentation generated by doxygen