OpenRCT2/src/openrct2-win/openrct2-win.cpp

27 lines
1008 B
C++
Raw Normal View History

2017-01-04 23:10:16 +01:00
/*****************************************************************************
* Copyright (c) 2014-2018 OpenRCT2 developers
2017-01-04 23:10:16 +01:00
*
* For a complete list of all authors, please refer to contributors.md
* Interested in contributing? Visit https://github.com/OpenRCT2/OpenRCT2
2017-01-04 23:10:16 +01:00
*
* OpenRCT2 is licensed under the GNU General Public License version 3.
2017-01-04 23:10:16 +01:00
*****************************************************************************/
#define WIN32_LEAN_AND_MEAN
#include <windows.h>
// Enable visual styles
#pragma comment(linker, "\"/manifestdependency:type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='*' publicKeyToken='6595b64144ccf1df' language='*'\"")
#define DLLIMPORT extern "C"
DLLIMPORT int LaunchOpenRCT2(int argc, wchar_t * * argv);
2017-01-04 23:10:16 +01:00
/**
* Windows entry point to OpenRCT2 with a console window using a traditional C main function.
*/
int wmain(int argc, wchar_t * * argvW, [[maybe_unused]] wchar_t * envp)
2017-01-04 23:10:16 +01:00
{
return LaunchOpenRCT2(argc, argvW);
2017-01-04 23:10:16 +01:00
}