summaryrefslogtreecommitdiff
path: root/src/map/npc.h
diff options
context:
space:
mode:
authorgumi <git@gumi.ca>2020-05-02 18:58:55 -0400
committergumi <git@gumi.ca>2020-05-03 11:53:38 -0400
commitba1e1bac73327935eba6b36ef11d8c309bd1e0e4 (patch)
tree9b2062a1483b199145e00039715c786c498f2332 /src/map/npc.h
parentb12f1ff8be37346ec70ab50447c8f03bd9a990e1 (diff)
downloadhercules-ba1e1bac73327935eba6b36ef11d8c309bd1e0e4.tar.gz
hercules-ba1e1bac73327935eba6b36ef11d8c309bd1e0e4.tar.bz2
hercules-ba1e1bac73327935eba6b36ef11d8c309bd1e0e4.tar.xz
hercules-ba1e1bac73327935eba6b36ef11d8c309bd1e0e4.zip
document npc_label_list
Diffstat (limited to 'src/map/npc.h')
-rw-r--r--src/map/npc.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/map/npc.h b/src/map/npc.h
index a73a3ae06..16d7a984b 100644
--- a/src/map/npc.h
+++ b/src/map/npc.h
@@ -56,9 +56,14 @@ 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;
};