mirror of
https://github.com/1dot13/source.git
synced 2026-09-09 14:46:05 +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:
@@ -394,10 +394,6 @@
|
||||
RelativePath=".\english.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\ExceptionHandling.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\expat.h"
|
||||
>
|
||||
@@ -450,10 +446,6 @@
|
||||
RelativePath=".\Ja2 Libs.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\JA2 SGP ALL.H"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\LibraryDataBase.h"
|
||||
>
|
||||
@@ -664,10 +656,6 @@
|
||||
RelativePath=".\English.cpp"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\ExceptionHandling.cpp"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\FileCat.cpp"
|
||||
>
|
||||
|
||||
Reference in New Issue
Block a user