summaryrefslogtreecommitdiff
path: root/src/net
diff options
context:
space:
mode:
authorThorbjørn Lindeijer <bjorn@lindeijer.nl>2024-01-29 14:33:08 +0100
committerThorbjørn Lindeijer <bjorn@lindeijer.nl>2024-01-29 14:33:44 +0100
commit79f1fe1083f9514f383e846260a2190ced667cee (patch)
tree11f30a7dcece32793db8006b95083238fcc2eb2f /src/net
parentaf0dc52db16a0e1a0d11fcba45e21dfbbedfce5c (diff)
downloadmana-79f1fe1083f9514f383e846260a2190ced667cee.tar.gz
mana-79f1fe1083f9514f383e846260a2190ced667cee.tar.bz2
mana-79f1fe1083f9514f383e846260a2190ced667cee.tar.xz
mana-79f1fe1083f9514f383e846260a2190ced667cee.zip
Removed unused includes in various files
Diffstat (limited to 'src/net')
-rw-r--r--src/net/manaserv/beinghandler.cpp6
-rw-r--r--src/net/manaserv/charhandler.cpp3
-rw-r--r--src/net/tmwa/charserverhandler.h1
-rw-r--r--src/net/tmwa/inventoryhandler.cpp3
4 files changed, 2 insertions, 11 deletions
diff --git a/src/net/manaserv/beinghandler.cpp b/src/net/manaserv/beinghandler.cpp
index 6be90d51..ac432e41 100644
--- a/src/net/manaserv/beinghandler.cpp
+++ b/src/net/manaserv/beinghandler.cpp
@@ -23,17 +23,13 @@
#include "actorspritemanager.h"
#include "being.h"
-#include "client.h"
-#include "game.h"
#include "localplayer.h"
-#include "log.h"
-#include "particle.h"
#include "gui/okdialog.h"
#include "net/net.h"
-#include "net/manaserv/inventoryhandler.h"
+#include "net/inventoryhandler.h"
#include "net/manaserv/messagein.h"
#include "net/manaserv/playerhandler.h"
#include "net/manaserv/manaserv_protocol.h"
diff --git a/src/net/manaserv/charhandler.cpp b/src/net/manaserv/charhandler.cpp
index c8c23c7f..4665a70d 100644
--- a/src/net/manaserv/charhandler.cpp
+++ b/src/net/manaserv/charhandler.cpp
@@ -28,14 +28,13 @@
#include "gui/charcreatedialog.h"
#include "gui/okdialog.h"
-#include "net/logindata.h"
+#include "net/inventoryhandler.h"
#include "net/loginhandler.h"
#include "net/net.h"
#include "net/manaserv/connection.h"
#include "net/manaserv/gamehandler.h"
#include "net/manaserv/beinghandler.h"
-#include "net/manaserv/inventoryhandler.h"
#include "net/manaserv/messagein.h"
#include "net/manaserv/messageout.h"
#include "net/manaserv/manaserv_protocol.h"
diff --git a/src/net/tmwa/charserverhandler.h b/src/net/tmwa/charserverhandler.h
index cf673a4d..1102bb08 100644
--- a/src/net/tmwa/charserverhandler.h
+++ b/src/net/tmwa/charserverhandler.h
@@ -23,7 +23,6 @@
#define NET_TA_CHARSERVERHANDLER_H
#include "net/charhandler.h"
-#include "net/serverinfo.h"
#include "net/tmwa/messagehandler.h"
#include "net/tmwa/token.h"
diff --git a/src/net/tmwa/inventoryhandler.cpp b/src/net/tmwa/inventoryhandler.cpp
index 7b08d83c..0bc1f9c0 100644
--- a/src/net/tmwa/inventoryhandler.cpp
+++ b/src/net/tmwa/inventoryhandler.cpp
@@ -21,7 +21,6 @@
#include "net/tmwa/inventoryhandler.h"
-#include "configuration.h"
#include "equipment.h"
#include "event.h"
#include "game.h"
@@ -32,7 +31,6 @@
#include "log.h"
#include "gui/equipmentwindow.h"
-#include "gui/widgets/chattab.h"
#include "net/tmwa/messagein.h"
#include "net/tmwa/messageout.h"
@@ -41,7 +39,6 @@
#include "resources/iteminfo.h"
#include "utils/gettext.h"
-#include "utils/stringutils.h"
extern Net::InventoryHandler *inventoryHandler;