#include <GameClass.h>
|
| GameClass () |
|
| ~GameClass () |
|
void | Close () |
|
void | KillScannerData () const |
|
void | RequestScannerData () const |
|
void | RepairVehicle () const |
|
void | RequestClose () const |
|
void | ToggleFullScreen (bool goFullScreen) |
|
void | LoadTexture (LPDIRECT3DTEXTURE9 *resource, const std::string &pointerName, const WCHAR *file, D3DFORMAT format=D3DFMT_A8R8G8B8) |
|
void | FlightDirectorOn () const |
|
void | GearUpShift () const |
|
void | GearDownShift () const |
|
void | AutopilotDisconnect () const |
|
bool | TurnOffTVM () const |
|
bool | TurnOffDOR () const |
|
void | LostScannerTarget (const char *msg) const |
|
void | LostVerticalTarget () const |
|
void | UseOrDisuseInventoryItemType (int itemtype, int itemId, int vehicleId) const |
|
void | GetProgramVersion (int &major, int &minor, int &build, int &revision) const |
|
void | AddTrackedResource (const char *name, _D3DPOOL pool=D3DPOOL_MANAGED) |
|
void | UpdateTrackedResource (const char *name, int status) |
|
HRESULT | InitDirectInput (HWND hDlg) const |
|
void | ScreenCapture () const |
|
|
static void | TouchFile (const WCHAR *str) |
|
static bool CALLBACK | IsDeviceAcceptable (D3DCAPS9 *pCaps, D3DFORMAT AdapterFormat, D3DFORMAT BackBufferFormat, bool bWindowed, void *pUserContext) |
|
static bool CALLBACK | ModifyDeviceSettings (DXUTDeviceSettings *pDeviceSettings, void *pUserContext) |
|
static HRESULT CALLBACK | OnCreateDevice (IDirect3DDevice9 *pd3dDevice, const D3DSURFACE_DESC *pBackBufferSurfaceDesc, void *pUserContext) |
|
static HRESULT CALLBACK | OnResetDevice (IDirect3DDevice9 *pd3dDevice, const D3DSURFACE_DESC *pBackBufferSurfaceDesc, void *pUserContext) |
|
static void CALLBACK | OnFrameMove (double fTime, float fElapsedTime, void *pUserContext) |
|
static void CALLBACK | OnFrameRender (IDirect3DDevice9 *pd3dDevice, double fTime, float fElapsedTime, void *pUserContext) |
|
static LRESULT CALLBACK | MsgProc (HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lParam, bool *pbNoFurtherProcessing, void *pUserContext) |
|
static void CALLBACK | KeyboardProc (UINT nChar, bool bKeyDown, bool bAltDown, void *pUserContext) |
|
static void CALLBACK | OnLostDevice (void *pUserContext) |
|
static void CALLBACK | OnDestroyDevice (void *pUserContext) |
|
static float | GetCpuSpeedMhz () |
|
Definition at line 42 of file GameClass.h.
◆ GameClass()
◆ ~GameClass()
GameClass::~GameClass |
( |
| ) |
|
◆ AddTrackedResource()
void GameClass::AddTrackedResource |
( |
const char * |
name, |
|
|
_D3DPOOL |
pool = D3DPOOL_MANAGED |
|
) |
| |
◆ AutopilotDisconnect()
void GameClass::AutopilotDisconnect |
( |
| ) |
const |
◆ Close()
void GameClass::Close |
( |
| ) |
|
◆ FlightDirectorOn()
void GameClass::FlightDirectorOn |
( |
| ) |
const |
◆ GearDownShift()
void GameClass::GearDownShift |
( |
| ) |
const |
◆ GearUpShift()
void GameClass::GearUpShift |
( |
| ) |
const |
◆ GetCpuSpeedMhz()
float GameClass::GetCpuSpeedMhz |
( |
| ) |
|
|
static |
◆ GetProgramVersion()
void GameClass::GetProgramVersion |
( |
int & |
major, |
|
|
int & |
minor, |
|
|
int & |
build, |
|
|
int & |
revision |
|
) |
| const |
◆ InitDirectInput()
HRESULT GameClass::InitDirectInput |
( |
HWND |
hDlg | ) |
const |
◆ InitializeGame()
void GameClass::InitializeGame |
( |
| ) |
|
|
private |
◆ IsDepthFormatOk()
BOOL GameClass::IsDepthFormatOk |
( |
D3DFORMAT |
DepthFormat, |
|
|
D3DFORMAT |
AdapterFormat, |
|
|
D3DFORMAT |
BackBufferFormat |
|
) |
| const |
|
private |
◆ IsDeviceAcceptable()
bool CALLBACK GameClass::IsDeviceAcceptable |
( |
D3DCAPS9 * |
pCaps, |
|
|
D3DFORMAT |
AdapterFormat, |
|
|
D3DFORMAT |
BackBufferFormat, |
|
|
bool |
bWindowed, |
|
|
void * |
pUserContext |
|
) |
| |
|
static |
◆ KeyboardProc()
void CALLBACK GameClass::KeyboardProc |
( |
UINT |
nChar, |
|
|
bool |
bKeyDown, |
|
|
bool |
bAltDown, |
|
|
void * |
pUserContext |
|
) |
| |
|
static |
◆ KillScannerData()
void GameClass::KillScannerData |
( |
| ) |
const |
◆ LoadTexture()
void GameClass::LoadTexture |
( |
LPDIRECT3DTEXTURE9 * |
resource, |
|
|
const std::string & |
pointerName, |
|
|
const WCHAR * |
file, |
|
|
D3DFORMAT |
format = D3DFMT_A8R8G8B8 |
|
) |
| |
◆ LostScannerTarget()
void GameClass::LostScannerTarget |
( |
const char * |
msg | ) |
const |
◆ LostVerticalTarget()
void GameClass::LostVerticalTarget |
( |
| ) |
const |
◆ ModifyDeviceSettings()
bool CALLBACK GameClass::ModifyDeviceSettings |
( |
DXUTDeviceSettings * |
pDeviceSettings, |
|
|
void * |
pUserContext |
|
) |
| |
|
static |
◆ MsgProc()
LRESULT CALLBACK GameClass::MsgProc |
( |
HWND |
hWnd, |
|
|
UINT |
uMsg, |
|
|
WPARAM |
wParam, |
|
|
LPARAM |
lParam, |
|
|
bool * |
pbNoFurtherProcessing, |
|
|
void * |
pUserContext |
|
) |
| |
|
static |
◆ OnCreateDevice()
HRESULT CALLBACK GameClass::OnCreateDevice |
( |
IDirect3DDevice9 * |
pd3dDevice, |
|
|
const D3DSURFACE_DESC * |
pBackBufferSurfaceDesc, |
|
|
void * |
pUserContext |
|
) |
| |
|
static |
◆ OnDestroyDevice()
void CALLBACK GameClass::OnDestroyDevice |
( |
void * |
pUserContext | ) |
|
|
static |
◆ OnFrameMove()
void CALLBACK GameClass::OnFrameMove |
( |
double |
fTime, |
|
|
float |
fElapsedTime, |
|
|
void * |
pUserContext |
|
) |
| |
|
static |
◆ OnFrameRender()
void CALLBACK GameClass::OnFrameRender |
( |
IDirect3DDevice9 * |
pd3dDevice, |
|
|
double |
fTime, |
|
|
float |
fElapsedTime, |
|
|
void * |
pUserContext |
|
) |
| |
|
static |
◆ OnLostDevice()
void CALLBACK GameClass::OnLostDevice |
( |
void * |
pUserContext | ) |
|
|
static |
◆ OnResetDevice()
HRESULT CALLBACK GameClass::OnResetDevice |
( |
IDirect3DDevice9 * |
pd3dDevice, |
|
|
const D3DSURFACE_DESC * |
pBackBufferSurfaceDesc, |
|
|
void * |
pUserContext |
|
) |
| |
|
static |
◆ RepairVehicle()
void GameClass::RepairVehicle |
( |
| ) |
const |
◆ RequestClose()
void GameClass::RequestClose |
( |
| ) |
const |
◆ RequestScannerData()
void GameClass::RequestScannerData |
( |
| ) |
const |
◆ ScreenCapture()
void GameClass::ScreenCapture |
( |
| ) |
const |
◆ SendScreenShot()
void GameClass::SendScreenShot |
( |
HBITMAP |
hbitmap | ) |
const |
|
private |
◆ ToggleFullScreen()
void GameClass::ToggleFullScreen |
( |
bool |
goFullScreen | ) |
|
◆ TouchFile()
void GameClass::TouchFile |
( |
const WCHAR * |
str | ) |
|
|
static |
◆ TurnOffDOR()
bool GameClass::TurnOffDOR |
( |
| ) |
const |
◆ TurnOffTVM()
bool GameClass::TurnOffTVM |
( |
| ) |
const |
◆ UpdateTrackedResource()
void GameClass::UpdateTrackedResource |
( |
const char * |
name, |
|
|
int |
status |
|
) |
| |
◆ UseOrDisuseInventoryItemType()
void GameClass::UseOrDisuseInventoryItemType |
( |
int |
itemtype, |
|
|
int |
itemId, |
|
|
int |
vehicleId |
|
) |
| const |
◆ beginScene
unsigned char GameClass::beginScene = 0 |
◆ bus
Bus* GameClass::bus = nullptr |
◆ config
◆ dev_notify
HDEVNOTIFY GameClass::dev_notify = nullptr |
|
private |
◆ discord
◆ displayHeight
float GameClass::displayHeight = 0 |
◆ displays
◆ displayscale
float GameClass::displayscale = 0 |
◆ displaystage
◆ displayWidth
float GameClass::displayWidth = 0 |
◆ dpiscale
float GameClass::dpiscale = 0 |
◆ FrameElapsedTime
float GameClass::FrameElapsedTime = 0 |
◆ graphics
◆ GUI
HMI* GameClass::GUI = nullptr |
◆ instage
short GameClass::instage = 0 |
◆ lastDeviceChange
float GameClass::lastDeviceChange = 2.0f |
|
private |
◆ lastDeviceChangedInput
bool GameClass::lastDeviceChangedInput = false |
|
private |
◆ lastDeviceChangedSound
bool GameClass::lastDeviceChangedSound = false |
|
private |
◆ loadstage
short GameClass::loadstage = 0 |
◆ logger
Logger* GameClass::logger = nullptr |
◆ maximized
bool GameClass::maximized = false |
|
private |
◆ modules
std::vector<Module*> GameClass::modules |
◆ networking
◆ screenShotStatus
int GameClass::screenShotStatus = 0 |
◆ showKeymapOverlay
bool GameClass::showKeymapOverlay = false |
◆ sound
Sound* GameClass::sound = nullptr |
◆ stage
short GameClass::stage = 0 |
◆ trackedResources
std::vector<Resource> GameClass::trackedResources |
|
private |
◆ viewscreen
◆ vphelp
The documentation for this class was generated from the following files: