This commit is contained in:
Federico Cecchetto 2022-05-18 10:26:48 +02:00
parent 33cb65146f
commit d5073559b7
5 changed files with 6 additions and 10 deletions

View File

@ -245,4 +245,4 @@ namespace auth
}; };
} }
//REGISTER_COMPONENT(auth::component) REGISTER_COMPONENT(auth::component)

View File

@ -179,4 +179,4 @@ namespace colors
}; };
} }
REGISTER_COMPONENT(colors::component) //REGISTER_COMPONENT(colors::component)

View File

@ -16,12 +16,8 @@ namespace console
{ {
DWORD WINAPI console(LPVOID) DWORD WINAPI console(LPVOID)
{ {
FreeConsole(); ShowWindow(GetConsoleWindow(), SW_SHOW);
AllocConsole(); SetConsoleTitle("H1-Mod");
AttachConsole(GetCurrentProcessId());
(void)freopen("CONIN$", "r", stdin);
(void)freopen("CONOUT$", "w", stdout);
std::string cmd; std::string cmd;

View File

@ -72,4 +72,4 @@ namespace input
}; };
} }
REGISTER_COMPONENT(input::component) //REGISTER_COMPONENT(input::component)

View File

@ -49,4 +49,4 @@ namespace localized_strings
}; };
} }
REGISTER_COMPONENT(localized_strings::component) //REGISTER_COMPONENT(localized_strings::component)