mirror of
https://github.com/1dot13/source.git
synced 2026-07-22 13:40:22 +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,14 +1,3 @@
|
||||
#ifdef PRECOMPILEDHEADERS
|
||||
#include "JA2 All.h"
|
||||
#include "PreBattle Interface.h"
|
||||
#include "civ quotes.h"
|
||||
#include "Militia Control.h"
|
||||
#include "Strategic Event Handler.h"
|
||||
#include "HelpScreen.h"
|
||||
#include "Cheats.h"
|
||||
#include "Animated ProgressBar.h"
|
||||
#include "Shopkeeper Interface.h"
|
||||
#else
|
||||
#include "Types.h"
|
||||
#include "Soldier Profile.h"
|
||||
#include "FileMan.h"
|
||||
@@ -119,7 +108,6 @@
|
||||
#include "ASD.h" // added by Flugente
|
||||
#include "MilitiaIndividual.h" // added by Flugente
|
||||
#include "Rebel Command.h"
|
||||
#endif
|
||||
|
||||
#include "BobbyR.h"
|
||||
#include "Imp Portraits.h"
|
||||
|
||||
Reference in New Issue
Block a user