summaryrefslogtreecommitdiff
path: root/src/map/map.c
diff options
context:
space:
mode:
authorshennetsind <notind@gmail.com>2013-08-08 11:19:02 -0700
committershennetsind <notind@gmail.com>2013-08-08 11:19:02 -0700
commit1197e46b6ca1f399edc18fbd60a3e2c4adf6c32f (patch)
treecbfd9f0847cb5b9e65cd77ab4e8861f34165c67d /src/map/map.c
parentdefac0ef9714121a872ab48c3f6c4ddd177ae509 (diff)
parent04db720ee56ad8ddddf4255575c5d60e2c214a13 (diff)
downloadhercules-1197e46b6ca1f399edc18fbd60a3e2c4adf6c32f.tar.gz
hercules-1197e46b6ca1f399edc18fbd60a3e2c4adf6c32f.tar.bz2
hercules-1197e46b6ca1f399edc18fbd60a3e2c4adf6c32f.tar.xz
hercules-1197e46b6ca1f399edc18fbd60a3e2c4adf6c32f.zip
Merge pull request #83 from HerculesWS/HPMUpdateR2
Hercules Plugin Manager Update
Diffstat (limited to 'src/map/map.c')
-rw-r--r--src/map/map.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/map/map.c b/src/map/map.c
index 713577495..5753fbc1d 100644
--- a/src/map/map.c
+++ b/src/map/map.c
@@ -51,6 +51,7 @@
#include "log.h"
#include "mail.h"
#include "irc-bot.h"
+#include "HPMmap.h"
#include <stdio.h>
#include <stdlib.h>
@@ -5172,6 +5173,9 @@ void map_hp_symbols(void) {
/* specific */
HPM->share(atcommand->create,"addCommand");
HPM->share(script->addScript,"addScript");
+ HPM->share(HPM_map_addToMSD,"addToMSD");
+ HPM->share(HPM_map_getFromMSD,"getFromMSD");
+ HPM->share(HPM_map_removeFromMSD,"removeFromMSD");
/* vars */
HPM->share(map,"map");
}
@@ -5379,6 +5383,7 @@ int do_init(int argc, char *argv[])
iTimer->add_timer_func_list(map_removemobs_timer, "map_removemobs_timer");
iTimer->add_timer_interval(iTimer->gettick()+1000, map_freeblock_timer, 0, 0, 60*1000);
+ HPM->load_sub = HPM_map_plugin_load_sub;
HPM->symbol_defaults_sub = map_hp_symbols;
HPM->config_read();
HPM->event(HPET_INIT);