MZ@ !L!This program cannot be run in DOS mode. $^ߵ???] ? ?6#? ? ??????r9?Rich?PEL]?!  Y0X6dPdl0.text  `.rdata00@@.data@@@.rsrcdPpP@@.reloc@BjhJdPd%QVhFF D$D$t l3L$F^d ÐItjPÐ@DHDD$P YjhdPd%QSVWht$;~d3ۋω\$ 3D$ 3D$ 3$D$ 2dD$ 2D$} 2D$_ h @D$2* L$dždždž_^[d VD$t V ^jh9 dPd%QVt$D$ D$ dD$v $D$f D$\ D$L NdD$? D$r L$^d ÐVW|$ FdPhW5 QhW# RhW $PhW dQhW RhW PhW QhW RhW PhW QhWu RhWi PhWK QhW3 VhW! _^djhh Pd%Vj: u^L$d ÍlAPh(A h$AhAlAhAL$ D$tah@L$ L$UQRPL$h@QD$(bT$L$RKL$D$h@L$ 9D$lAPh@7*L$D$*hAlAh@Ah@lAh@h@lAvL$sT$Qh@RD$  D$lAPh@T$Qh@RW D$lAPh@XKT$Qh@R# D$lAPht@$L$D$lhl@h@lAhh@h@lAhd@h@lAeh`@ht@lAJth$AhT@lA%hT@lADth$Ah<@lAJh<@lAth$Ah(@lAh(@lAL$ ^d Ð,1Ð1ÐVjtjh^jR^VjtjqjNdg^jXjNdN^ÐVj2t3t)jj$ jd^jj$jd^ÐA jPt1ÐA jPt1ÐV$D$t V^VD$t V^|$uLH P,H3ɉP(H H, D$u@D$PhPA"j@AtjhPAhhA u PhPA jh dPd%QVj D$D$t V3jD$F `L$ d ^ÐVWw t~V~G _^ÐD$I PcD$I Pc hAvhp2YÐhAjh dPd%QVt$ND$L$t4^d Ðjh dPd%QVt$t4j ND$WL$4^d ÐVXD$t VA^D$Vt4t V^t4Ð%0%0%0% 0%0%0%0%0% 0%$0%(0%,0%00%40%80%<0%@0%D0%H0%L0%P0%T0%X0%\0%`0%d0%h0%l0%p0%t0%x0%|0%0%0%0%0%0%0%0%0%0%0%0%0%0%0%0%0%0%0%0%0%0%0%0%0%0%0%0%0%0%0%0%0%1%1%1% 1%1%1%1%1% 1%$1%(1%01%41%81%<1%@1%D1%H1%L1%h1̃=Au t$\1YhAhAt$ ^ t$YHËD$u9A~. A l1 Au?hT1YAu3f Ah@h@AAYY=u9At0 AVq;rtѡAP`1%AY^jX US]Vu W}u =A&tu"0At WVSЅt WVSu3NWVSgE u u7WPStu&WVSu!E } t0AtWVSЉE E _^[] %X1%d1%|1%1%1%1%1%1%1%1%1̋EPWø4̋MMdYMKM=M$)MdM M4̋M&MdMMM$MdMP5̍MhM`MX5̋EPYø5̋M6̋M069 ,J H f 7yQ +YX  L K q@  7I  a\7= : B  ZR VO88888j888@1 `  `p`P~xrlf`ZTNHB<60*$ |`p`~xrlf`ZTNHB<60*$ ``p`~xrlf`ZTNHB<60*$ `P@`p`P `p`` p2,&`0 4@ 5`hs p5   +  5P X `  6  (6  P6 6`808~8T1088t1888|19 ,J H f 7yQ +YX  L K q@  7I  a\7= : B  ZR VO88888j888MFC42.DLLI__CxxFrameHandlerMSVCRT.dllU__dllonexit_onexit^free_inittermmalloc_adjust_fdivEnableWindowUSER32.dllmfcapwz.dll@MyQGAppDIRECTINPUT_MOUSEDIRECTINPUT_KEYBOARDDIRECTINPUT24300400falseOPENGL_BPPOPENGL_HEIGHTOPENGL_WIDTH%uOPENGL_FULLSCREENtrueOPENGL_INFOLINEwindowed mode.%ux%ux%ubpp.fullscreen mode, at OpenGL support, in OPENGLYesAPPNAME8(@Xp:Vr0:Hd`x* 8P h x           ( 8 H X h x     >fEPlspn8d8,h*px"p^p8Z6@WTEMPLATE NEWPROJ.INF CONFIRM.INFAPPLICATION.CPP APPLICATION.H APPWINDOW.CPP APPWINDOW.HDIRECTINPUTDEVICE.CPPDIRECTINPUTDEVICE.HDIRECTINPUTKEYBOARD.CPPDIRECTINPUTKEYBOARD.HDIRECTINPUTMOUSE.CPPDIRECTINPUTMOUSE.HMYAPPLICATION.CPP APPICON.ICO APPICON1.ICOMYAPPLICATION.HQGDEV.RC WINMAIN.CPP RESOURCE.H4VS_VERSION_INFO?VStringFileInfo2040904B0 CompanyNameNFileDescriptionQUIKGAME AppWizard6 FileVersion1, 0, 0, 12 InternalNameQUIKGAMEFLegalCopyrightCopyright 2002(LegalTrademarksB OriginalFilenameQUIKGAME.DLLNProductNameQuikGame based project: ProductVersion1, 0, 0, 1DVarFileInfo$Translation @@/MS Sans SerifPThis wizard will create a project using the 'QuikGame' game framework.PWhat name do you want to give your game?P!P:D OpenGL supportXD4Fullscreen?P[D.Screen Mode:PS3 DirectInputX\% MouseXf. KeyboardP (The name will be used when creating the main application class)XD(PD byXE(PD byXE(PQuikGame v1.0 by Richard Fine (http://www.tbrf.net/)$$// newproj.inf = template for list of template files $$// format is 'sourceResName' \t 'destFileName' $$// The source res name may be preceded by any combination of '=', '-', '!', '?', ':', '#', and/or '*' $$// '=' => the resource is binary $$// '-' => the file should not be added to the project (all files are added to the project by default) $$// '!' => the file should be marked exclude from build $$// '?' => the file should be treated as a help file $$// ':' => the file should be treated as a resource $$// '#' => the file should be treated as a template (implies '!') $$// '*' => bypass the custom AppWizard's resources when loading $$// if name starts with / => create new subdir MYAPPLICATION.CPP .\$$ROOT$$.cpp MYAPPLICATION.H .\$$ROOT$$.h APPLICATION.CPP .\Application.cpp APPLICATION.H .\Application.h APPWINDOW.CPP .\AppWindow.cpp APPWINDOW.H .\AppWindow.h WINMAIN.CPP .\WinMain.cpp QGDEV.RC .\$$ROOT$$.rc RESOURCE.H .\Resource.h =APPICON.ICO .\AppIcon.ico =APPICON1.ICO .\AppIcon1.ico $$IF(DIRECTINPUT) DIRECTINPUTDEVICE.H .\DirectInputDevice.h DIRECTINPUTDEVICE.CPP .\DirectInputDevice.cpp $$IF(DIRECTINPUT_KEYBOARD) DIRECTINPUTKEYBOARD.H .\DirectInputKeyboard.h DIRECTINPUTKEYBOARD.CPP .\DirectInputKeyboard.cpp $$ENDIF $$IF(DIRECTINPUT_MOUSE) DIRECTINPUTMOUSE.H .\DirectInputMouse.h DIRECTINPUTMOUSE.CPP .\DirectInputMouse.cpp $$ENDIF $$ENDIF $$// confirm.inf - controls the info that will be sent to the 'confirm new project' dialog box QuikGame application "$$ROOT$$" Main app class: C$$APPNAME$$, using files $$ROOT$$.h and $$ROOT$$.cpp $$IF(OPENGL) $$OPENGL_INFOLINE$$ $$ELSE + No OpenGL support $$ENDIF $$IF(DIRECTINPUT) + DirectInput support: $$IF(DIRECTINPUT_MOUSE) |----+ Mouse support $$ENDIF $$IF(DIRECTINPUT_KEYBOARD) |----+ Keyboard support $$ENDIF $$ELSE + No DirectInput support $$ENDIF // Application.cpp: implementation of the CApplication class. // ////////////////////////////////////////////////////////////////////// #include "Application.h" ////////////////////////////////////////////////////////////////////// // Construction/Destruction ////////////////////////////////////////////////////////////////////// CApplication::CApplication() { } CApplication::~CApplication() { } int CApplication::Run(HINSTANCE hInst, LPSTR lpCmdLine, int nCmdShow) { appWindow.bIsFullscreen= $$OPENGL_FULLSCREEN$$ ; appWindow.dwWidth= $$OPENGL_WIDTH$$ ; appWindow.dwHeight= $$OPENGL_HEIGHT$$ ; appWindow.dwBPP= $$OPENGL_BPP$$ ; appWindow.Create(hInst, "Test"); ShowWindow(appWindow,nCmdShow); UpdateWindow(appWindow); $$IF(DIRECTINPUT_KEYBOARD) if(!keyboard.Init(appWindow)) { MessageBox(NULL,"The Keyboard could not be set up.","Input error",MB_OK); return -1; } $$ENDIF $$IF(DIRECTINPUT_MOUSE) if(!mouse.Init(appWindow)) { MessageBox(NULL,"The Mouse could not be set up.","Input error", MB_OK); return -1; } $$ENDIF if(InitGame()) { DWORD lastTime,curTime=timeGetTime(); MSG msg; while(1) { if(PeekMessage(&msg, NULL, 0, 0, PM_REMOVE)) { if(msg.message==WM_QUIT)break; //this shouldn't happen TranslateMessage(&msg); DispatchMessage(&msg); } if(appWindow.bShouldClose)break; lastTime=curTime; curTime=timeGetTime(); if(!RunGame(curTime-lastTime))break; appWindow.Update(); } ShutdownGame(); } appWindow.Shutdown(); return 0; } // Application.h: interface for the CApplication class. // ////////////////////////////////////////////////////////////////////// #if !defined(AFX_APPLICATION_H__87DE5C0B_656D_43F1_AFD3_808D3142B7C1__INCLUDED_) #define AFX_APPLICATION_H__87DE5C0B_656D_43F1_AFD3_808D3142B7C1__INCLUDED_ #if _MSC_VER > 1000 #pragma once #endif // _MSC_VER > 1000 #include #include "appwindow.h" $$IF(DIRECTINPUT) $$IF(DIRECTINPUT_KEYBOARD) #include "DirectInputKeyboard.h" $$ENDIF $$IF(DIRECTINPUT_MOUSE) #include "DirectInputMouse.h" $$ENDIF $$ENDIF class CApplication { public: void Exit(); int Run(HINSTANCE hInstance, LPSTR lpCmdLine, int nCmdShow); CApplication(); virtual ~CApplication(); virtual bool InitGame()=0; virtual bool RunGame(DWORD stepTime)=0; virtual void ShutdownGame()=0; HINSTANCE hInst; LPSTR commandLine; CAppWindow appWindow; $$IF(DIRECTINPUT_KEYBOARD) CDirectInputKeyboard keyboard; $$ENDIF $$IF(DIRECTINPUT_MOUSE) CDirectInputMouse mouse; $$ENDIF }; #endif // !defined(AFX_APPLICATION_H__87DE5C0B_656D_43F1_AFD3_808D3142B7C1__INCLUDED_) // AppWindow.cpp: implementation of the CAppWindow class. // ////////////////////////////////////////////////////////////////////// #include "AppWindow.h" #include "resource.h" ////////////////////////////////////////////////////////////////////// // Construction/Destruction ////////////////////////////////////////////////////////////////////// #define WINDOW_CLASS_NAME "$$APPNAME$$ Window Class" WNDCLASSEX CAppWindow::wcex; bool CAppWindow::bClassIsRegistered=false; CAppWindow::CAppWindow() { bIsAlive=false; hWnd=0; } CAppWindow::~CAppWindow() { } bool CAppWindow::RegisterClass(HINSTANCE hInst) { if(bClassIsRegistered)return true; ZeroMemory(&wcex,sizeof(wcex)); wcex.cbSize=sizeof(wcex); wcex.hbrBackground=(HBRUSH)GetStockObject(BLACK_BRUSH); wcex.hIcon=LoadIcon(hInst, MAKEINTRESOURCE(IDI_APPICON)); wcex.hIconSm=LoadIcon(hInst, MAKEINTRESOURCE(IDI_APPICONSMALL)); wcex.hInstance=hInst; wcex.lpfnWndProc=sWndProc; wcex.lpszClassName=WINDOW_CLASS_NAME; if(!RegisterClassEx(&wcex))return false; bClassIsRegistered=true; return true; } LRESULT CALLBACK CAppWindow::sWndProc(HWND hWnd, UINT msg, WPARAM wParam, LPARAM lParam) { if(msg==WM_CREATE) { SetWindowLong(hWnd,GWL_USERDATA,(LONG)(((LPCREATESTRUCT)lParam)->lpCreateParams)); } CAppWindow *me=(CAppWindow*)GetWindowLong(hWnd, GWL_USERDATA); if(me)return me->WndProc(hWnd,msg,wParam,lParam); return DefWindowProc(hWnd,msg,wParam,lParam); } LRESULT CAppWindow::WndProc(HWND hWnd, UINT msg, WPARAM wParam, LPARAM lParam) { switch(msg) { case WM_CREATE: { $$IF(OPENGL) //get display mode info DEVMODE dm; ZeroMemory(&dm,sizeof(dm)); dm.dmSize=sizeof(DEVMODE); EnumDisplaySettings(NULL,ENUM_CURRENT_SETTINGS,&dm); if(bIsFullscreen) { //force a popup, maximized window //assume that the display mode has already been set SetWindowLong(hWnd,GWL_STYLE,WS_POPUP); //resize the window appropriately SetWindowPos(hWnd,HWND_TOPMOST,0,0,dm.dmPelsWidth,dm.dmPelsHeight,0); } //set up the pixel format PIXELFORMATDESCRIPTOR pfd = { sizeof(PIXELFORMATDESCRIPTOR), 1, PFD_SUPPORT_OPENGL | PFD_DRAW_TO_WINDOW | PFD_DOUBLEBUFFER, PFD_TYPE_RGBA, (unsigned char)dm.dmBitsPerPel, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 32, 0, 0, PFD_MAIN_PLANE, 0, 0, 0, 0 }; hdc=GetDC(hWnd); int iPixelFormat=ChoosePixelFormat(hdc,&pfd); SetPixelFormat(hdc,iPixelFormat,&pfd); //create the DC glContext=wglCreateContext(hdc); if(!glContext)return -1; wglMakeCurrent(hdc,glContext); glClearColor(0.0f,0.0f,0.0f,1.0f); glClear(GL_COLOR_BUFFER_BIT|GL_DEPTH_BUFFER_BIT); glEnable(GL_ALPHA_TEST); glAlphaFunc(GL_GREATER,0.0f); $$ENDIF bIsAlive=true; return 0; } case WM_CLOSE: { bShouldClose=true; return 0; } case WM_DESTROY: { bIsAlive=false; PostQuitMessage(0); return 0; } default: { return DefWindowProc(hWnd,msg,wParam,lParam); } } } bool CAppWindow::Create(HINSTANCE hInst, LPSTR windowName) { RegisterClass(hInst); hWnd=CreateWindow(WINDOW_CLASS_NAME, windowName, WS_OVERLAPPED, CW_USEDEFAULT, CW_USEDEFAULT, CW_USEDEFAULT, CW_USEDEFAULT, NULL, NULL, hInst, (LPVOID)this); if(!hWnd)return false; return true; } void CAppWindow::Shutdown() { $$IF(OPENGL) if(glContext) { wglMakeCurrent(NULL,0); wglDeleteContext(glContext); glContext=0; } if(hdc) { ReleaseDC(hWnd,hdc); } $$ENDIF } // AppWindow.h: interface for the CAppWindow class. // ////////////////////////////////////////////////////////////////////// #if !defined(AFX_APPWINDOW_H__4B62771E_2E5E_4D77_997B_157471DB773F__INCLUDED_) #define AFX_APPWINDOW_H__4B62771E_2E5E_4D77_997B_157471DB773F__INCLUDED_ #if _MSC_VER > 1000 #pragma once #endif // _MSC_VER > 1000 #include $$IF(OPENGL) #include #include #include $$ENDIF class CAppWindow { public: void Shutdown(); CAppWindow(); virtual ~CAppWindow(); operator HWND(){return hWnd;} bool Create(HINSTANCE hInst, LPSTR windowName); void _inline Update() { $$IF(OPENGL) SwapBuffers(hdc); $$ENDIF } bool bIsAlive; bool bShouldClose; bool bIsFullscreen; DWORD dwWidth; DWORD dwHeight; DWORD dwBPP; protected: HWND hWnd; $$IF(OPENGL) HDC hdc; HGLRC glContext; $$ENDIF static bool bClassIsRegistered; static bool RegisterClass(HINSTANCE hInst); static LRESULT CALLBACK sWndProc(HWND hWnd, UINT msg, WPARAM wParam, LPARAM lParam); LRESULT WndProc(HWND hWnd, UINT msg, WPARAM wParam, LPARAM lParam); static WNDCLASSEX wcex; }; #endif // !defined(AFX_APPWINDOW_H__4B62771E_2E5E_4D77_997B_157471DB773F__INCLUDED_) // DirectInputDevice.cpp: implementation of the CDirectInputDevice class. // ////////////////////////////////////////////////////////////////////// #include "DirectInputDevice.h" ////////////////////////////////////////////////////////////////////// // Construction/Destruction ////////////////////////////////////////////////////////////////////// IDirectInput8 *CDirectInputDevice::pDI=NULL; int CDirectInputDevice::refCnt=0; CDirectInputDevice::CDirectInputDevice() { refCnt++; if(!pDI) { DirectInput8Create(GetModuleHandle(NULL),DIRECTINPUT_VERSION,IID_IDirectInput8,(void**)&pDI,NULL); } pDevice=0; } CDirectInputDevice::~CDirectInputDevice() { refCnt--; if(refCnt<=0) { pDI->Release(); pDI=0; } if(pDevice){pDevice->Unacquire(); pDevice->Release();} } // DirectInputDevice.h: interface for the CDirectInputDevice class. // ////////////////////////////////////////////////////////////////////// #if !defined(AFX_DIRECTINPUTDEVICE_H__D6E3E114_5C83_4A9C_BDAE_51F36A93AD55__INCLUDED_) #define AFX_DIRECTINPUTDEVICE_H__D6E3E114_5C83_4A9C_BDAE_51F36A93AD55__INCLUDED_ #if _MSC_VER > 1000 #pragma once #endif // _MSC_VER > 1000 #define DIRECTINPUT_VERSION 0x0800 #include class CDirectInputDevice { public: CDirectInputDevice(); virtual ~CDirectInputDevice(); virtual bool Init(HWND window)=0; virtual void Update()=0; protected: static IDirectInput8 *pDI; IDirectInputDevice8 *pDevice; private: static int refCnt; }; #endif // !defined(AFX_DIRECTINPUTDEVICE_H__D6E3E114_5C83_4A9C_BDAE_51F36A93AD55__INCLUDED_) // DirectInputKeyboard.cpp: implementation of the CDirectInputKeyboard class. // ////////////////////////////////////////////////////////////////////// #include "DirectInputKeyboard.h" ////////////////////////////////////////////////////////////////////// // Construction/Destruction ////////////////////////////////////////////////////////////////////// CDirectInputKeyboard::CDirectInputKeyboard() { } CDirectInputKeyboard::~CDirectInputKeyboard() { } bool CDirectInputKeyboard::Init(HWND window) { HRESULT hr; hr=pDI->CreateDevice(GUID_SysKeyboard, &pDevice, NULL); if(FAILED(hr))return false; hr=pDevice->SetDataFormat(&c_dfDIKeyboard); if(FAILED(hr))return false; hr=pDevice->SetCooperativeLevel(window, DISCL_FOREGROUND | DISCL_EXCLUSIVE); if(FAILED(hr))return false; pDevice->Acquire(); return true; } void CDirectInputKeyboard::Update() { memcpy(oldkeys, keys, 256); HRESULT hr=pDevice->GetDeviceState(256, keys); if(hr==DIERR_INPUTLOST)pDevice->Acquire(); } // DirectInputKeyboard.h: interface for the CDirectInputKeyboard class. // ////////////////////////////////////////////////////////////////////// #if !defined(AFX_DIRECTINPUTKEYBOARD_H__3D3D5023_3E14_495C_9832_3F2273E2EFCA__INCLUDED_) #define AFX_DIRECTINPUTKEYBOARD_H__3D3D5023_3E14_495C_9832_3F2273E2EFCA__INCLUDED_ #if _MSC_VER > 1000 #pragma once #endif // _MSC_VER > 1000 #include "DirectInputDevice.h" class CDirectInputKeyboard : public CDirectInputDevice { public: bool Init(HWND window); CDirectInputKeyboard(); virtual ~CDirectInputKeyboard(); void Update(); unsigned char keys[256]; unsigned char oldkeys[256]; bool __inline keyDown(int code) { return ((keys[code]&0x80)&&!(oldkeys[code]&0x80)); } bool __inline keyStillDown(int code) { return ((keys[code]&0x80)&&(oldkeys[code]&0x80)); } bool __inline keyUp(int code) { return (!(keys[code]&0x80)&&(oldkeys[code]&0x80)); } }; #endif // !defined(AFX_DIRECTINPUTKEYBOARD_H__3D3D5023_3E14_495C_9832_3F2273E2EFCA__INCLUDED_) // DirectInputMouse.cpp: implementation of the CDirectInputMouse class. // ////////////////////////////////////////////////////////////////////// #include "DirectInputMouse.h" ////////////////////////////////////////////////////////////////////// // Construction/Destruction ////////////////////////////////////////////////////////////////////// CDirectInputMouse::CDirectInputMouse() { } CDirectInputMouse::~CDirectInputMouse() { } bool CDirectInputMouse::Init(HWND window) { HRESULT hr; hr=pDI->CreateDevice(GUID_SysMouse, &pDevice, NULL); if(FAILED(hr))return false; hr=pDevice->SetDataFormat(&c_dfDIMouse); if(FAILED(hr))return false; hr=pDevice->SetCooperativeLevel(window, DISCL_FOREGROUND | DISCL_EXCLUSIVE); if(FAILED(hr))return false; pDevice->Acquire(); return true; } void CDirectInputMouse::Update() { oldLeftButton=leftButton; oldRightButton=rightButton; x=y=0; DIMOUSESTATE dim; HRESULT hr=pDevice->GetDeviceState(sizeof(dim),&dim); if(hr==DIERR_INPUTLOST)pDevice->Acquire(); if(FAILED(hr))return; x=dim.lX; y=dim.lY; leftButton=(dim.rgbButtons[0]&0x80)?true:false; rightButton=(dim.rgbButtons[2]&0x80)?true:false; } // DirectInputMouse.h: interface for the CDirectInputMouse class. // ////////////////////////////////////////////////////////////////////// #if !defined(AFX_DIRECTINPUTMOUSE_H__DF3DE56F_8459_41F3_94CC_998FAD3E2175__INCLUDED_) #define AFX_DIRECTINPUTMOUSE_H__DF3DE56F_8459_41F3_94CC_998FAD3E2175__INCLUDED_ #if _MSC_VER > 1000 #pragma once #endif // _MSC_VER > 1000 #include "DirectInputDevice.h" class CDirectInputMouse : public CDirectInputDevice { public: bool Init(HWND window); CDirectInputMouse(); virtual ~CDirectInputMouse(); void Update(); long x,y; bool leftButton; bool rightButton; bool oldLeftButton; bool oldRightButton; }; #endif // !defined(AFX_DIRECTINPUTMOUSE_H__DF3DE56F_8459_41F3_94CC_998FAD3E2175__INCLUDED_) // MyApplication.cpp: implementation of the CMyApplication class. // ////////////////////////////////////////////////////////////////////// #include "$$ROOT$$.h" ////////////////////////////////////////////////////////////////////// // Construction/Destruction ////////////////////////////////////////////////////////////////////// C$$APPNAME$$::C$$APPNAME$$() { } C$$APPNAME$$::~C$$APPNAME$$() { } bool C$$APPNAME$$::InitGame() { $$IF(OPENGL) glMatrixMode(GL_PROJECTION); gluOrtho2D(0.0f,10.0f,10.0f,0.0f); glClearColor(0.0f,1.0f,0.0f,1.0f); glClearDepth(1.0f); $$ENDIF return true; } bool C$$APPNAME$$::RunGame(DWORD stepTime) { $$IF(OPENGL) glClear(GL_COLOR_BUFFER_BIT|GL_DEPTH_BUFFER_BIT); $$ENDIF } void C$$APPNAME$$::ShutdownGame() { } (( ̙əə ( @???888???// MyApplication.h: interface for the CMyApplication class. // ////////////////////////////////////////////////////////////////////// #if !defined(AFX_MYAPPLICATION_H__269013D0_8C0D_42CE_A81B_B6F24F15223B__INCLUDED_) #define AFX_MYAPPLICATION_H__269013D0_8C0D_42CE_A81B_B6F24F15223B__INCLUDED_ #if _MSC_VER > 1000 #pragma once #endif // _MSC_VER > 1000 #include "Application.h" class C$$APPNAME$$ : public CApplication { public: C$$APPNAME$$(); virtual ~C$$APPNAME$$(); bool InitGame(); bool RunGame(DWORD stepTime); void ShutdownGame(); }; #endif // !defined(AFX_MYAPPLICATION_H__269013D0_8C0D_42CE_A81B_B6F24F15223B__INCLUDED_) //Microsoft Developer Studio generated resource script. // #include "resource.h" #define APSTUDIO_READONLY_SYMBOLS ///////////////////////////////////////////////////////////////////////////// // // Generated from the TEXTINCLUDE 2 resource. // #include "afxres.h" ///////////////////////////////////////////////////////////////////////////// #undef APSTUDIO_READONLY_SYMBOLS ///////////////////////////////////////////////////////////////////////////// // English (U.K.) resources #if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENG) #ifdef _WIN32 LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_UK #pragma code_page(1252) #endif //_WIN32 #ifdef APSTUDIO_INVOKED ///////////////////////////////////////////////////////////////////////////// // // TEXTINCLUDE // 1 TEXTINCLUDE DISCARDABLE BEGIN "resource.h\0" END 2 TEXTINCLUDE DISCARDABLE BEGIN "#include ""afxres.h""\r\n" "\0" END 3 TEXTINCLUDE DISCARDABLE BEGIN "\r\n" "\0" END #endif // APSTUDIO_INVOKED ///////////////////////////////////////////////////////////////////////////// // // Icon // // Icon with lowest ID value placed first to ensure application icon // remains consistent on all systems. IDI_APPICONSMALL ICON DISCARDABLE "appicon.ico" IDI_APPICON ICON DISCARDABLE "appicon1.ico" #endif // English (U.K.) resources ///////////////////////////////////////////////////////////////////////////// #ifndef APSTUDIO_INVOKED ///////////////////////////////////////////////////////////////////////////// // // Generated from the TEXTINCLUDE 3 resource. // ///////////////////////////////////////////////////////////////////////////// #endif // not APSTUDIO_INVOKED #include "$$ROOT$$.h" #pragma comment (lib, "kernel32.lib") #pragma comment (lib, "user32.lib") #pragma comment (lib, "gdi32.lib") #pragma comment (lib, "winspool.lib") #pragma comment (lib, "comdlg32.lib") #pragma comment (lib, "advapi32.lib") #pragma comment (lib, "shell32.lib") #pragma comment (lib, "ole32.lib") #pragma comment (lib, "oleaut32.lib") #pragma comment (lib, "uuid.lib") #pragma comment (lib, "odbc32.lib") #pragma comment (lib, "odbccp32.lib") #pragma comment (lib, "winmm.lib") $$IF(OPENGL) #pragma comment (lib, "opengl32.lib") #pragma comment (lib, "glu32.lib") #pragma comment (lib, "glaux.lib") $$ENDIF $$IF(DIRECTINPUT) #pragma comment (lib, "dxguid.lib") #pragma comment (lib, "dinput8.lib") $$ENDIF C$$APPNAME$$ theApp; int WINAPI WinMain(HINSTANCE hInst, HINSTANCE hPrev, LPSTR lpCmdline, int nShowCmd) { return theApp.Run(hInst,lpCmdline,nShowCmd); } //{{NO_DEPENDENCIES}} // Microsoft Developer Studio generated include file. // Used by qgdev.rc // #define IDI_APPICONSMALL 101 #define IDI_APPICON 102 // Next default values for new objects // #ifdef APSTUDIO_INVOKED #ifndef APSTUDIO_READONLY_SYMBOLS #define _APS_NEXT_RESOURCE_VALUE 102 #define _APS_NEXT_COMMAND_VALUE 40001 #define _APS_NEXT_CONTROL_VALUE 1000 #define _APS_NEXT_SYMED_VALUE 101 #endif #endif ( @NNNwwwwwGqwwwDppppxwwwxwwwwwwwwwwwwwwwwwwwwDDDDDDDDD@DDDDDDDDDGpwpDDDDDDDDDGpwpDDDDDDDDDDDDDDwwwwwwwwwwwwww` 0001131K1c1z1123 442474<4M4m44444 5555#5B5G5L5q5555555556"6'686=6B6S6X6]6n6s6x6666666666667 77!7A7Q788999E9_9s9Q:a:q::::: ;K;b;r;x;~;;;;;;;;;;;;;;;;;;;;;;<<<<< <&<,<2<8<>>>%>:>F>L>n>>>>>? ????"?(?.?4?K?? :0i00000111112222 2$2(2,2024282<2@2D2H2L2P2T2X2\2`2d2h2l2p2t2x2|222222222222222222222222222222222333 33333 3$3(3,3034383<3@3D3H3L3P3T3X3\3`3d3h3l3p3t3x3|333333333333333333333333333333333444 44444 4$4(4,4044484<4@4D4H4L4P4T4X4\4`4d4h4l4p4t4x4|44444444444444444444455$5,545<5D5L5X5t5|5555555555566,686T6@ 001