summaryrefslogtreecommitdiff
path: root/src/common/mmo.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2018-08-22 01:26:00 +0300
committerAndrei Karas <akaras@inbox.ru>2018-08-25 00:37:54 +0300
commit05af69b6dcdc5fddac4da8ebfdd2ff9036e41c90 (patch)
tree6ceab1bde0bfd7f43ff8bf917452c54d31f5fae9 /src/common/mmo.h
parentbf6b8a0ccfb3f0b35aec9b0ae833327ab5cbf405 (diff)
downloadhercules-05af69b6dcdc5fddac4da8ebfdd2ff9036e41c90.tar.gz
hercules-05af69b6dcdc5fddac4da8ebfdd2ff9036e41c90.tar.bz2
hercules-05af69b6dcdc5fddac4da8ebfdd2ff9036e41c90.tar.xz
hercules-05af69b6dcdc5fddac4da8ebfdd2ff9036e41c90.zip
Add support for build for SAK clients.
Add configure flag --enable-packetver-sak Add defines for SAK into mmo.h Add messages list for SAK clients.
Diffstat (limited to 'src/common/mmo.h')
-rw-r--r--src/common/mmo.h14
1 files changed, 13 insertions, 1 deletions
diff --git a/src/common/mmo.h b/src/common/mmo.h
index 7e0d915eb..7f9e7b13d 100644
--- a/src/common/mmo.h
+++ b/src/common/mmo.h
@@ -81,7 +81,14 @@
#undef ENABLE_PACKETVER_ZERO
#endif // DISABLE_PACKETVER_ZERO
-#if !defined(PACKETVER_RE) && !defined(PACKETVER_ZERO)
+//Uncomment the following line if your client is sakexe
+//#define ENABLE_PACKETVER_SAK
+#ifdef ENABLE_PACKETVER_SAK
+ #define PACKETVER_SAK
+ #undef ENABLE_PACKETVER_SAK
+#endif // DISABLE_PACKETVER_SAK
+
+#if !defined(PACKETVER_RE) && !defined(PACKETVER_ZERO) && !defined(PACKETVER_SAK)
#define PACKETVER_MAIN_NUM PACKETVER
#else
#define PACKETVER_MAIN_NUM 0
@@ -96,6 +103,11 @@
#else
#define PACKETVER_ZERO_NUM 0
#endif
+#ifdef PACKETVER_SAK
+ #define PACKETVER_SAK_NUM PACKETVER
+#else
+ #define PACKETVER_SAK_NUM 0
+#endif
// Client support for experimental RagexeRE UI present in 2012-04-10 and 2012-04-18
#if defined(PACKETVER_RE) && ( PACKETVER == 20120410 || PACKETVER == 20120418 )