Box2D Binary Counter
Ian Parberry's "Introduction to Game Physics"
Functions | Variables
Main.cpp File Reference

Every program has to have a main. More...

#include "Game.h"
#include "Window.h"

Functions

int WINAPI wWinMain (_In_ HINSTANCE hInstance, _In_opt_ HINSTANCE hPrevInstance, _In_ LPWSTR lpCmdLine, _In_ int nCmdShow)
 The main entry point for this application.
More...
 

Variables

static LWindow g_cWindow
 The window class.
 
static CGame g_cGame
 The game class.
 

Detailed Description

Every program has to have a main.

Function Documentation

◆ wWinMain()

int WINAPI wWinMain ( _In_ HINSTANCE  hInstance,
_In_opt_ HINSTANCE  hPrevInstance,
_In_ LPWSTR  lpCmdLine,
_In_ int  nCmdShow 
)

The main entry point for this application.

The main entry point for this application.

Parameters
hInstanceHandle to the current instance of this application.
hPrevInstanceUnused.
lpCmdLineUnused.
nCmdShowNonzero if window is to be shown.
Returns
0 If this application terminates correctly, otherwise an error code.