summaryrefslogtreecommitdiff
path: root/src/net/ea
diff options
context:
space:
mode:
Diffstat (limited to 'src/net/ea')
-rw-r--r--src/net/ea/adminhandler.cpp10
-rw-r--r--src/net/ea/beinghandler.cpp4
-rw-r--r--src/net/ea/buysellhandler.cpp8
-rw-r--r--src/net/ea/charserverhandler.cpp18
-rw-r--r--src/net/ea/chathandler.cpp10
-rw-r--r--src/net/ea/gamehandler.cpp14
-rw-r--r--src/net/ea/generalhandler.cpp15
-rw-r--r--src/net/ea/gui/partytab.h6
-rw-r--r--src/net/ea/guildhandler.cpp6
-rw-r--r--src/net/ea/inventoryhandler.cpp10
-rw-r--r--src/net/ea/inventoryhandler.h8
-rw-r--r--src/net/ea/itemhandler.cpp6
-rw-r--r--src/net/ea/loginhandler.cpp8
-rw-r--r--src/net/ea/network.cpp6
-rw-r--r--src/net/ea/npchandler.cpp12
-rw-r--r--src/net/ea/partyhandler.cpp1
-rw-r--r--src/net/ea/playerhandler.cpp10
-rw-r--r--src/net/ea/specialhandler.cpp10
-rw-r--r--src/net/ea/tradehandler.cpp12
19 files changed, 87 insertions, 87 deletions
diff --git a/src/net/ea/adminhandler.cpp b/src/net/ea/adminhandler.cpp
index a58154f6..72068f6b 100644
--- a/src/net/ea/adminhandler.cpp
+++ b/src/net/ea/adminhandler.cpp
@@ -21,11 +21,6 @@
#include "net/ea/adminhandler.h"
-#include "net/chathandler.h"
-#include "net/net.h"
-
-#include "net/ea/protocol.h"
-
#include "being.h"
#include "beingmanager.h"
#include "game.h"
@@ -33,6 +28,11 @@
#include "gui/widgets/chattab.h"
+#include "net/chathandler.h"
+#include "net/net.h"
+
+#include "net/ea/protocol.h"
+
#include "utils/gettext.h"
#include "utils/stringutils.h"
diff --git a/src/net/ea/beinghandler.cpp b/src/net/ea/beinghandler.cpp
index 6c943454..932f88d9 100644
--- a/src/net/ea/beinghandler.cpp
+++ b/src/net/ea/beinghandler.cpp
@@ -21,8 +21,6 @@
#include "net/ea/beinghandler.h"
-#include "net/ea/protocol.h"
-
#include "being.h"
#include "beingmanager.h"
#include "effectmanager.h"
@@ -34,6 +32,8 @@
#include "gui/partywindow.h"
+#include "net/ea/protocol.h"
+
#include "resources/colordb.h"
#include <iostream>
diff --git a/src/net/ea/buysellhandler.cpp b/src/net/ea/buysellhandler.cpp
index 8dba566d..32908dee 100644
--- a/src/net/ea/buysellhandler.cpp
+++ b/src/net/ea/buysellhandler.cpp
@@ -21,10 +21,6 @@
#include "net/ea/buysellhandler.h"
-#include "net/ea/protocol.h"
-
-#include "net/messagein.h"
-
#include "beingmanager.h"
#include "inventory.h"
#include "item.h"
@@ -37,6 +33,10 @@
#include "gui/widgets/chattab.h"
+#include "net/messagein.h"
+
+#include "net/ea/protocol.h"
+
#include "utils/gettext.h"
namespace EAthena {
diff --git a/src/net/ea/charserverhandler.cpp b/src/net/ea/charserverhandler.cpp
index cda839bb..b671db23 100644
--- a/src/net/ea/charserverhandler.cpp
+++ b/src/net/ea/charserverhandler.cpp
@@ -21,15 +21,6 @@
#include "net/ea/charserverhandler.h"
-#include "net/ea/loginhandler.h"
-#include "net/ea/network.h"
-#include "net/ea/protocol.h"
-
-#include "net/logindata.h"
-#include "net/messagein.h"
-#include "net/messageout.h"
-#include "net/net.h"
-
#include "game.h"
#include "log.h"
#include "main.h"
@@ -37,6 +28,15 @@
#include "gui/charcreatedialog.h"
#include "gui/okdialog.h"
+#include "net/logindata.h"
+#include "net/messagein.h"
+#include "net/messageout.h"
+#include "net/net.h"
+
+#include "net/ea/loginhandler.h"
+#include "net/ea/network.h"
+#include "net/ea/protocol.h"
+
#include "resources/colordb.h"
#include "utils/gettext.h"
diff --git a/src/net/ea/chathandler.cpp b/src/net/ea/chathandler.cpp
index dd4d18a1..9fb124c5 100644
--- a/src/net/ea/chathandler.cpp
+++ b/src/net/ea/chathandler.cpp
@@ -21,11 +21,6 @@
#include "net/ea/chathandler.h"
-#include "net/ea/protocol.h"
-
-#include "net/messagein.h"
-#include "net/messageout.h"
-
#include "being.h"
#include "beingmanager.h"
#include "game.h"
@@ -34,6 +29,11 @@
#include "gui/widgets/chattab.h"
+#include "net/messagein.h"
+#include "net/messageout.h"
+
+#include "net/ea/protocol.h"
+
#include "utils/gettext.h"
#include "utils/stringutils.h"
diff --git a/src/net/ea/gamehandler.cpp b/src/net/ea/gamehandler.cpp
index 41c86d4d..4c732070 100644
--- a/src/net/ea/gamehandler.cpp
+++ b/src/net/ea/gamehandler.cpp
@@ -21,13 +21,6 @@
#include "net/ea/gamehandler.h"
-#include "net/ea/loginhandler.h"
-#include "net/ea/network.h"
-#include "net/ea/protocol.h"
-
-#include "net/messagein.h"
-#include "net/messageout.h"
-
#include "game.h"
#include "localplayer.h"
#include "log.h"
@@ -37,6 +30,13 @@
#include "gui/okdialog.h"
+#include "net/messagein.h"
+#include "net/messageout.h"
+
+#include "net/ea/loginhandler.h"
+#include "net/ea/network.h"
+#include "net/ea/protocol.h"
+
#include "utils/gettext.h"
#include "utils/stringutils.h"
diff --git a/src/net/ea/generalhandler.cpp b/src/net/ea/generalhandler.cpp
index 5c7c5036..677b2aa5 100644
--- a/src/net/ea/generalhandler.cpp
+++ b/src/net/ea/generalhandler.cpp
@@ -21,15 +21,16 @@
#include "net/ea/generalhandler.h"
+#include "configuration.h"
+#include "log.h"
+#include "main.h"
+
#include "gui/charselectdialog.h"
#include "gui/inventorywindow.h"
#include "gui/register.h"
#include "gui/skilldialog.h"
#include "gui/statuswindow.h"
-#include "net/ea/network.h"
-#include "net/ea/protocol.h"
-
#include "net/ea/adminhandler.h"
#include "net/ea/beinghandler.h"
#include "net/ea/buysellhandler.h"
@@ -39,9 +40,11 @@
#include "net/ea/inventoryhandler.h"
#include "net/ea/itemhandler.h"
#include "net/ea/loginhandler.h"
+#include "net/ea/network.h"
#include "net/ea/npchandler.h"
-#include "net/ea/playerhandler.h"
#include "net/ea/partyhandler.h"
+#include "net/ea/playerhandler.h"
+#include "net/ea/protocol.h"
#include "net/ea/tradehandler.h"
#include "net/ea/specialhandler.h"
@@ -52,10 +55,6 @@
#include "resources/itemdb.h"
-#include "configuration.h"
-#include "log.h"
-#include "main.h"
-
#include "utils/gettext.h"
#include <assert.h>
diff --git a/src/net/ea/gui/partytab.h b/src/net/ea/gui/partytab.h
index 9ef481e2..afbc8fd9 100644
--- a/src/net/ea/gui/partytab.h
+++ b/src/net/ea/gui/partytab.h
@@ -19,8 +19,8 @@
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
-#ifndef CHANNELTAB_H
-#define CHANNELTAB_H
+#ifndef EA_PARTYTAB_H
+#define EA_PARTYTAB_H
#include "gui/widgets/chattab.h"
@@ -45,4 +45,4 @@ class PartyTab : public ChatTab
extern PartyTab *partyTab;
-#endif // CHANNELTAB_H
+#endif // EA_PARTYTAB_H
diff --git a/src/net/ea/guildhandler.cpp b/src/net/ea/guildhandler.cpp
index c61e88ac..d96aef0d 100644
--- a/src/net/ea/guildhandler.cpp
+++ b/src/net/ea/guildhandler.cpp
@@ -21,12 +21,12 @@
#include "net/ea/guildhandler.h"
-#include "net/ea/messagein.h"
-#include "net/ea/protocol.h"
-
#include "localplayer.h"
#include "log.h"
+#include "net/ea/messagein.h"
+#include "net/ea/protocol.h"
+
extern Net::GuildHandler *guildHandler;
namespace EAthena {
diff --git a/src/net/ea/inventoryhandler.cpp b/src/net/ea/inventoryhandler.cpp
index c7080c2d..34f3f6d7 100644
--- a/src/net/ea/inventoryhandler.cpp
+++ b/src/net/ea/inventoryhandler.cpp
@@ -21,11 +21,6 @@
#include "net/ea/inventoryhandler.h"
-#include "net/ea/protocol.h"
-
-#include "net/messagein.h"
-#include "net/messageout.h"
-
#include "configuration.h"
#include "equipment.h"
#include "inventory.h"
@@ -38,6 +33,11 @@
#include "gui/widgets/chattab.h"
+#include "net/messagein.h"
+#include "net/messageout.h"
+
+#include "net/ea/protocol.h"
+
#include "resources/iteminfo.h"
#include "utils/gettext.h"
diff --git a/src/net/ea/inventoryhandler.h b/src/net/ea/inventoryhandler.h
index 65f48f6a..15bdfb76 100644
--- a/src/net/ea/inventoryhandler.h
+++ b/src/net/ea/inventoryhandler.h
@@ -22,15 +22,15 @@
#ifndef NET_EA_INVENTORYHANDLER_H
#define NET_EA_INVENTORYHANDLER_H
+#include "equipment.h"
+#include "inventory.h"
+#include "localplayer.h"
+
#include "net/inventoryhandler.h"
#include "net/net.h"
#include "net/ea/messagehandler.h"
-#include "equipment.h"
-#include "inventory.h"
-#include "localplayer.h"
-
namespace EAthena {
class EquipBackend : public Equipment::Backend {
diff --git a/src/net/ea/itemhandler.cpp b/src/net/ea/itemhandler.cpp
index f926f8e8..2f65c064 100644
--- a/src/net/ea/itemhandler.cpp
+++ b/src/net/ea/itemhandler.cpp
@@ -21,12 +21,12 @@
#include "net/ea/itemhandler.h"
-#include "net/ea/protocol.h"
+#include "engine.h"
+#include "flooritemmanager.h"
#include "net/messagein.h"
-#include "engine.h"
-#include "flooritemmanager.h"
+#include "net/ea/protocol.h"
namespace EAthena {
diff --git a/src/net/ea/loginhandler.cpp b/src/net/ea/loginhandler.cpp
index 07caa325..94a8ca6d 100644
--- a/src/net/ea/loginhandler.cpp
+++ b/src/net/ea/loginhandler.cpp
@@ -21,15 +21,15 @@
#include "net/ea/loginhandler.h"
-#include "net/ea/network.h"
-#include "net/ea/protocol.h"
+#include "log.h"
+#include "main.h"
#include "net/logindata.h"
#include "net/messagein.h"
#include "net/messageout.h"
-#include "log.h"
-#include "main.h"
+#include "net/ea/network.h"
+#include "net/ea/protocol.h"
#include "utils/dtor.h"
#include "utils/gettext.h"
diff --git a/src/net/ea/network.cpp b/src/net/ea/network.cpp
index a93d6cfd..d00006b0 100644
--- a/src/net/ea/network.cpp
+++ b/src/net/ea/network.cpp
@@ -21,16 +21,16 @@
#include "net/ea/network.h"
-#include "net/ea/protocol.h"
+#include "log.h"
#include "net/messagehandler.h"
#include "net/messagein.h"
+#include "net/ea/protocol.h"
+
#include "utils/gettext.h"
#include "utils/stringutils.h"
-#include "log.h"
-
#include <assert.h>
#include <sstream>
diff --git a/src/net/ea/npchandler.cpp b/src/net/ea/npchandler.cpp
index 5800504c..40e9daf8 100644
--- a/src/net/ea/npchandler.cpp
+++ b/src/net/ea/npchandler.cpp
@@ -21,18 +21,18 @@
#include "net/ea/npchandler.h"
-#include "net/ea/protocol.h"
+#include "beingmanager.h"
+#include "localplayer.h"
+#include "npc.h"
+
+#include "gui/npcdialog.h"
#include "net/messagein.h"
#include "net/messageout.h"
#include "net/net.h"
#include "net/npchandler.h"
-#include "beingmanager.h"
-#include "localplayer.h"
-#include "npc.h"
-
-#include "gui/npcdialog.h"
+#include "net/ea/protocol.h"
#include <SDL_types.h>
diff --git a/src/net/ea/partyhandler.cpp b/src/net/ea/partyhandler.cpp
index af842c11..bd69fa05 100644
--- a/src/net/ea/partyhandler.cpp
+++ b/src/net/ea/partyhandler.cpp
@@ -32,6 +32,7 @@
#include "net/messageout.h"
#include "net/ea/protocol.h"
+
#include "net/ea/gui/partytab.h"
#include "utils/gettext.h"
diff --git a/src/net/ea/playerhandler.cpp b/src/net/ea/playerhandler.cpp
index 14907300..d7b8594e 100644
--- a/src/net/ea/playerhandler.cpp
+++ b/src/net/ea/playerhandler.cpp
@@ -21,11 +21,6 @@
#include "net/ea/playerhandler.h"
-#include "net/ea/protocol.h"
-
-#include "net/messagein.h"
-#include "net/messageout.h"
-
#include "engine.h"
#include "localplayer.h"
#include "log.h"
@@ -43,6 +38,11 @@
#include "gui/widgets/chattab.h"
+#include "net/messagein.h"
+#include "net/messageout.h"
+
+#include "net/ea/protocol.h"
+
#include "utils/stringutils.h"
#include "utils/gettext.h"
diff --git a/src/net/ea/specialhandler.cpp b/src/net/ea/specialhandler.cpp
index b9335553..0ac2f106 100644
--- a/src/net/ea/specialhandler.cpp
+++ b/src/net/ea/specialhandler.cpp
@@ -21,11 +21,6 @@
#include "net/ea/specialhandler.h"
-#include "net/ea/protocol.h"
-
-#include "net/messagein.h"
-#include "net/messageout.h"
-
#include "localplayer.h"
#include "log.h"
@@ -33,6 +28,11 @@
#include "gui/widgets/chattab.h"
+#include "net/messagein.h"
+#include "net/messageout.h"
+
+#include "net/ea/protocol.h"
+
#include "utils/gettext.h"
/** job dependend identifiers (?) */
diff --git a/src/net/ea/tradehandler.cpp b/src/net/ea/tradehandler.cpp
index b02bb900..80600dc7 100644
--- a/src/net/ea/tradehandler.cpp
+++ b/src/net/ea/tradehandler.cpp
@@ -21,12 +21,6 @@
#include "net/ea/tradehandler.h"
-#include "net/ea/protocol.h"
-
-#include "net/inventoryhandler.h"
-#include "net/messagein.h"
-#include "net/messageout.h"
-
#include "inventory.h"
#include "item.h"
#include "localplayer.h"
@@ -37,6 +31,12 @@
#include "gui/widgets/chattab.h"
+#include "net/inventoryhandler.h"
+#include "net/messagein.h"
+#include "net/messageout.h"
+
+#include "net/ea/protocol.h"
+
#include "utils/gettext.h"
#include "utils/stringutils.h"