preparing 0.7 beta 1

This commit is contained in:
doitux
2009-04-05 21:26:36 +00:00
parent 607000dd91
commit 9ee97cb80b
3 changed files with 8 additions and 5 deletions
+1 -1
View File
@@ -33,7 +33,7 @@
#define POKERTH_VERSION ((POKERTH_VERSION_MAJOR << 8) | POKERTH_VERSION_MINOR) #define POKERTH_VERSION ((POKERTH_VERSION_MAJOR << 8) | POKERTH_VERSION_MINOR)
#define POKERTH_BETA_REVISION 0 #define POKERTH_BETA_REVISION 0
#define POKERTH_BETA_RELEASE_STRING "0.6.5" #define POKERTH_BETA_RELEASE_STRING "0.7-beta1"
enum ServerNetworkMode { enum ServerNetworkMode {
NETWORK_MODE_TCP = 1, NETWORK_MODE_TCP = 1,
+1 -1
View File
@@ -68,7 +68,7 @@ startWindowImpl::startWindowImpl(ConfigFile *c)
// setWindowFlags(Qt::WindowSystemMenuHint | Qt::CustomizeWindowHint | Qt::Dialog); // setWindowFlags(Qt::WindowSystemMenuHint | Qt::CustomizeWindowHint | Qt::Dialog);
// #endif // #endif
setupUi(this); setupUi(this);
this->setWindowTitle(QString(tr("PokerTH %1 - The Open-Source Texas Holdem Engine").arg(POKERTH_BETA_RELEASE_STRING))); this->setWindowTitle(QString(tr("PokerTH %1").arg(POKERTH_BETA_RELEASE_STRING)));
//Widgets Grafiken per Stylesheets setzen //Widgets Grafiken per Stylesheets setzen
QString myAppDataPath = QString::fromUtf8(myConfig->readConfigString("AppDataDir").c_str()); QString myAppDataPath = QString::fromUtf8(myConfig->readConfigString("AppDataDir").c_str());
+6 -3
View File
@@ -175,10 +175,13 @@ void Session::startInternetClient()
myNetClient = new ClientThread(*myGui, *myAvatarManager); myNetClient = new ClientThread(*myGui, *myAvatarManager);
bool useAvatarServer = myConfig->readConfigInt("UseAvatarServer") != 0; bool useAvatarServer = myConfig->readConfigInt("UseAvatarServer") != 0;
myNetClient->Init( myNetClient->Init(
myConfig->readConfigString("InternetServerAddress"), myConfig->readConfigString("InternetServerAddress"), "pokerth.net/serverlist07.xml.z", 1,
myConfig->readConfigString("InternetServerListAddress"), //WARNING this is just for 0.7 beta to connect to testing server //////////////
myConfig->readConfigInt("InternetServerConfigMode") == 0, // myConfig->readConfigString("InternetServerListAddress"),
// myConfig->readConfigInt("InternetServerConfigMode") == 0,
///////////////////////////////////////////////////////////////////////////////
myConfig->readConfigInt("InternetServerPort"), myConfig->readConfigInt("InternetServerPort"),
myConfig->readConfigInt("InternetServerUseIpv6") == 1, myConfig->readConfigInt("InternetServerUseIpv6") == 1,
myConfig->readConfigInt("InternetServerUseSctp") == 1, myConfig->readConfigInt("InternetServerUseSctp") == 1,