Files
wnmj/cocos2d/templates/lua-template-default/frameworks/runtime-src/proj.win32/main.cpp
2026-03-01 13:51:43 +08:00

15 lines
339 B
C++

#include "main.h"
#include "SimulatorWin.h"
#include <shellapi.h>
int APIENTRY _tWinMain(HINSTANCE hInstance,
HINSTANCE hPrevInstance,
LPTSTR lpCmdLine,
int nCmdShow)
{
UNREFERENCED_PARAMETER(hPrevInstance);
UNREFERENCED_PARAMETER(lpCmdLine);
auto simulator = SimulatorWin::getInstance();
return simulator->run();
}