diff --git a/Source/Client/Application/Launcher.cpp b/Source/Client/Application/Launcher.cpp index 88882bf3..a0209b99 100644 --- a/Source/Client/Application/Launcher.cpp +++ b/Source/Client/Application/Launcher.cpp @@ -8,6 +8,9 @@ // GLOBAL: gl_24472 std::uint32_t g_clientVersion; +// GLOBAL: gl_24584 +char g_applicationDirectory[0x80]; + // OFFSET: 0x00E58820 // FUNCTION: fn_24363 bool RestartFromCommandLine(char* commandLine) { diff --git a/Source/Client/Application/Launcher.h b/Source/Client/Application/Launcher.h index 2d6227bd..944c682c 100644 --- a/Source/Client/Application/Launcher.h +++ b/Source/Client/Application/Launcher.h @@ -5,6 +5,7 @@ #include extern std::uint32_t g_clientVersion; +extern char g_applicationDirectory[0x80]; bool RestartFromCommandLine(char* commandLine); diff --git a/Source/Client/Input/InputCharset.h b/Source/Client/Input/InputCharset.h index c4483cf7..15394776 100644 --- a/Source/Client/Input/InputCharset.h +++ b/Source/Client/Input/InputCharset.h @@ -13,4 +13,6 @@ struct InputCharset { unsigned CodePage(unsigned fallback) const; }; +extern InputCharset* g_serverLanguage; + #endif diff --git a/Source/Contents/Configuration/ServiceConfiguration.cpp b/Source/Contents/Configuration/ServiceConfiguration.cpp index 60188f54..dd05d148 100644 --- a/Source/Contents/Configuration/ServiceConfiguration.cpp +++ b/Source/Contents/Configuration/ServiceConfiguration.cpp @@ -1,7 +1,11 @@ +#include "Client/Input/InputCharset.h" #include "Contents/Configuration/ServiceConfiguration.h" // GLOBAL: gl_24542 signed char g_language = 0; +// GLOBAL: gl_24544 +InputCharset* g_serverLanguage; + // GLOBAL: gl_24529 int g_serviceType = 0;