2017-01-04 23:10:16 +01:00
|
|
|
/*****************************************************************************
|
2018-06-15 14:07:34 +02:00
|
|
|
* Copyright (c) 2014-2018 OpenRCT2 developers
|
2017-01-04 23:10:16 +01:00
|
|
|
*
|
2018-06-15 14:07:34 +02: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
|
|
|
*
|
2018-06-15 14:07:34 +02: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='*'\"")
|
|
|
|
|
2017-01-05 00:36:36 +01:00
|
|
|
#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.
|
|
|
|
*/
|
2018-04-20 13:56:37 +02:00
|
|
|
int wmain(int argc, wchar_t * * argvW, [[maybe_unused]] wchar_t * envp)
|
2017-01-04 23:10:16 +01:00
|
|
|
{
|
2017-01-05 00:36:36 +01:00
|
|
|
return LaunchOpenRCT2(argc, argvW);
|
2017-01-04 23:10:16 +01:00
|
|
|
}
|