MCPcopy Create free account
hub / github.com/OpenLoco/OpenLoco / main

Function main

src/App/src/Main.cpp:5–13  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3#include <SDL3/SDL_main.h>
4
5int main(int argc, const char** argv)
6{
7#ifdef WIN32
8 // Ensures that assert dialogs allow for ignoring them (not the default behaviour for console subsystem)
9 _set_error_mode(_OUT_TO_MSGBOX);
10#endif
11 SDL_SetMainReady();
12 return OpenLoco::main(OpenLoco::Platform::getCmdLineVector(argc, argv));
13}

Callers

nothing calls this directly

Calls 1

getCmdLineVectorFunction · 0.50

Tested by

no test coverage detected