mirror of
https://github.com/1dot13/source.git
synced 2026-08-05 14:00:23 +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:
@@ -2,16 +2,11 @@
|
||||
// WANNE: Yes we need this here exclusivly in Polish version, because we do not have a codepage in the code like for other versions.
|
||||
//#pragma setlocale("POLISH")
|
||||
|
||||
#ifdef PRECOMPILEDHEADERS
|
||||
#include "Utils All.h"
|
||||
#include "_Ja25Polishtext.h"
|
||||
#else
|
||||
#include "Language Defines.h"
|
||||
#ifdef POLISH
|
||||
#include "text.h"
|
||||
#include "Fileman.h"
|
||||
#endif
|
||||
#endif
|
||||
|
||||
//suppress : warning LNK4221: no public symbols found; archive member will be inaccessible
|
||||
void this_is_the_Ja25PolishText_public_symbol(void){;}
|
||||
|
||||
Reference in New Issue
Block a user