Files
OzgGameRPG/proj.win32/main.cpp
T
2014-06-26 16:39:07 +08:00

22 lines
594 B
C++

#include "main.h"
#include "AppDelegate.h"
#include "CCEGLView.h"
USING_NS_CC;
int APIENTRY _tWinMain(HINSTANCE hInstance,
HINSTANCE hPrevInstance,
LPTSTR lpCmdLine,
int nCmdShow)
{
UNREFERENCED_PARAMETER(hPrevInstance);
UNREFERENCED_PARAMETER(lpCmdLine);
// create the application instance
AppDelegate app;
CCEGLView* eglView = CCEGLView::sharedOpenGLView();
eglView->setViewName("OzgGameRPG");
eglView->setFrameSize(960, 640);
return CCApplication::sharedApplication()->run();
}