summaryrefslogtreecommitdiff
path: root/src/map/script.h
diff options
context:
space:
mode:
authorgumi <git@gumi.ca>2018-10-11 18:24:20 -0400
committergumi <git@gumi.ca>2018-10-11 19:17:08 -0400
commit5c59f230d982a2e0201956a6f9f853253b9f3c5f (patch)
tree80f33f1f81da54249ef8c4ade5179c1e5ff33605 /src/map/script.h
parente3df7d8ebda36542c477beba281dfc3f9c737af4 (diff)
downloadhercules-5c59f230d982a2e0201956a6f9f853253b9f3c5f.tar.gz
hercules-5c59f230d982a2e0201956a6f9f853253b9f3c5f.tar.bz2
hercules-5c59f230d982a2e0201956a6f9f853253b9f3c5f.tar.xz
hercules-5c59f230d982a2e0201956a6f9f853253b9f3c5f.zip
add constants for max menu length and options
Diffstat (limited to 'src/map/script.h')
-rw-r--r--src/map/script.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/map/script.h b/src/map/script.h
index f05eb802c..e4570ff97 100644
--- a/src/map/script.h
+++ b/src/map/script.h
@@ -64,6 +64,9 @@ struct item_data;
#define SCRIPT_EQUIP_TABLE_SIZE 20
+#define MAX_MENU_OPTIONS 0xFF
+#define MAX_MENU_LENGTH 0x800
+
//#define SCRIPT_DEBUG_DISP
//#define SCRIPT_DEBUG_DISASM
//#define SCRIPT_DEBUG_HASH