Skip to content

Commit

Permalink
Got rid of unnecessary #include directives
Browse files Browse the repository at this point in the history
  • Loading branch information
nickgammon committed Feb 14, 2010
1 parent d200f54 commit 0fed3f4
Show file tree
Hide file tree
Showing 28 changed files with 1 addition and 49 deletions.
1 change: 0 additions & 1 deletion ActivityView.cpp
Expand Up @@ -10,7 +10,6 @@
#include "childfrm.h"

#include "winplace.h"
#include "resource.h"

#ifdef _DEBUG
//#define new DEBUG_NEW
Expand Down
1 change: 0 additions & 1 deletion MUSHclient.cpp
Expand Up @@ -41,7 +41,6 @@ COLORREF xterm_256_colours [256];
#pragma comment( lib, "winmm.lib")

// Winsock library
//#pragma comment( lib, "wsock32.lib ")
#pragma comment( lib, "ws2_32.lib ")

#ifdef _DEBUG
Expand Down
4 changes: 0 additions & 4 deletions ProcessPreviousLine.cpp
Expand Up @@ -3,12 +3,8 @@

#include "stdafx.h"
#include "MUSHclient.h"
#include <process.h>

#include "doc.h"
#include "MUSHview.h"
#include "mainfrm.h"
#include "sendvw.h"
#include "mxp\mxp.h"
#include "scripting\errors.h"

Expand Down
1 change: 0 additions & 1 deletion TimerWnd.cpp
Expand Up @@ -3,7 +3,6 @@

#include "stdafx.h"
#include "mushclient.h"
#include "TimerWnd.h"
#include "doc.h"

#ifdef _DEBUG
Expand Down
3 changes: 0 additions & 3 deletions chatlistensock.cpp
Expand Up @@ -7,9 +7,6 @@

#include "stdafx.h"
#include "MUSHclient.h"

#include "mainfrm.h"

#include "doc.h"

#include <stddef.h>
Expand Down
1 change: 0 additions & 1 deletion chatsock.cpp
Expand Up @@ -10,7 +10,6 @@

#include "mainfrm.h"

#include "chatsock.h"
#include "doc.h"

#include <stddef.h>
Expand Down
3 changes: 0 additions & 3 deletions dialogs/world_prefs/prefspropertypages.cpp
Expand Up @@ -9,16 +9,13 @@
#include "..\..\MUSHview.h"
#include "..\..\sendvw.h"
#include "..\..\scripting\errors.h"
#include "..\..\color.h"
#include "..\..\childfrm.h"

#include "editmac.h"
#include "aliasdlg.h"
#include "triggdlg.h"
#include "TimerDlg.h"
#include "EditVariable.h"
#include "MissingEntryPoints.h"
#include "mmsystem.h" // for sound playing
#include "..\FindDlg.h"
#include "TabDefaultsDlg.h"
#include "TreePropertySheet.h"
Expand Down
1 change: 0 additions & 1 deletion dialogs/world_prefs/triggdlg.cpp
Expand Up @@ -4,7 +4,6 @@
#include "stdafx.h"
#include "..\..\mushclient.h"
#include "..\..\doc.h"
#include "prefspropertypages.h"
#include "..\..\mainfrm.h"
#include "..\EditDlg.h"
#include "..\EditMultiLine.h"
Expand Down
3 changes: 0 additions & 3 deletions doc.cpp
Expand Up @@ -25,12 +25,9 @@
#include "dialogs\chat\ChatListDlg.h"

#include "dialogs\world_prefs\PrefsPropertySheet.h"
#include "dialogs\world_prefs\prefspropertypages.h"

#include "dialogs\password.h"

#include "mmsystem.h" // for sound playing

#include "ActivityDoc.h"
#include "dialogs\ConfirmPreamble.h"

Expand Down
4 changes: 0 additions & 4 deletions evaluate.cpp
@@ -1,9 +1,5 @@
#include "stdafx.h"
#include "MUSHclient.h"

#include "mmsystem.h" // for sound playing
#include "mainfrm.h"

#include "doc.h"

#ifdef _DEBUG
Expand Down
2 changes: 0 additions & 2 deletions exceptions.cpp
Expand Up @@ -2,8 +2,6 @@
//

#include "stdafx.h"
#include "exceptions.h"
#include "format.h"

#ifdef _DEBUG
//#define new DEBUG_NEW
Expand Down
1 change: 0 additions & 1 deletion format.cpp
Expand Up @@ -2,7 +2,6 @@
//

#include "stdafx.h"
#include "format.h"

#ifdef _DEBUG
//#define new DEBUG_NEW
Expand Down
6 changes: 0 additions & 6 deletions mainfrm.cpp
Expand Up @@ -19,18 +19,12 @@


#include "dialogs\TipDlg.h"
#include "resource.h"
#include "dialogs\SendToAllDlg.h"
#include "dialogs\UniqueIDDlg.h"
#include "dialogs\WinsockInfoDlg.h"

#include "MakeWindowTransparent.h"

#include <mmsystem.h>
// #include <Winuser.h> // for FlashWindowEx

//#include <winsock.h>

#ifdef _DEBUG
//#define new DEBUG_NEW
#undef THIS_FILE
Expand Down
1 change: 0 additions & 1 deletion mushview.cpp
Expand Up @@ -13,7 +13,6 @@
#include "sendvw.h"

#include "ActivityDoc.h"
#include "resource.h"
#include "genprint.h"
#include "dialogs\TextAttributesDlg.h"
#include "dialogs\GoToLineDlg.h"
Expand Down
1 change: 0 additions & 1 deletion mxp/mxpCloseAtomic.cpp
Expand Up @@ -7,7 +7,6 @@
#include "..\MUSHview.h"
#include "..\mainfrm.h"
#include "mxp.h"
#include "errors.h"

#ifdef _DEBUG
//#define new DEBUG_NEW
Expand Down
1 change: 0 additions & 1 deletion mxp/mxpEnd.cpp
Expand Up @@ -9,7 +9,6 @@
#include "..\MUSHview.h"
#include "..\mainfrm.h"
#include "mxp.h"
//#include "errors.h"

#ifdef _DEBUG
//#define new DEBUG_NEW
Expand Down
1 change: 0 additions & 1 deletion mxp/mxpEntities.cpp
Expand Up @@ -7,7 +7,6 @@
#include "..\MUSHview.h"
#include "..\mainfrm.h"
#include "mxp.h"
//#include "errors.h"

#ifdef _DEBUG
//#define new DEBUG_NEW
Expand Down
1 change: 0 additions & 1 deletion mxp/mxpError.cpp
Expand Up @@ -7,7 +7,6 @@
#include "..\MUSHview.h"
#include "..\mainfrm.h"
#include "mxp.h"
//#include "errors.h"

#ifdef _DEBUG
//#define new DEBUG_NEW
Expand Down
1 change: 0 additions & 1 deletion mxp/mxpMode.cpp
Expand Up @@ -7,7 +7,6 @@
#include "..\MUSHview.h"
#include "..\mainfrm.h"
#include "mxp.h"
//#include "errors.h"

#ifdef _DEBUG
//#define new DEBUG_NEW
Expand Down
1 change: 0 additions & 1 deletion mxp/mxpOnOff.cpp
Expand Up @@ -7,7 +7,6 @@
#include "..\MUSHview.h"
#include "..\mainfrm.h"
#include "mxp.h"
//#include "errors.h"

#ifdef _DEBUG
//#define new DEBUG_NEW
Expand Down
1 change: 0 additions & 1 deletion mxp/mxpStart.cpp
Expand Up @@ -9,7 +9,6 @@
#include "..\MUSHview.h"
#include "..\mainfrm.h"
#include "mxp.h"
//#include "errors.h"

#ifdef _DEBUG
//#define new DEBUG_NEW
Expand Down
3 changes: 0 additions & 3 deletions paneline.cpp
Expand Up @@ -8,11 +8,8 @@
/////////////////////////////////////////////////////////////////////////////

#include "stdafx.h"

#include "mushclient.h"

#include "paneline.h"

// adds text to a line, adds to current style run if possible
void CPaneLine::AddStyle (const CPaneStyle style)
{
Expand Down
2 changes: 1 addition & 1 deletion scripting/lua_compress.c
@@ -1,7 +1,7 @@
#include "..\lua.h"
#include "..\lauxlib.h"

#include "..\zlib/zlib.h"
#include "..\zlib\zlib.h"
#include "shs.h"
#include "sha256.h"
#include "md5.h"
Expand Down
2 changes: 0 additions & 2 deletions sendvw.cpp
Expand Up @@ -28,8 +28,6 @@

#include "winplace.h"

#include <stdlib.h>
#include "resource.h"
#include "scripting\errors.h"

#ifdef _DEBUG
Expand Down
1 change: 0 additions & 1 deletion serialize.cpp
Expand Up @@ -3,7 +3,6 @@

#include "stdafx.h"
#include "MUSHclient.h"
#include <process.h>
#include "doc.h"
#include "MUSHview.h"
#include "mainfrm.h"
Expand Down
1 change: 0 additions & 1 deletion worldsock.cpp
Expand Up @@ -10,7 +10,6 @@

#include "mainfrm.h"

#include "worldsock.h"
#include "doc.h"

#include <stddef.h>
Expand Down
1 change: 0 additions & 1 deletion xml/xml_load_world.cpp
Expand Up @@ -5,7 +5,6 @@
#include "..\MUSHclient.h"
#include "..\doc.h"
#include "..\MUSHview.h"
//#include "errors.h"
#include "..\genprint.h"
#include "..\mainfrm.h"

Expand Down
1 change: 0 additions & 1 deletion xml/xmlparse.cpp
Expand Up @@ -7,7 +7,6 @@
#include "stdafx.h"
#include "..\MUSHclient.h"
#include "..\doc.h"
#include "xmlparse.h"

#ifdef _DEBUG
//#define new DEBUG_NEW
Expand Down

0 comments on commit 0fed3f4

Please sign in to comment.