Skip to content

Commit

Permalink
More unused stuff removal
Browse files Browse the repository at this point in the history
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
  • Loading branch information
majcosta committed Dec 20, 2022
1 parent 03e5fbb commit 4b30bea
Show file tree
Hide file tree
Showing 35 changed files with 38 additions and 4,250 deletions.
127 changes: 0 additions & 127 deletions Editor/Editor All.h

This file was deleted.

1 change: 0 additions & 1 deletion Editor/XML_ActionItems.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
#include "Editor All.h"
#include "LuaInitNPCs.h"
#else
#include "Editor All.h"
#include "sgp.h"
#include "Debug Control.h"
#include "expat.h"
Expand Down
172 changes: 0 additions & 172 deletions JA2 All.h

This file was deleted.

7 changes: 6 additions & 1 deletion Laptop/BriefingRoom.cpp
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
#ifdef PRECOMPILEDHEADERS
#include "Laptop All.h"
#else
#include "Laptop All.h"
#include "Utilities.h"
#include "WCheck.h"
#include "timer control.h"
Expand All @@ -16,6 +15,12 @@

#include "BriefingRoom_Data.h"
#include "BriefingRoom.h"
#include "english.h"
#include "laptop.h"
#include "IMP HomePage.h"
#include "line.h"
#include "input.h"
#include "Text Input.h"

// Link Images
#define BRIEFINGROOM_BUTTON_SIZE_X 205
Expand Down
8 changes: 7 additions & 1 deletion Laptop/BriefingRoomM.cpp
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
#ifdef PRECOMPILEDHEADERS
#include "Laptop All.h"
#else
#include "Laptop All.h"
#include "Utilities.h"
#include "WCheck.h"
#include "timer control.h"
Expand All @@ -16,6 +15,13 @@

#include "BriefingRoom_Data.h"
#include "BriefingRoomM.h"
#include "aim.h"
#include "laptop.h"
#include "IMP HomePage.h"
#include "line.h"
#include "input.h"
#include "Text Input.h"
#include "english.h"

// Link Images
#define BRIEFINGROOM_MISSION_BUTTON_SIZE_X 121
Expand Down
Loading

0 comments on commit 4b30bea

Please sign in to comment.