This commit is contained in:
+9
-3
@@ -11,7 +11,9 @@ FORMS += mainwindow.ui \
|
|||||||
aboutpokerth.ui \
|
aboutpokerth.ui \
|
||||||
newgamedialog.ui \
|
newgamedialog.ui \
|
||||||
settingsdialog.ui
|
settingsdialog.ui
|
||||||
HEADERS += mainwindowimpl.h \
|
HEADERS += tinystr.h \
|
||||||
|
tinyxml.h \
|
||||||
|
mainwindowimpl.h \
|
||||||
newgamedialogimpl.h \
|
newgamedialogimpl.h \
|
||||||
aboutpokerthimpl.h \
|
aboutpokerthimpl.h \
|
||||||
settingsdialogimpl.h \
|
settingsdialogimpl.h \
|
||||||
@@ -41,6 +43,10 @@ HEADERS += mainwindowimpl.h \
|
|||||||
localenginefactory.h
|
localenginefactory.h
|
||||||
|
|
||||||
SOURCES += pokerth.cpp \
|
SOURCES += pokerth.cpp \
|
||||||
|
tinystr.cpp \
|
||||||
|
tinyxml.cpp \
|
||||||
|
tinyxmlerror.cpp \
|
||||||
|
tinyxmlparser.cpp \
|
||||||
mainwindowimpl.cpp \
|
mainwindowimpl.cpp \
|
||||||
newgamedialogimpl.cpp \
|
newgamedialogimpl.cpp \
|
||||||
aboutpokerthimpl.cpp \
|
aboutpokerthimpl.cpp \
|
||||||
@@ -72,8 +78,8 @@ SOURCES += pokerth.cpp \
|
|||||||
|
|
||||||
RESOURCES = src/gui/qt/deck.qrc
|
RESOURCES = src/gui/qt/deck.qrc
|
||||||
TEMPLATE = app
|
TEMPLATE = app
|
||||||
DEPENDPATH += . 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
|
INCLUDEPATH += . src uics src/gui src/gui/qt src/engine src/engine/local_engine src/engine/network_engine src/tinyxml
|
||||||
CONFIG += qt release
|
CONFIG += qt release
|
||||||
UI_DIR = uics
|
UI_DIR = uics
|
||||||
TARGET = bin/pokerth
|
TARGET = bin/pokerth
|
||||||
|
|||||||
@@ -60,7 +60,13 @@ public:
|
|||||||
void setActualHandID(const int& theValue) { actualHandID = theValue; }
|
void setActualHandID(const int& theValue) { actualHandID = theValue; }
|
||||||
int getActualHandID() const { return actualHandID; }
|
int getActualHandID() const { return actualHandID; }
|
||||||
|
|
||||||
|
void setRoundsToRaiseSmallBlind(const int& theValue) { roundsToRaiseSmallBlind = theValue; }
|
||||||
|
int getRoundsToRaiseSmallBlind() const { return roundsToRaiseSmallBlind; }
|
||||||
|
|
||||||
void startHand();
|
void startHand();
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@@ -83,6 +89,8 @@ private:
|
|||||||
int actualHandID;
|
int actualHandID;
|
||||||
int dealerPosition;
|
int dealerPosition;
|
||||||
|
|
||||||
|
int roundsToRaiseSmallBlind;
|
||||||
|
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
@@ -20,6 +20,7 @@
|
|||||||
#include "session.h"
|
#include "session.h"
|
||||||
#include "game.h"
|
#include "game.h"
|
||||||
#include "guiinterface.h"
|
#include "guiinterface.h"
|
||||||
|
#include "tinyxml.h"
|
||||||
|
|
||||||
using namespace std;
|
using namespace std;
|
||||||
|
|
||||||
@@ -31,6 +32,8 @@ Session::Session(GuiInterface* g) : actualGame(0), myGui(g)
|
|||||||
// Session an mainwindowimpl bergeben
|
// Session an mainwindowimpl bergeben
|
||||||
myGui->setSession(this);
|
myGui->setSession(this);
|
||||||
|
|
||||||
|
//Konfiguration erstellen;
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user