first steps on #140 - needs testing. switch to hardcoded testing server for 1.0 beta

This commit is contained in:
doitux
2012-12-07 11:17:07 +01:00
parent cebbc667e1
commit 79d449c65f
4 changed files with 37 additions and 16 deletions
+6 -5
View File
@@ -90,7 +90,8 @@ void Session::startLocalGame(const GameData &gameData, const StartData &startDat
myGameType = GAME_TYPE_LOCAL;
currentGame.reset();
currentGameNum++;
currentGameNum++;
myGui->initGui(gameData.guiSpeed);
@@ -175,11 +176,11 @@ void Session::startInternetClient()
myNetClient->Init(
myConfig->readConfigString("InternetServerAddress"),
myConfig->readConfigString("InternetServerListAddress"),
// "pokerth.net/serverlist_testing.xml.z",
// myConfig->readConfigString("InternetServerListAddress"),
"pokerth.net/serverlist_testing.xml.z",
myConfig->readConfigString("ServerPassword"),
myConfig->readConfigInt("InternetServerConfigMode") == 0,
// true,
// myConfig->readConfigInt("InternetServerConfigMode") == 0,
true,
myConfig->readConfigInt("InternetServerPort"),
myConfig->readConfigInt("InternetServerUseIpv6") == 1,
myConfig->readConfigInt("InternetServerUseSctp") == 1,