mirror of
https://github.com/1dot13/source.git
synced 2026-09-16 14:47: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:
@@ -37,7 +37,6 @@
|
||||
<ClInclude Include="DirectX Common.h" />
|
||||
<ClInclude Include="dsound.h" />
|
||||
<ClInclude Include="english.h" />
|
||||
<ClInclude Include="ExceptionHandling.h" />
|
||||
<ClInclude Include="expat.h" />
|
||||
<ClInclude Include="FileCat.h" />
|
||||
<ClInclude Include="FileMan.h" />
|
||||
@@ -51,7 +50,6 @@
|
||||
<ClInclude Include="input.h" />
|
||||
<ClInclude Include="Install.h" />
|
||||
<ClInclude Include="Ja2 Libs.h" />
|
||||
<ClInclude Include="JA2 SGP ALL.H" />
|
||||
<ClInclude Include="LibraryDataBase.h" />
|
||||
<ClInclude Include="line.h" />
|
||||
<ClInclude Include="MemMan.h" />
|
||||
@@ -105,7 +103,6 @@
|
||||
<ClCompile Include="DirectDraw Calls.cpp" />
|
||||
<ClCompile Include="DirectX Common.cpp" />
|
||||
<ClCompile Include="English.cpp" />
|
||||
<ClCompile Include="ExceptionHandling.cpp" />
|
||||
<ClCompile Include="FileCat.cpp" />
|
||||
<ClCompile Include="FileMan.cpp" />
|
||||
<ClCompile Include="Flic.cpp" />
|
||||
|
||||
Reference in New Issue
Block a user