mirror of
https://github.com/1dot13/source.git
synced 2026-07-22 13:40:22 +02:00
remove lying, outdated or superfluous comments
no more guards, no more cpp files included
This commit is contained in:
committed by
majcosta
parent
fd2c74727e
commit
00a805cc39
@@ -2,9 +2,6 @@
|
||||
#include "DEBUG.H"
|
||||
|
||||
namespace {
|
||||
// Cn+4 retired the per-exe ENGLISH/GERMAN/... compile definitions along with the CMake
|
||||
// language axis, so the build default is now a fixed constant; the ini key (below)
|
||||
// overrides it at runtime via g_lang/BindLanguageStrings.
|
||||
constexpr i18n::Lang kBuildDefaultLang = i18n::Lang::en;
|
||||
|
||||
auto RowsForLang(i18n::Lang lang) -> int {
|
||||
@@ -12,10 +9,6 @@ auto RowsForLang(i18n::Lang lang) -> int {
|
||||
}
|
||||
}
|
||||
|
||||
/* g_lang used to be a compile-time const picked by the ENGLISH/GERMAN/...
|
||||
* define; it is now a runtime value that starts at the build's default and
|
||||
* can be overridden at startup from the [Ja2 Settings] LANGUAGE ini key (see
|
||||
* SetLanguageFromName / sgp.cpp GetRuntimeSettings). */
|
||||
i18n::Lang g_lang = kBuildDefaultLang;
|
||||
|
||||
int MAX_MESSAGES_ON_MAP_BOTTOM = RowsForLang(g_lang);
|
||||
|
||||
Reference in New Issue
Block a user