![]() |
Tiled Platformer Prototype
A Basic Tiled Platformer
|
The home of WinMain. More...

Functions | |
| int WINAPI | wWinMain (_In_ HINSTANCE hInst, _In_opt_ HINSTANCE hPrevInst, _In_ LPWSTR lpCmdLine, _In_ int nCmdShow) |
| The main entry point for this application. | |
This file should be identical in all Sage games except for commenting out or uncommenting in a single line to activate or deactivate (respectively) the optional debug console, or commenting out a single line of code if you don't want to use Visual Leak Detector (which is not recommended).
| int WINAPI wWinMain | ( | _In_ HINSTANCE | hInst, |
| _In_opt_ HINSTANCE | hPrevInst, | ||
| _In_ LPWSTR | lpCmdLine, | ||
| _In_ int | nCmdShow ) |
Set things up so that your implementation of CGame::Initialize() is called at the correct time during initialization, CGame::ProcessFrame() is called as often as possible to compose and render a frame of animation, and CGame::Release() is called at the correct time during game shutdown.
| hInst | Handle to the current instance of this application. |
| hPrevInst | Unused. |
| lpCmdLine | Unused. |
| nCmdShow | Nonzero if window is to be shown. |
