Public Methods |
| CGXGraphicsEngine () |
| ~CGXGraphicsEngine () |
bool | Cleanup () |
bool | Init (UINT uWindowWidth, UINT uWindowHeight, UINT uBBWidth, UINT uBBHeight, bool bFullScreen, HWND hWnd, HINSTANCE hInstance) |
bool | SetCameraPos (CGXVector< 3 > *pPos) |
bool | GetCameraPos (CGXVector< 3 > *pPos) |
bool | MoveCamera (GXMOVEDIR Direction, float fAmt) |
void | SetCameraVelocity (const float fAmt) |
float | GetCameraVelocity () const |
void | RotateCamera (const float fX, const float fY) |
void | GetCameraDirection (CGXVector< 3 > *pOut) |
bool | ToggleWindowConfig (bool bFullScreen, UINT uWidth, UINT uHeight) |
UINT | GetTime () |
bool | SetTime (UINT uNewTime) |
bool | IncrementTime () |
bool | LoadLand (char *szFileName) |
bool | SaveLand (char *szFileName) |
bool | GenerateLand (const UINT uRandSeed, char *szColorSpline) |
bool | ToggleWireFrame () |
int | PrecacheModel (char *szFileName) |
int | CreateEntity (UINT uModel) |
bool | DeleteEntity (UINT uEntityID) |
bool | GetEntityWaypoint (UINT uID, SGXEntityWaypoints *pOut) |
bool | SetEntityWaypoint (UINT uID, SGXEntityWaypoints *pIn) |
bool | GetEntityPosition (UINT uID, CGXVector< 3 > *pOut) |
int | PrecacheSprite (char *szFileName) |
int | AddSpriteInstance (SGXSpriteInfo *pInfo) |
bool | DeleteSpriteInstance (UINT uIndex) |
bool | GetSpriteInfo (UINT uIndex, SGXSpriteInfo *pOut) |
bool | SetSpriteInfo (UINT uIndex, SGXSpriteInfo *pIn) |
bool | RenderStuff () |
bool | ShouldThreadExit () |
HANDLE | GetThreadDeathEvent () |
bool | WakeUpThread () |
HANDLE | GetWorkerThreadHandle () |
HWND | GetHWND () |
bool | ValidateWindow () |
void | DisplayStats (bool bStats) |
Protected Methods |
bool | OnDeviceLost () |
bool | KillWorkerThread () |
bool | CreateWorkerThread () |
bool | SetupMatrices () |
bool | CheckForLostDevice () |
bool | SetRenderStates () |
Protected Attributes |
CGXDeviceContainer | m_Device |
CGXLandRenderer | m_LandRenderer |
CGXSky | m_Sky |
CGXMutex | m_RenderMutex |
CGXFirstPersonMovement | m_Mover |
CGXModelManager | m_ModelManager |
CGXEntityList | m_EntityList |
CGXSpriteManager | m_SpriteManager |
HANDLE | m_hWorkerThread |
HANDLE | m_hThreadHasDiedEvent |
bool | m_bShouldThreadExit |
UINT | m_uCurrentTime |
D3DXMATRIX | m_mViewMatrix |
D3DXMATRIX | m_mProjectionMatrix |
bool | m_bReadyToRender |
HWND | m_hWnd |
float | m_fCameraVelocity |
RECT | m_WindowRect |