mirror of
https://github.com/cocos/cocos4.git
synced 2026-11-21 08:02:39 +08:00
20 lines
452 B
C++
20 lines
452 B
C++
#include "main.h"
|
|
#include "AppDelegate.h"
|
|
#include "cocos2d.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;
|
|
return Application::getInstance()->run();
|
|
}
|
|
|