mirror of
https://github.com/1dot13/source.git
synced 2026-09-02 14:36:06 +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
@@ -38,9 +38,6 @@
|
||||
typedef struct
|
||||
{
|
||||
//SB: unify structure for all versions
|
||||
// #if defined( CRIPPLED_VERSION ) || defined( RUSSIAN )
|
||||
// UINT8 ubIdentifier[4];
|
||||
// #endif
|
||||
|
||||
UINT16 fFlags;
|
||||
|
||||
@@ -74,9 +71,7 @@ typedef struct
|
||||
INT16 sActionData; // special action value
|
||||
|
||||
//SB: unify structure for all versions
|
||||
//#if !defined( CRIPPLED_VERSION ) && !defined( RUSSIAN )
|
||||
UINT8 ubUnused[4];
|
||||
//#endif
|
||||
|
||||
} _old_NPCQuoteInfo; // 32 bytes
|
||||
|
||||
|
||||
Reference in New Issue
Block a user