summaryrefslogtreecommitdiff
path: root/src/gui/serverdialog.h
diff options
context:
space:
mode:
authorStefan Dombrowski <stefan@uni-bonn.de>2010-10-13 13:19:40 +0200
committerStefan Dombrowski <stefan@uni-bonn.de>2010-10-13 13:19:40 +0200
commitf9ca4759d3dab9515bc3c1cb9b7e2bac97d1f71f (patch)
treec9eb60e198e72813e3aa946cb4ca9d7468b667ff /src/gui/serverdialog.h
parent10d32e687d49e69dbf7ee9cff9a2e52a832326ab (diff)
downloadmana-f9ca4759d3dab9515bc3c1cb9b7e2bac97d1f71f.tar.gz
mana-f9ca4759d3dab9515bc3c1cb9b7e2bac97d1f71f.tar.bz2
mana-f9ca4759d3dab9515bc3c1cb9b7e2bac97d1f71f.tar.xz
mana-f9ca4759d3dab9515bc3c1cb9b7e2bac97d1f71f.zip
Hiding Manaserv from the player on TMW-Athena only release
With the preprocessor definition MANASERV_SUPPORT the manaserv support is avaible as before. * Removing server type from server dialog GUI. * Ignoring Manaserv entries in serverlist.xml. * In order not to lose Manaserv CustomServers from the config.xml, they get stored in mManaservServers. * The entries in mManaservServers are saved in config.xml again. But they are now behind the TMWA-Athena servers. * For custom server the GUI sets 6901 as default value for port. * If the server type is unknown, then we use TMW-Athena. This is relevant, if the client is started with command line options for server. Reviewed-by: Bertram
Diffstat (limited to 'src/gui/serverdialog.h')
-rw-r--r--src/gui/serverdialog.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gui/serverdialog.h b/src/gui/serverdialog.h
index ed733f9c..aae8b2e0 100644
--- a/src/gui/serverdialog.h
+++ b/src/gui/serverdialog.h
@@ -191,6 +191,9 @@ class ServerDialog : public Window,
float mDownloadProgress;
ServerInfos mServers;
+#ifndef MANASERV_SUPPORT
+ ServerInfos mManaservServers;
+#endif
ServerInfo *mServerInfo;
};