Inherits AbstractPlatform.
Public Member Functions | |
bool | Initialize (HINSTANCE hInstance) |
bool | CheckOnlyInstance () |
virtual bool | CreateNewWindow () |
int | Loop () |
virtual void | Exit (int code) |
Called in order to force the application to exit. | |
virtual std::wstring | GetPlatformDescription () |
Get a brief description if this platform. | |
virtual unsigned long | GetSystemTime () |
Used to retrieve the current system time from the underlying platform. | |
virtual Rect | GetWindowRectangle () |
Retrieves the rectangle for the game window from the OS. | |
virtual const Settings & | GetSettings () const |
Retrieve the settings for this application. | |
virtual void | PrintError (const std::wstring &message) const |
Prints an error message. | |
Static Public Member Functions | |
static bool | CheckMemory (DWORD nMin, DWORD nVMin) |
static bool | CheckCPU (INT nMin) |
static bool | CheckHDD (INT nMin) |
static LRESULT CALLBACK | WndProc (HWND hWnd, UINT msg, WPARAM wParam, LPARAM lParam) |
virtual void WindowsPlatform::Exit | ( | int | code | ) | [inline, virtual] |
Called in order to force the application to exit.
code | The code with which to exit with. |
Implements AbstractPlatform.
virtual std::wstring WindowsPlatform::GetPlatformDescription | ( | ) | [inline, virtual] |
Get a brief description if this platform.
A string representing the platform, i.e "Win32", "UNIX" etc.
Implements AbstractPlatform.
virtual const Settings& WindowsPlatform::GetSettings | ( | ) | const [inline, virtual] |
Retrieve the settings for this application.
Implements AbstractPlatform.
virtual unsigned long WindowsPlatform::GetSystemTime | ( | ) | [inline, virtual] |
Used to retrieve the current system time from the underlying platform.
Implements AbstractPlatform.
virtual Rect WindowsPlatform::GetWindowRectangle | ( | ) | [inline, virtual] |
Retrieves the rectangle for the game window from the OS.
Implements AbstractPlatform.