This commit is contained in:
doitux
2007-06-16 22:08:52 +00:00
parent 9aaca43608
commit 1e493a8276
17 changed files with 134 additions and 67 deletions
@@ -286,4 +286,4 @@ void joinNetworkGameDialogImpl::checkIp() {
//remove whitespaces
QString tmp = lineEdit_ipAddress->text();
lineEdit_ipAddress->setText(tmp.remove(" "));
}
}
+1 -1
View File
@@ -57,7 +57,7 @@
using namespace std;
mainWindowImpl::mainWindowImpl(ConfigFile *c, QMainWindow *parent)
: QMainWindow(parent), myConfig(c), gameSpeed(0), myActionIsBet(0), myActionIsRaise(0), debugMode(0), breakAfterActualHand(FALSE)
: QMainWindow(parent), myConfig(c), gameSpeed(0), myActionIsBet(0), myActionIsRaise(0), debugMode(1), breakAfterActualHand(FALSE)
{
int i;
+1
View File
@@ -28,3 +28,4 @@ std::string QtHelper::stringToUtf8(const std::string &myString) {
return myUtf8String;
}
std::string QtHelper::getDefaultLanguage() { return QLocale::system().name().toStdString(); }
+1
View File
@@ -23,6 +23,7 @@ public:
~QtHelper();
std::string stringToUtf8(const std::string &);
std::string getDefaultLanguage();
};
+1 -1
View File
@@ -37,4 +37,4 @@ QtToolsWrapper::~QtToolsWrapper()
}
std::string QtToolsWrapper::stringToUtf8(const std::string &myString) { return myQtHelper->stringToUtf8(myString); }
std::string QtToolsWrapper::getDefaultLanguage() { return myQtHelper->getDefaultLanguage(); }
+1
View File
@@ -35,6 +35,7 @@ public:
~QtToolsWrapper();
std::string stringToUtf8(const std::string &myString);
std::string getDefaultLanguage();
private:
Binary file not shown.
Binary file not shown.
+6 -6
View File
@@ -60,17 +60,17 @@ void SDLPlayer::playSound(string audioString, int playerID) {
switch (playerID) {
case 0: { position = 180; distance = 30; }
case 0: { position = 180; distance = 10; }
break;
case 1: { position = 281; distance = 40; }
case 1: { position = 281; distance = 30; }
break;
case 2: { position = 315; distance = 80; }
case 2: { position = 315; distance = 90; }
break;
case 3: { position = 338; distance = 100; }
case 3: { position = 338; distance = 130; }
break;
case 4: { position = 23; distance = 100; }
case 4: { position = 23; distance = 130; }
break;
case 5: { position = 45; distance = 80; }
case 5: { position = 45; distance = 90; }
break;
case 6: { position = 79; distance = 30; }
break;
+1
View File
@@ -28,6 +28,7 @@ public:
//qthelper.cpp
virtual std::string stringToUtf8(const std::string &) =0;
virtual std::string getDefaultLanguage() =0;
};