summaryrefslogtreecommitdiff
path: root/src/map/HPMmap.h
diff options
context:
space:
mode:
authorHappy <markaizer@gmail.com>2014-08-21 04:50:46 +0800
committerHappy <markaizer@gmail.com>2014-08-21 04:50:46 +0800
commitf52e1007fe08c67003c0bc4c78231904dd3fd5cc (patch)
tree99907d827264e501774e58ab4630e41fa7103c02 /src/map/HPMmap.h
parent2410110dece79b4598c12f1c953219f1d0d1904a (diff)
parent769b1d05aa5cfa8cddfe7d21b35d5c5e4da3bbd6 (diff)
downloadhercules-f52e1007fe08c67003c0bc4c78231904dd3fd5cc.tar.gz
hercules-f52e1007fe08c67003c0bc4c78231904dd3fd5cc.tar.bz2
hercules-f52e1007fe08c67003c0bc4c78231904dd3fd5cc.tar.xz
hercules-f52e1007fe08c67003c0bc4c78231904dd3fd5cc.zip
Merge pull request #1 from HerculesWS/master
Update from original
Diffstat (limited to 'src/map/HPMmap.h')
-rw-r--r--src/map/HPMmap.h29
1 files changed, 29 insertions, 0 deletions
diff --git a/src/map/HPMmap.h b/src/map/HPMmap.h
new file mode 100644
index 000000000..99c4224ff
--- /dev/null
+++ b/src/map/HPMmap.h
@@ -0,0 +1,29 @@
+// Copyright (c) Hercules Dev Team, licensed under GNU GPL.
+// See the LICENSE file
+
+#ifndef MAP_HPMMAP_H
+#define MAP_HPMMAP_H
+
+#include "../common/cbasetypes.h"
+#include "../map/atcommand.h"
+#include "../common/HPM.h"
+
+struct hplugin;
+struct map_session_data;
+
+bool HPM_map_grabHPData(struct HPDataOperationStorage *ret, enum HPluginDataTypes type, void *ptr);
+
+bool HPM_map_add_atcommand(char *name, AtCommandFunc func);
+void HPM_map_atcommands(void);
+
+void HPM_map_plugin_load_sub(struct hplugin *plugin);
+
+void HPM_map_do_final(void);
+
+void HPM_map_add_group_permission(unsigned int pluginID, char *name, unsigned int *mask);
+
+bool HPM_map_DataCheck(struct s_HPMDataCheck *src, unsigned int size, char *name);
+
+void HPM_map_do_init(void);
+
+#endif /* MAP_HPMMAP_H */