@@ -508,24 +508,26 @@ static const OptionData _options[] = {
GETOPT_SHORT_NOVAL('Q'),
GETOPT_END()
};
/**
* Main entry point for this lovely game.
* @param argc The number of arguments passed to this game.
* @param argv The values of the arguments.
* @return 0 when there is no error.
*/
int openttd_main(int argc, char *argv[])
{
_switch_mode_time = std::chrono::steady_clock::now();
std::string musicdriver;
std::string sounddriver;
std::string videodriver;
std::string blitter;
std::string graphics_set;
std::string sounds_set;
std::string music_set;
Dimension resolution = {0, 0};
std::unique_ptr<AfterNewGRFScan> scanner(new AfterNewGRFScan());
bool dedicated = false;
bool only_local_path = false;
Status change: