summaryrefslogtreecommitdiff
path: root/src/main.h
diff options
context:
space:
mode:
authorDaniel Bradshaw <daniel+commits@the-cell.co.uk>2010-01-31 13:14:07 +0000
committerThorbjørn Lindeijer <thorbjorn@lindeijer.nl>2010-01-31 17:50:29 +0100
commit2ff6ad2e8a67bd8ef34b56b866ef277c30135f19 (patch)
tree536497f63044441a6e8032209446d1c3213b9d55 /src/main.h
parent22c75a346e029fad746b6aa0b123c886ddeb5c75 (diff)
downloadmana-2ff6ad2e8a67bd8ef34b56b866ef277c30135f19.tar.gz
mana-2ff6ad2e8a67bd8ef34b56b866ef277c30135f19.tar.bz2
mana-2ff6ad2e8a67bd8ef34b56b866ef277c30135f19.tar.xz
mana-2ff6ad2e8a67bd8ef34b56b866ef277c30135f19.zip
Unify eAthena and manaserv support in to one build.
Finish support for server types in the server dialog. Using the new server type function, strip out ifdefs, replacing them with if blocks for later merging in smaller atomic commits. Remove any remaining references to the support defs, including in build system.
Diffstat (limited to 'src/main.h')
-rw-r--r--src/main.h16
1 files changed, 4 insertions, 12 deletions
diff --git a/src/main.h b/src/main.h
index ca2612e2..6cd43866 100644
--- a/src/main.h
+++ b/src/main.h
@@ -65,16 +65,10 @@
#include <string>
-#ifdef MANASERV_SUPPORT
-#define SERVER_BUILD "manaserv"
-#else
-#define SERVER_BUILD "eAthena"
-#endif
-
#ifdef PACKAGE_VERSION
-#define FULL_VERSION "v" PACKAGE_VERSION " (" SERVER_BUILD ")"
+#define FULL_VERSION "v" PACKAGE_VERSION
#else
-#define FULL_VERSION "Unknown Version (" SERVER_BUILD ")"
+#define FULL_VERSION "Unknown Version"
#endif
#ifndef PKG_DATADIR
@@ -83,11 +77,9 @@
#define MAX_CHARACTER_COUNT 3
-#ifdef MANASERV_SUPPORT
-#define DEFAULT_PORT 9601
-#else
+//manaserv uses 9601
+//#define DEFAULT_PORT 9601
#define DEFAULT_PORT 6901
-#endif
const std::string &getHomeDirectory();