38 virtual void update( DWORD milliseconds ) = 0;
39 virtual void draw() = 0;
58 friend int WINAPI
WinMain( HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpCmdLine,
int nCmdShow );
59 int main( HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpCmdLine,
int nCmdShow );
60 friend LRESULT CALLBACK
WndProc( HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lParam );
61 LRESULT message(HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lParam);
66 static const UINT WM_TOGGLEFULLSCREEN = ( WM_USER + 1 );
70 const char * m_className;
71 bool m_isProgramLooping;
72 bool m_createFullScreen;