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
@@ -30,30 +30,6 @@
|
||||
LIBRARY_LOADSCREENS,
|
||||
LIBRARY_INTRO,
|
||||
|
||||
#ifdef GERMAN
|
||||
LIBRARY_GERMAN_DATA,
|
||||
#endif
|
||||
|
||||
#ifdef DUTCH
|
||||
LIBRARY_DUTCH_DATA,
|
||||
#endif
|
||||
|
||||
#ifdef POLISH
|
||||
LIBRARY_POLISH_DATA,
|
||||
#endif
|
||||
|
||||
#ifdef ITALIAN
|
||||
LIBRARY_ITALIAN_DATA,
|
||||
#endif
|
||||
|
||||
#ifdef RUSSIAN
|
||||
LIBRARY_RUSSIAN_DATA,
|
||||
#endif
|
||||
|
||||
#ifdef FRENCH
|
||||
LIBRARY_FRENCH_DATA,
|
||||
#endif
|
||||
|
||||
NUMBER_OF_LIBRARIES
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user