diff --git a/Minecraft.Client/CMakeLists.txt b/Minecraft.Client/CMakeLists.txt index 7656d1cf2..cf94b8a3d 100644 --- a/Minecraft.Client/CMakeLists.txt +++ b/Minecraft.Client/CMakeLists.txt @@ -2452,6 +2452,7 @@ set(ALL_FILES ${net__minecraft__server__level} ${net__minecraft__server__network} ${net__minecraft__stats} + Linux/Linux_UIController.cpp ) ################################################################################ diff --git a/Minecraft.Client/Common/Consoles_App.cpp b/Minecraft.Client/Common/Consoles_App.cpp index 01266b7c7..5a77f2c62 100644 --- a/Minecraft.Client/Common/Consoles_App.cpp +++ b/Minecraft.Client/Common/Consoles_App.cpp @@ -241,7 +241,6 @@ void CMinecraftApp::DebugPrintf(const char *szFormat, ...) void CMinecraftApp::DebugPrintf(int user, const char *szFormat, ...) { -#ifndef _FINAL_BUILD if(user == USER_NONE) return; char buf[1024]; @@ -249,48 +248,6 @@ void CMinecraftApp::DebugPrintf(int user, const char *szFormat, ...) va_start(ap, szFormat); vsnprintf(buf, sizeof(buf), szFormat, ap); va_end(ap); -#ifdef __PS3__ - unsigned int writelen; - sys_tty_write(SYS_TTYP_USER1 + ( user - 1 ), buf, strlen(buf), &writelen ); -#elif defined __PSVITA__ - switch(user) - { - case 0: - { - SceUID tty2 = sceIoOpen("tty2:", SCE_O_WRONLY, 0); - if(tty2>=0) - { - std::string string1(buf); - sceIoWrite(tty2, string1.c_str(), string1.length()); - sceIoClose(tty2); - } - } - break; - case 1: - { - SceUID tty3 = sceIoOpen("tty3:", SCE_O_WRONLY, 0); - if(tty3>=0) - { - std::string string1(buf); - sceIoWrite(tty3, string1.c_str(), string1.length()); - sceIoClose(tty3); - } - } - break; - default: - OutputDebugStringA(buf); - break; - } -#else - OutputDebugStringA(buf); -#endif -#ifndef _XBOX - if(user == USER_UI) - { - ui.logDebugString(buf); - } -#endif -#endif } LPCWSTR CMinecraftApp::GetString(int iID)