diff options
author | Andrei Karas <akaras@inbox.ru> | 2016-09-08 21:04:27 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2016-09-12 01:03:20 +0300 |
commit | b6690d7bb05e75d28891f360f42e0dfe19ea0904 (patch) | |
tree | 0411ca4d1eebaba5cb1f008f7a21f5360d3f3aba /src/map/script.h | |
parent | 08de021655e1d032db5efa74f3da8f2d8b1efe99 (diff) | |
download | hercules-b6690d7bb05e75d28891f360f42e0dfe19ea0904.tar.gz hercules-b6690d7bb05e75d28891f360f42e0dfe19ea0904.tar.bz2 hercules-b6690d7bb05e75d28891f360f42e0dfe19ea0904.tar.xz hercules-b6690d7bb05e75d28891f360f42e0dfe19ea0904.zip |
Add script command navigateto. Add packet for this command.
Based on rAthena commits:
commit 4f13007fec7f08c265620a71c3bc4806d186c0f1
Author: Lemongrass3110 <lemongrass@kstp.at>
Date: Sun Mar 6 21:48:47 2016 +0100
commit 809f220b9f5ef70ee062ee56ae6e8d5f56cb5d32
Author: aleos89 <aleos89@users.noreply.github.com>
Date: Sun Mar 6 16:15:54 2016 -0500
commit 179f73424934d528ebe494dfb66503c182eacb09
Author: aleos89 <aleos89@users.noreply.github.com>
Date: Sun Mar 6 16:10:15 2016 -0500
Diffstat (limited to 'src/map/script.h')
-rw-r--r-- | src/map/script.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/map/script.h b/src/map/script.h index c4c082263..a69000991 100644 --- a/src/map/script.h +++ b/src/map/script.h @@ -338,6 +338,17 @@ enum { MF_NOVIEWID }; +enum navigation_service { + NAV_NONE = 0, + NAV_AIRSHIP_ONLY = 1, + NAV_SCROLL_ONLY = 10, + NAV_AIRSHIP_AND_SCROLL = NAV_AIRSHIP_ONLY + NAV_SCROLL_ONLY, //11 + NAV_KAFRA_ONLY = 100, + NAV_KAFRA_AND_AIRSHIP = NAV_KAFRA_ONLY + NAV_AIRSHIP_ONLY, // 101 + NAV_KAFRA_AND_SCROLL = NAV_KAFRA_ONLY + NAV_SCROLL_ONLY, // 110 + NAV_ALL = NAV_AIRSHIP_ONLY + NAV_SCROLL_ONLY + NAV_KAFRA_ONLY // 111-255 +}; + /** * Structures **/ |