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

15 lines
337 B
C++

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