2018-12-01 09:42:29 -05:00
|
|
|
#include <std_include.hpp>
|
2018-12-23 07:17:08 -05:00
|
|
|
#include "launcher/launcher.hpp"
|
2018-12-01 09:42:29 -05:00
|
|
|
|
2018-12-23 07:17:08 -05:00
|
|
|
int CALLBACK WinMain(HINSTANCE /*hInstance*/, HINSTANCE /*hPrevInstance*/, LPSTR /*lpCmdLine*/, int /*nCmdShow*/)
|
2018-12-01 09:42:29 -05:00
|
|
|
{
|
2018-12-23 07:17:08 -05:00
|
|
|
launcher launcher;
|
2018-12-23 12:25:22 -05:00
|
|
|
const auto mode = launcher.run();
|
|
|
|
|
|
|
|
if(mode == launcher::mode::NONE)
|
|
|
|
{
|
|
|
|
return 0;
|
|
|
|
}
|
|
|
|
else if(mode == launcher::mode::SINGLEPLAYER)
|
|
|
|
{
|
|
|
|
OutputDebugStringA("\n\nSINGLEPLAYER\n\n");
|
|
|
|
}
|
|
|
|
else if(mode == launcher::mode::MULTIPLAYER)
|
|
|
|
{
|
|
|
|
OutputDebugStringA("\n\nMULTIPLAYER\n\n");
|
|
|
|
}
|
|
|
|
|
|
|
|
return 0;
|
2018-12-01 09:42:29 -05:00
|
|
|
}
|