summaryrefslogtreecommitdiff
path: root/src/map/script.h
diff options
context:
space:
mode:
authorgumi <git@gumi.ca>2020-05-02 19:44:23 -0400
committergumi <git@gumi.ca>2020-05-03 11:53:39 -0400
commitd76acf9559d6d5a1dbf060328f13e623dd7f2683 (patch)
tree13631997a01a071bec60111898f38347b15b4ab2 /src/map/script.h
parentba1e1bac73327935eba6b36ef11d8c309bd1e0e4 (diff)
downloadhercules-d76acf9559d6d5a1dbf060328f13e623dd7f2683.tar.gz
hercules-d76acf9559d6d5a1dbf060328f13e623dd7f2683.tar.bz2
hercules-d76acf9559d6d5a1dbf060328f13e623dd7f2683.tar.xz
hercules-d76acf9559d6d5a1dbf060328f13e623dd7f2683.zip
document script_label_entry
Diffstat (limited to 'src/map/script.h')
-rw-r--r--src/map/script.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/map/script.h b/src/map/script.h
index 5a031e9f5..89759db30 100644
--- a/src/map/script.h
+++ b/src/map/script.h
@@ -727,9 +727,13 @@ struct str_data_struct {
uint8 deprecated : 1;
};
+/** a label within a script (does not use the label db) */
struct script_label_entry {
+ /** label name (held within str_data) */
int key;
+ /** position within the script */
int pos;
+ /** optional flags for the label */
enum script_label_flags flags;
};