Disable console window on Windows (#836). Thanks to hired777 for the patch.

git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12678 178a84e3-b1eb-0310-8ba1-8eac791a3b58
This commit is contained in:
hikerstk 2013-04-21 12:39:25 +00:00
parent 950bb62f5a
commit c9695fa1d2
4 changed files with 3577 additions and 3568 deletions

File diff suppressed because it is too large Load Diff

View File

@ -52,10 +52,10 @@ Global
{E08E042A-6C45-411B-92BE-3CC31331019F}.debug|Win32.Build.0 = Static lib - Debug|Win32
{E08E042A-6C45-411B-92BE-3CC31331019F}.Release|Win32.ActiveCfg = Static lib - Release|Win32
{E08E042A-6C45-411B-92BE-3CC31331019F}.Release|Win32.Build.0 = Static lib - Release|Win32
{E08E042A-6C45-411B-92BE-3CC31331019F}.wiiuse-debug|Win32.ActiveCfg = Static lib - Release|Win32
{E08E042A-6C45-411B-92BE-3CC31331019F}.wiiuse-debug|Win32.Build.0 = Static lib - Release|Win32
{E08E042A-6C45-411B-92BE-3CC31331019F}.wiiuse-release|Win32.ActiveCfg = wiiuse-release|Win32
{E08E042A-6C45-411B-92BE-3CC31331019F}.wiiuse-release|Win32.Build.0 = wiiuse-release|Win32
{E08E042A-6C45-411B-92BE-3CC31331019F}.wiiuse-debug|Win32.ActiveCfg = wiiuse-release|Win32
{E08E042A-6C45-411B-92BE-3CC31331019F}.wiiuse-debug|Win32.Build.0 = wiiuse-release|Win32
{E08E042A-6C45-411B-92BE-3CC31331019F}.wiiuse-release|Win32.ActiveCfg = Static lib - Release|Win32
{E08E042A-6C45-411B-92BE-3CC31331019F}.wiiuse-release|Win32.Build.0 = Static lib - Release|Win32
{FE4FCEBF-B53D-4B8A-81B0-F9AB059C8C83}.debug|Win32.ActiveCfg = Debug|Win32
{FE4FCEBF-B53D-4B8A-81B0-F9AB059C8C83}.Release|Win32.ActiveCfg = Release|Win32
{FE4FCEBF-B53D-4B8A-81B0-F9AB059C8C83}.wiiuse-debug|Win32.ActiveCfg = Debug|Win32

File diff suppressed because it is too large Load Diff

View File

@ -1268,7 +1268,9 @@ int main(int argc, char *argv[] )
initRest();
#ifndef WIN32
if (UserConfigParams::m_log_errors)
#endif
{
//Enable logging of stdout and stderr to logfile
std::string logoutfile = file_manager->getLogFile("stdout.log");
@ -1539,3 +1541,10 @@ int main(int argc, char *argv[] )
return 0 ;
}
#ifdef WIN32
//routine for running under windows
int APIENTRY WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPTSTR lpCmdLine, int nCmdShow)
{
return main(__argc, __argv);
}
#endif