summaryrefslogtreecommitdiff
path: root/src/plugins
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins')
-rw-r--r--src/plugins/HPMHooking.c53
-rw-r--r--src/plugins/db2sql.c20
-rw-r--r--src/plugins/sample.c10
3 files changed, 42 insertions, 41 deletions
diff --git a/src/plugins/HPMHooking.c b/src/plugins/HPMHooking.c
index e6e698383..46792b268 100644
--- a/src/plugins/HPMHooking.c
+++ b/src/plugins/HPMHooking.c
@@ -3,48 +3,47 @@
// Sample Hercules Plugin
#include <stdio.h>
-#include <string.h>
#include <stdlib.h>
+#include <string.h>
#include "../common/HPMi.h"
+#include "../common/db.h"
+#include "../common/malloc.h"
#include "../common/mmo.h"
#include "../common/socket.h"
-#include "../common/malloc.h"
-#include "../common/db.h"
-
-#include "../map/map.h"
-#include "../map/path.h"
+#include "../map/atcommand.h"
+#include "../map/battle.h"
+#include "../map/battleground.h"
+#include "../map/chat.h"
#include "../map/chrif.h"
#include "../map/clif.h"
#include "../map/duel.h"
+#include "../map/elemental.h"
+#include "../map/guild.h"
+#include "../map/homunculus.h"
+#include "../map/instance.h"
#include "../map/intif.h"
+#include "../map/irc-bot.h"
+#include "../map/itemdb.h"
+#include "../map/log.h"
+#include "../map/mail.h"
+#include "../map/map.h"
+#include "../map/mapreg.h"
+#include "../map/mercenary.h"
+#include "../map/mob.h"
+#include "../map/npc.h"
#include "../map/npc.h"
+#include "../map/party.h"
+#include "../map/path.h"
#include "../map/pc.h"
+#include "../map/pet.h"
+#include "../map/quest.h"
+#include "../map/script.h"
+#include "../map/skill.h"
#include "../map/status.h"
-#include "../map/mob.h"
-#include "../map/npc.h"
-#include "../map/chat.h"
-#include "../map/itemdb.h"
#include "../map/storage.h"
-#include "../map/skill.h"
#include "../map/trade.h"
-#include "../map/party.h"
#include "../map/unit.h"
-#include "../map/battle.h"
-#include "../map/battleground.h"
-#include "../map/quest.h"
-#include "../map/script.h"
-#include "../map/mapreg.h"
-#include "../map/guild.h"
-#include "../map/pet.h"
-#include "../map/homunculus.h"
-#include "../map/instance.h"
-#include "../map/mercenary.h"
-#include "../map/elemental.h"
-#include "../map/atcommand.h"
-#include "../map/log.h"
-#include "../map/mail.h"
-#include "../map/irc-bot.h"
#include "../common/HPMDataCheck.h"
diff --git a/src/plugins/db2sql.c b/src/plugins/db2sql.c
index b8f21407e..1e9cb1a5a 100644
--- a/src/plugins/db2sql.c
+++ b/src/plugins/db2sql.c
@@ -1,20 +1,22 @@
// Copyright (c) Hercules Dev Team, licensed under GNU GPL.
// See the LICENSE file
-#include "../common/cbasetypes.h"
-#include "../common/strlib.h"
-#include "../common/timer.h"
+#include "../config/core.h"
+
+#include <stdio.h>
+#include <stdlib.h>
+
#include "../common/HPMi.h"
+#include "../common/cbasetypes.h"
+#include "../common/conf.h"
#include "../common/malloc.h"
#include "../common/mmo.h"
-#include "../common/conf.h"
-#include "../config/core.h"
+#include "../common/strlib.h"
+#include "../common/timer.h"
#include "../map/clif.h"
-#include "../map/pc.h"
-#include "../map/map.h"
#include "../map/itemdb.h"
-#include <stdio.h>
-#include <stdlib.h>
+#include "../map/map.h"
+#include "../map/pc.h"
#include "../common/HPMDataCheck.h"
diff --git a/src/plugins/sample.c b/src/plugins/sample.c
index 819aae08c..84df88e06 100644
--- a/src/plugins/sample.c
+++ b/src/plugins/sample.c
@@ -3,17 +3,17 @@
// Sample Hercules Plugin
#include <stdio.h>
-#include <string.h>
#include <stdlib.h>
+#include <string.h>
#include "../common/HPMi.h"
+#include "../common/malloc.h"
#include "../common/mmo.h"
#include "../common/socket.h"
-#include "../common/malloc.h"
-#include "../map/script.h"
-#include "../map/pc.h"
-#include "../map/clif.h"
#include "../common/strlib.h"
+#include "../map/clif.h"
+#include "../map/pc.h"
+#include "../map/script.h"
#include "../common/HPMDataCheck.h" /* should always be the last file included! (if you don't make it last, it'll intentionally break compile time) */