mirror of
https://github.com/1dot13/source.git
synced 2026-09-16 14:47:17 +02:00
Strip dead per-language .slf entries from gGameLibaries
InitializeFileDatabase, the only reader of gGameLibaries[], is called nowhere in the tree — VFS replaced this legacy loader. Delete the 7 #ifdef GERMAN/POLISH/DUTCH/ITALIAN/RUSSIAN/FRENCH/CHINESE entries outright rather than runtime-selecting them. NPC.h: two commented-out #if defined(CRIPPLED_VERSION)||defined(RUSSIAN) triplets. AimMembers.cpp: two commented-out #ifdef POLISH character-remap switch blocks. All already-dead. Verify grep for language macros outside i18n/ now returns only unrelated hits (filename literal, dev-tool CLI flag, stray comment, historical prose) — no #ifdef guards left. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com> Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
committed by
majcosta
co-authored by
Claude Sonnet 5
parent
bada3ef31a
commit
ee098125e6
@@ -27,34 +27,6 @@ LibraryInitHeader gGameLibaries[ ] =
|
||||
{ "TileSets.slf", TRUE, TRUE },
|
||||
{ "LoadScreens.slf", TRUE, TRUE },
|
||||
{ "Intro.slf", TRUE, TRUE },
|
||||
|
||||
#ifdef GERMAN
|
||||
{ "German.slf", FALSE, TRUE },
|
||||
#endif
|
||||
|
||||
#ifdef POLISH
|
||||
{ "Polish.slf", FALSE, TRUE },
|
||||
#endif
|
||||
|
||||
#ifdef DUTCH
|
||||
{ "Dutch.slf", FALSE, TRUE },
|
||||
#endif
|
||||
|
||||
#ifdef ITALIAN
|
||||
{ "Italian.slf", FALSE, TRUE },
|
||||
#endif
|
||||
|
||||
#ifdef RUSSIAN
|
||||
{ "Russian.slf", FALSE, TRUE },
|
||||
#endif
|
||||
|
||||
#ifdef FRENCH
|
||||
{ "French.slf", FALSE, TRUE },
|
||||
#endif
|
||||
|
||||
#ifdef CHINESE
|
||||
{ "Chinese.slf", FALSE, TRUE },
|
||||
#endif
|
||||
};
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user