axmol/templates/lua-template-default/frameworks/runtime-src/proj.win32/main.cpp

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();
}