This commit is contained in:
doitux
2007-01-21 00:14:35 +00:00
parent 64dcce5b65
commit 387ee11a14
3 changed files with 20 additions and 3 deletions
+9 -3
View File
@@ -11,7 +11,9 @@ FORMS += mainwindow.ui \
aboutpokerth.ui \
newgamedialog.ui \
settingsdialog.ui
HEADERS += mainwindowimpl.h \
HEADERS += tinystr.h \
tinyxml.h \
mainwindowimpl.h \
newgamedialogimpl.h \
aboutpokerthimpl.h \
settingsdialogimpl.h \
@@ -41,6 +43,10 @@ HEADERS += mainwindowimpl.h \
localenginefactory.h
SOURCES += pokerth.cpp \
tinystr.cpp \
tinyxml.cpp \
tinyxmlerror.cpp \
tinyxmlparser.cpp \
mainwindowimpl.cpp \
newgamedialogimpl.cpp \
aboutpokerthimpl.cpp \
@@ -72,8 +78,8 @@ SOURCES += pokerth.cpp \
RESOURCES = src/gui/qt/deck.qrc
TEMPLATE = app
DEPENDPATH += . src uics src/gui src/gui/qt src/engine src/engine/local_engine src/engine/network_engine
INCLUDEPATH += . src uics src/gui src/gui/qt src/engine src/engine/local_engine src/engine/network_engine
DEPENDPATH += . src uics src/gui src/gui/qt src/engine src/engine/local_engine src/engine/network_engine src/tinyxml
INCLUDEPATH += . src uics src/gui src/gui/qt src/engine src/engine/local_engine src/engine/network_engine src/tinyxml
CONFIG += qt release
UI_DIR = uics
TARGET = bin/pokerth
+8
View File
@@ -60,7 +60,13 @@ public:
void setActualHandID(const int& theValue) { actualHandID = theValue; }
int getActualHandID() const { return actualHandID; }
void setRoundsToRaiseSmallBlind(const int& theValue) { roundsToRaiseSmallBlind = theValue; }
int getRoundsToRaiseSmallBlind() const { return roundsToRaiseSmallBlind; }
void startHand();
@@ -83,6 +89,8 @@ private:
int actualHandID;
int dealerPosition;
int roundsToRaiseSmallBlind;
};
+3
View File
@@ -20,6 +20,7 @@
#include "session.h"
#include "game.h"
#include "guiinterface.h"
#include "tinyxml.h"
using namespace std;
@@ -31,6 +32,8 @@ Session::Session(GuiInterface* g) : actualGame(0), myGui(g)
// Session an mainwindowimpl bergeben
myGui->setSession(this);
//Konfiguration erstellen;
}