summaryrefslogtreecommitdiff
path: root/src/map/npc.h
diff options
context:
space:
mode:
authorHaru <haru@dotalux.com>2020-05-27 12:40:47 +0200
committerGitHub <noreply@github.com>2020-05-27 12:40:47 +0200
commitfcffb676132949852adfef2fd3f814485f964709 (patch)
treeb00e7b948150ab9c500e9d61b9a11cdd0fe26ad0 /src/map/npc.h
parent3d9317d3a0bb200b9262be8fb882f33b40bfbd2e (diff)
parent6aed6b4f7c669c3760c5ebd32b40fbb7da1d5715 (diff)
downloadhercules-fcffb676132949852adfef2fd3f814485f964709.tar.gz
hercules-fcffb676132949852adfef2fd3f814485f964709.tar.bz2
hercules-fcffb676132949852adfef2fd3f814485f964709.tar.xz
hercules-fcffb676132949852adfef2fd3f814485f964709.zip
Merge pull request #2142 from Helianthella/export2
allow local NPC functions to be public or private
Diffstat (limited to 'src/map/npc.h')
-rw-r--r--src/map/npc.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/map/npc.h b/src/map/npc.h
index 1585a2bc8..16d7a984b 100644
--- a/src/map/npc.h
+++ b/src/map/npc.h
@@ -56,9 +56,15 @@ enum npc_shop_types {
struct npc_timerevent_list {
int timer,pos;
};
+
+/** list of labels within a NPC (used internally by the label db) */
struct npc_label_list {
+ /** label name */
char name[NAME_LENGTH];
+ /** start point within the script */
int pos;
+ /** optional label flags */
+ enum script_label_flags flags;
};
struct npc_barter_currency {