summaryrefslogtreecommitdiff
path: root/src/map/messages.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2018-05-13 04:50:16 +0300
committerAndrei Karas <akaras@inbox.ru>2018-05-29 05:01:37 +0300
commit031cdbe5b3f108d7a732c230d061c567de723a75 (patch)
treece23cf4125616c8c9cf2c9cea5b7cdaef03f3e00 /src/map/messages.h
parent73b971c66f460f5a1dcb600097b2551434f8726f (diff)
downloadhercules-031cdbe5b3f108d7a732c230d061c567de723a75.tar.gz
hercules-031cdbe5b3f108d7a732c230d061c567de723a75.tar.bz2
hercules-031cdbe5b3f108d7a732c230d061c567de723a75.tar.xz
hercules-031cdbe5b3f108d7a732c230d061c567de723a75.zip
Add autogenerated messages list headers with original strings and translation.
Also add packet version checks for used messages.
Diffstat (limited to 'src/map/messages.h')
-rw-r--r--src/map/messages.h32
1 files changed, 32 insertions, 0 deletions
diff --git a/src/map/messages.h b/src/map/messages.h
new file mode 100644
index 000000000..fa80b835f
--- /dev/null
+++ b/src/map/messages.h
@@ -0,0 +1,32 @@
+/**
+ * This file is part of Hercules.
+ * http://herc.ws - http://github.com/HerculesWS/Hercules
+ *
+ * Copyright (C) 2012-2016 Hercules Dev Team
+ * Copyright (C) Athena Dev Teams
+ *
+ * Hercules is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ */
+#ifndef MAP_MESSAGES_H
+#define MAP_MESSAGES_H
+
+#if defined(PACKETVER_ZERO)
+#include "map/messages_zero.h"
+#elif defined(PACKETVER_RE)
+#include "map/messages_re.h"
+#else
+#include "map/messages_main.h"
+#endif
+
+#endif /* MAP_MESSAGES_H */