3#define DIRECTINPUT_VERSION 0x0800
23#define designedWidthC 1680.0f
24#define designedHeightC 1050.0f
38 strcpy_s(
name, 32, prmName);
73 static void CALLBACK
OnFrameMove(
double fTime,
float fElapsedTime,
void* pUserContext);
75 static LRESULT CALLBACK
MsgProc(HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lParam,
bool* pbNoFurtherProcessing,
void* pUserContext);
76 static void CALLBACK
KeyboardProc(UINT nChar,
bool bKeyDown,
bool bAltDown,
void* pUserContext);
82 void ChangeGear(
char newGear,
bool isInit =
false)
const;
87 bool TurnOffDOR(
bool preserveGuidance =
false)
const;
HRESULT(WINAPI *CUniBuffer::_ScriptApplyDigitSubstitution)(const SCRIPT_DIGITSUBSTITUTE *
HRESULT InitializeGameHud()
void LoadTexture(Rendering::RenderTexture **resource, const std::string &pointerName, const WCHAR *file, Rendering::ImageFormat format=Rendering::ImageFormat::BGRA8)
std::unique_ptr< Bus > bus
static HRESULT CALLBACK OnResetDevice(Rendering::RenderDevice *pd3dDevice, const Rendering::SurfaceDescription *pBackBufferSurfaceDesc, void *pUserContext)
bool lastDeviceChangedSound
void LostScannerTarget(const char *msg) const
void RequestScannerData() const
static void CALLBACK OnDestroyDevice(void *pUserContext)
void UnregisterDeviceNotifications()
void GetProgramVersion(int &major, int &minor, int &build, int &revision) const
std::unique_ptr< HMI > GUI
HRESULT InitDirectInput(HWND hDlg) const
void UseOrDisuseInventoryItemType(int itemtype, int itemsubtype, int itemId, int vehicleId) const
std::unique_ptr< Sound > sound
static void CALLBACK KeyboardProc(UINT nChar, bool bKeyDown, bool bAltDown, void *pUserContext)
void LostVerticalTarget(const char *msg) const
std::unique_ptr< Networking > networking
void AddTrackedResource(const char *name, Rendering::ResourcePool pool=Rendering::ResourcePool::Managed)
void UpdateTrackedResource(const char *name, int status)
void RequestClose() const
static void CALLBACK OnLostDevice(void *pUserContext)
std::vector< Resource > trackedResources
void FlightDirectorOn() const
std::unique_ptr< Displays > displays
static void CALLBACK OnFrameMove(double fTime, float fElapsedTime, void *pUserContext)
static float GetCpuSpeedMhz()
static void CALLBACK OnFrameRender(Rendering::RenderDevice *pd3dDevice, double fTime, float fElapsedTime, void *pUserContext)
bool loadingReadyToContinue
std::vector< std::unique_ptr< Module > > modules
void RepairVehicle() const
static void TouchFile(const WCHAR *str)
HRESULT OnFramePresented()
std::unique_ptr< DiscordIntegration > discord
ModuleScheduler moduleScheduler
void KillScannerData() const
static LRESULT CALLBACK MsgProc(HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lParam, bool *pbNoFurtherProcessing, void *pUserContext)
bool lastDeviceChangedInput
std::unique_ptr< Viewscreen > viewscreen
bool TurnOffDOR(bool preserveGuidance=false) const
void ChangeGear(char newGear, bool isInit=false) const
std::unique_ptr< Graphics > graphics
std::unique_ptr< Logger > logger
static HRESULT CALLBACK OnCreateDevice(Rendering::RenderDevice *pd3dDevice, const Rendering::SurfaceDescription *pBackBufferSurfaceDesc, void *pUserContext)
void ToggleFullScreen(bool goFullScreen)
void AutopilotDisconnect() const
Resource(const char *prmName, Rendering::ResourcePool prmPool)
Rendering::ResourcePool pool