summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-05-02 14:43:19 +0300
committerAndrei Karas <akaras@inbox.ru>2016-05-02 14:43:19 +0300
commit00d1b8bf9fc3648730904b6f86696417f4445037 (patch)
treeb17b43e7cc6537aa1ae8cc5cfc21addd53ca971d
parent0b2a9a6937a223ecc6356836da51ed41afc2d00b (diff)
downloadevol-hercules-00d1b8bf9fc3648730904b6f86696417f4445037.tar.gz
evol-hercules-00d1b8bf9fc3648730904b6f86696417f4445037.tar.bz2
evol-hercules-00d1b8bf9fc3648730904b6f86696417f4445037.tar.xz
evol-hercules-00d1b8bf9fc3648730904b6f86696417f4445037.zip
Add into all files where need #include "plugins/HPMHooking.h"
-rw-r--r--src/echar/char.c2
-rw-r--r--src/echar/init.c1
-rw-r--r--src/elogin/init.c1
-rw-r--r--src/elogin/login.c2
-rw-r--r--src/elogin/parse.c2
-rw-r--r--src/emap/atcommand.c3
-rw-r--r--src/emap/clif.c2
-rw-r--r--src/emap/init.c1
-rw-r--r--src/emap/itemdb.c2
-rw-r--r--src/emap/mail.c2
-rw-r--r--src/emap/map.c2
-rw-r--r--src/emap/mob.c2
-rw-r--r--src/emap/npc.c2
-rw-r--r--src/emap/pc.c2
-rw-r--r--src/emap/quest.c2
-rw-r--r--src/emap/script.c2
-rw-r--r--src/emap/status.c2
-rw-r--r--src/emap/unit.c2
18 files changed, 34 insertions, 0 deletions
diff --git a/src/echar/char.c b/src/echar/char.c
index 5fa2122..b46ca62 100644
--- a/src/echar/char.c
+++ b/src/echar/char.c
@@ -18,6 +18,8 @@
#include "char/char.h"
#include "char/inter.h"
+#include "plugins/HPMHooking.h"
+
#include "echar/char.h"
#include "echar/config.h"
diff --git a/src/echar/init.c b/src/echar/init.c
index c8cf58a..e6f3eaa 100644
--- a/src/echar/init.c
+++ b/src/echar/init.c
@@ -36,6 +36,7 @@
#include "echar/char.h"
#include "echar/config.h"
+#include "plugins/HPMHooking.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) */
HPExport struct hplugin_info pinfo =
diff --git a/src/elogin/init.c b/src/elogin/init.c
index caebf5d..4246ffd 100644
--- a/src/elogin/init.c
+++ b/src/elogin/init.c
@@ -22,6 +22,7 @@
#include "elogin/login.h"
#include "elogin/parse.h"
+#include "plugins/HPMHooking.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) */
HPExport struct hplugin_info pinfo =
diff --git a/src/elogin/login.c b/src/elogin/login.c
index 61708bd..0075f4b 100644
--- a/src/elogin/login.c
+++ b/src/elogin/login.c
@@ -14,6 +14,8 @@
#include "common/strlib.h"
#include "login/login.h"
+#include "plugins/HPMHooking.h"
+
#include "elogin/md5calc.h"
bool elogin_check_password(const char* md5key __attribute__ ((unused)),
diff --git a/src/elogin/parse.c b/src/elogin/parse.c
index 3e0155a..d17e325 100644
--- a/src/elogin/parse.c
+++ b/src/elogin/parse.c
@@ -17,6 +17,8 @@
#include "login/lclif.h"
#include "login/login.h"
+#include "plugins/HPMHooking.h"
+
#include "elogin/config.h"
#include "elogin/md5calc.h"
#include "elogin/parse.h"
diff --git a/src/emap/atcommand.c b/src/emap/atcommand.c
index 5818dc4..cd3c102 100644
--- a/src/emap/atcommand.c
+++ b/src/emap/atcommand.c
@@ -18,6 +18,9 @@
#include "map/map.h"
#include "map/pc.h"
#include "map/skill.h"
+
+#include "plugins/HPMHooking.h"
+
#include "emap/atcommand.h"
#include "emap/lang.h"
diff --git a/src/emap/clif.c b/src/emap/clif.c
index 87092c1..a4d60ae 100644
--- a/src/emap/clif.c
+++ b/src/emap/clif.c
@@ -23,6 +23,8 @@
#include "map/pc.h"
#include "map/quest.h"
+#include "plugins/HPMHooking.h"
+
#include "emap/clif.h"
#include "emap/lang.h"
#include "emap/map.h"
diff --git a/src/emap/init.c b/src/emap/init.c
index 6531d40..cdd3b34 100644
--- a/src/emap/init.c
+++ b/src/emap/init.c
@@ -65,6 +65,7 @@
#include "emap/skill.h"
#include "emap/status.h"
+#include "plugins/HPMHooking.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) */
extern int langScriptId;
diff --git a/src/emap/itemdb.c b/src/emap/itemdb.c
index 2550aa6..0a36a21 100644
--- a/src/emap/itemdb.c
+++ b/src/emap/itemdb.c
@@ -18,6 +18,8 @@
#include "map/npc.h"
#include "map/pc.h"
+#include "plugins/HPMHooking.h"
+
#include "emap/data/itemd.h"
#include "emap/struct/itemdext.h"
#include "emap/npc.h"
diff --git a/src/emap/mail.c b/src/emap/mail.c
index 6016e63..4f293d1 100644
--- a/src/emap/mail.c
+++ b/src/emap/mail.c
@@ -19,6 +19,8 @@
#include "map/map.h"
#include "map/pc.h"
+#include "plugins/HPMHooking.h"
+
bool email_invalid_operation(struct map_session_data *sd)
{
if (!sd)
diff --git a/src/emap/map.c b/src/emap/map.c
index c85a831..6313f20 100644
--- a/src/emap/map.c
+++ b/src/emap/map.c
@@ -21,6 +21,8 @@
#include "map/npc.h"
#include "map/pc.h"
+#include "plugins/HPMHooking.h"
+
#include "emap/permission.h"
#include "emap/send.h"
#include "emap/data/itemd.h"
diff --git a/src/emap/mob.c b/src/emap/mob.c
index a5700cc..217f60a 100644
--- a/src/emap/mob.c
+++ b/src/emap/mob.c
@@ -18,6 +18,8 @@
#include "map/itemdb.h"
#include "map/mob.h"
+#include "plugins/HPMHooking.h"
+
#include "emap/mob.h"
#include "emap/data/mobd.h"
diff --git a/src/emap/npc.c b/src/emap/npc.c
index f4cb0f2..b7d7b37 100644
--- a/src/emap/npc.c
+++ b/src/emap/npc.c
@@ -16,6 +16,8 @@
#include "map/npc.h"
#include "map/pc.h"
+#include "plugins/HPMHooking.h"
+
#include "emap/data/mapd.h"
#include "emap/data/npcd.h"
#include "emap/struct/mapdext.h"
diff --git a/src/emap/pc.c b/src/emap/pc.c
index 1ba06c7..0697430 100644
--- a/src/emap/pc.c
+++ b/src/emap/pc.c
@@ -17,6 +17,8 @@
#include "map/npc.h"
#include "map/pc.h"
+#include "plugins/HPMHooking.h"
+
#include "emap/clif.h"
#include "emap/pc.h"
#include "emap/send.h"
diff --git a/src/emap/quest.c b/src/emap/quest.c
index 15a41d8..1368a4e 100644
--- a/src/emap/quest.c
+++ b/src/emap/quest.c
@@ -17,6 +17,8 @@
#include "map/script.h"
#include "map/quest.h"
+#include "plugins/HPMHooking.h"
+
#include "emap/quest.h"
/**
diff --git a/src/emap/script.c b/src/emap/script.c
index 5c635b0..37e71f0 100644
--- a/src/emap/script.c
+++ b/src/emap/script.c
@@ -13,6 +13,8 @@
#include "map/pc.h"
#include "map/script.h"
+#include "plugins/HPMHooking.h"
+
#include "emap/script.h"
#include "emap/map.h"
#include "emap/data/npcd.h"
diff --git a/src/emap/status.c b/src/emap/status.c
index 46b705d..7b58329 100644
--- a/src/emap/status.c
+++ b/src/emap/status.c
@@ -19,6 +19,8 @@
#include "map/script.h"
#include "map/status.h"
+#include "plugins/HPMHooking.h"
+
#include "emap/horse.h"
#include "emap/data/itemd.h"
#include "emap/data/npcd.h"
diff --git a/src/emap/unit.c b/src/emap/unit.c
index 3490f3e..b53e691 100644
--- a/src/emap/unit.c
+++ b/src/emap/unit.c
@@ -20,6 +20,8 @@
#include "map/skill.h"
#include "map/status.h"
+#include "plugins/HPMHooking.h"
+
#include "emap/unit.h"
int eunit_can_move(struct block_list *bl)