mirror of
https://github.com/1dot13/source.git
synced 2026-07-29 13:52:17 +02:00
More unused stuff removal (#49)
* More unused stuff removal
delete:
- giant 'metaheaders' (JA2 All.h, Laptop All.h, etc), preferring to add #includes directly where needed
- unused ExceptionHandling and DbMan translation units
- unused WizShare.h, Bitmap.h, trle.h, video_private.h headers
* remove mentions from vc proj files too
* remove preprocessor conditionals for unused definitions
find . -iname '*.h' -o -iname '*.cpp' -exec unifdef.exe -m -UPRECOMPILED_HEADERS -UJA2_PRECOMPILED_HEADERS -UWIZ8_PRECOMPILED_HEADERS -UPRECOMPILEDHEADERS {} ';'
then manually fixed a couple files the tool errored out on
* yes, the comments too
as title
This commit is contained in:
@@ -1,9 +1,6 @@
|
||||
// WANNE: Yes, this should be disabled, otherwise we get weird behavior when running the game with a VS 2005 build!
|
||||
//#pragma setlocale("CHINESE")
|
||||
|
||||
#ifdef PRECOMPILEDHEADERS
|
||||
#include "Utils All.h"
|
||||
#else
|
||||
#include "Language Defines.h"
|
||||
#if defined( CHINESE )
|
||||
#include "text.h"
|
||||
@@ -12,7 +9,6 @@
|
||||
#include "EditorMercs.h"
|
||||
#include "Item Statistics.h"
|
||||
#endif
|
||||
#endif
|
||||
|
||||
//suppress : warning LNK4221: no public symbols found; archive member will be inaccessible
|
||||
void this_is_the_ChineseText_public_symbol(void){;}
|
||||
@@ -12153,4 +12149,4 @@ STR16 ChineseSpecString10 = L"%s [%d%%(%d%%)]\n%s %d%% (%d/%d)\n%s %d%%\
|
||||
STR16 ChineseSpecString11 = L"%s (%s) [%d%%(%d%%)]\n%s %d\n%s %d\n%s %d (%d)\n%s (%d) %s\n%s %1.1f %s"; // added by Flugente
|
||||
STR16 ChineseSpecString12 = L"%s (%s) [%d%%]\n%s %d\n%s %d\n%s %d (%d)\n%s (%d) %s\n%s %1.1f %s\n%s %.2f%%"; // added by Flugente
|
||||
|
||||
#endif //CHINESE
|
||||
#endif //CHINESE
|
||||
|
||||
Reference in New Issue
Block a user