summaryrefslogtreecommitdiff
path: root/src/map/map.h
diff options
context:
space:
mode:
authorgumi <git@gumi.ca>2018-07-22 23:37:10 -0400
committergumi <git@gumi.ca>2020-05-03 11:46:22 -0400
commit06e65c769bbb66045e0d51da6a321a4c4ef1ff42 (patch)
tree8584118f3956ef75fbf0e22734b2cc3db2a2e98b /src/map/map.h
parentf40cc839413cc82aed445d39cc3aa204dce87780 (diff)
downloadhercules-06e65c769bbb66045e0d51da6a321a4c4ef1ff42.tar.gz
hercules-06e65c769bbb66045e0d51da6a321a4c4ef1ff42.tar.bz2
hercules-06e65c769bbb66045e0d51da6a321a4c4ef1ff42.tar.xz
hercules-06e65c769bbb66045e0d51da6a321a4c4ef1ff42.zip
allow local NPC functions to be public or private
Diffstat (limited to 'src/map/map.h')
-rw-r--r--src/map/map.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/map/map.h b/src/map/map.h
index 2de6df2f7..b3cdef025 100644
--- a/src/map/map.h
+++ b/src/map/map.h
@@ -329,6 +329,14 @@ enum bl_type {
enum npc_subtype { WARP, SHOP, SCRIPT, CASHSHOP, TOMB };
+/** optional flags for script labels, used by the label db */
+enum script_label_flags {
+ /** the label can be called from outside the local scope of the NPC */
+ LABEL_IS_EXTERN = 0x1,
+ /** the label is a public or private local NPC function */
+ LABEL_IS_USERFUNC = 0x2,
+};
+
/**
* Race type IDs.
*