2012-04-19 14:35:52 +08:00
|
|
|
#include "main.h"
|
|
|
|
#include "../Classes/AppDelegate.h"
|
2012-05-02 17:50:26 +08:00
|
|
|
#include "CCEGLView.h"
|
|
|
|
|
|
|
|
USING_NS_CC;
|
2012-04-19 14:35:52 +08:00
|
|
|
|
|
|
|
int APIENTRY _tWinMain(HINSTANCE hInstance,
|
|
|
|
HINSTANCE hPrevInstance,
|
|
|
|
LPTSTR lpCmdLine,
|
|
|
|
int nCmdShow)
|
|
|
|
{
|
|
|
|
UNREFERENCED_PARAMETER(hPrevInstance);
|
|
|
|
UNREFERENCED_PARAMETER(lpCmdLine);
|
|
|
|
|
|
|
|
// create the application instance
|
|
|
|
AppDelegate app;
|
2012-08-21 17:25:03 +08:00
|
|
|
CCEGLView* eglView = CCEGLView::sharedOpenGLView();
|
2012-10-12 10:02:49 +08:00
|
|
|
eglView->setFrameSize(1136, 640 );
|
2012-08-21 17:25:03 +08:00
|
|
|
return CCApplication::sharedApplication()->run();
|
2012-04-19 14:35:52 +08:00
|
|
|
}
|