summaryrefslogtreecommitdiff
path: root/src/common/version.cpp
diff options
context:
space:
mode:
authorBen Longbons <b.r.longbons@gmail.com>2013-09-29 19:54:02 -0700
committerBen Longbons <b.r.longbons@gmail.com>2013-09-30 17:23:30 -0700
commit9f438b1bccca459e484560232e5b6e7dfdbacd61 (patch)
treeb8984d62a6efc36754477d3e4b16ff9fc2eef827 /src/common/version.cpp
parent7f2a6be58f6c100a8784e5cbca884108160c0f48 (diff)
downloadtmwa-9f438b1bccca459e484560232e5b6e7dfdbacd61.tar.gz
tmwa-9f438b1bccca459e484560232e5b6e7dfdbacd61.tar.bz2
tmwa-9f438b1bccca459e484560232e5b6e7dfdbacd61.tar.xz
tmwa-9f438b1bccca459e484560232e5b6e7dfdbacd61.zip
Automatically generate version information
Diffstat (limited to 'src/common/version.cpp')
-rw-r--r--src/common/version.cpp28
1 files changed, 28 insertions, 0 deletions
diff --git a/src/common/version.cpp b/src/common/version.cpp
new file mode 100644
index 0000000..7f4a0f2
--- /dev/null
+++ b/src/common/version.cpp
@@ -0,0 +1,28 @@
+#include "version.hpp"
+
+#include "../conf/version.hpp"
+
+Version CURRENT_LOGIN_SERVER_VERSION =
+{
+ VERSION_MAJOR, VERSION_MINOR, VERSION_PATCH,
+ VERSION_DEVEL,
+
+ 0, TMWA_SERVER_LOGIN,
+ VENDOR_VERSION,
+};
+Version CURRENT_CHAR_SERVER_VERSION =
+{
+ VERSION_MAJOR, VERSION_MINOR, VERSION_PATCH,
+ VERSION_DEVEL,
+
+ 0, TMWA_SERVER_CHAR | TMWA_SERVER_INTER,
+ VENDOR_VERSION,
+};
+Version CURRENT_MAP_SERVER_VERSION =
+{
+ VERSION_MAJOR, VERSION_MINOR, VERSION_PATCH,
+ VERSION_DEVEL,
+
+ 0, TMWA_SERVER_MAP,
+ VENDOR_VERSION,
+};