calcHandsChance

This commit is contained in:
floty
2008-10-17 09:49:36 +00:00
parent 77a66b310d
commit dae1eb1605
2 changed files with 102 additions and 101 deletions
+2
View File
@@ -99,6 +99,7 @@ HEADERS += \
src/engine/local_engine/tools.h \ src/engine/local_engine/tools.h \
src/engine/local_engine/localbero.h \ src/engine/local_engine/localbero.h \
src/engine/local_engine/localexception.h \ src/engine/local_engine/localexception.h \
src/engine/local_engine/arraydata.h \
src/engine/network_engine/clientboard.h \ src/engine/network_engine/clientboard.h \
src/engine/network_engine/clientenginefactory.h \ src/engine/network_engine/clientenginefactory.h \
src/engine/network_engine/clienthand.h \ src/engine/network_engine/clienthand.h \
@@ -140,6 +141,7 @@ SOURCES += \
src/engine/local_engine/tools.cpp \ src/engine/local_engine/tools.cpp \
src/engine/local_engine/localbero.cpp \ src/engine/local_engine/localbero.cpp \
src/engine/local_engine/localexception.cpp \ src/engine/local_engine/localexception.cpp \
src/engine/local_engine/arraydata.cpp \
src/engine/network_engine/clientboard.cpp \ src/engine/network_engine/clientboard.cpp \
src/engine/network_engine/clientenginefactory.cpp \ src/engine/network_engine/clientenginefactory.cpp \
src/engine/network_engine/clienthand.cpp \ src/engine/network_engine/clienthand.cpp \
+19 -20
View File
@@ -1,7 +1,7 @@
# QMake pro-file for the PokerTH dedicated server # QMake pro-file for the PokerTH dedicated server
isEmpty( PREFIX ) { isEmpty( PREFIX ){
PREFIX=/usr PREFIX =/usr
} }
TEMPLATE = app TEMPLATE = app
@@ -125,12 +125,12 @@ win32 {
LIBS += -lpokerth_lib LIBS += -lpokerth_lib
win32-msvc2005{ win32-msvc2005 {
LIBS += -llibgnutls-openssl -llibgcrypt LIBS += -llibgnutls-openssl -llibgcrypt
LIBS += -llibcurl LIBS += -llibcurl
} }
win32-g++{ win32-g++ {
LIBS += -lgnutls-openssl -lgnutls -lgcrypt -ltasn1 -lgpg-error LIBS += -lgnutls-openssl -lgnutls -lgcrypt -ltasn1 -lgpg-error
LIBS += -lcurl LIBS += -lcurl
LIBS += -lz LIBS += -lz
@@ -169,28 +169,28 @@ unix : !mac {
BOOST_PROGRAM_OPTIONS = boost_program_options boost_program_options-mt BOOST_PROGRAM_OPTIONS = boost_program_options boost_program_options-mt
BOOST_IOSTREAMS = boost_iostreams boost_iostreams-mt BOOST_IOSTREAMS = boost_iostreams boost_iostreams-mt
for(dir, LIB_DIRS) { for(dir, LIB_DIRS){
exists($$dir) { exists($$dir){
for(lib, BOOST_THREAD) { for(lib, BOOST_THREAD){
exists($${dir}/lib$${lib}.so*) { exists($${dir}/lib$${lib}.so*){
message("Found $$lib") message("Found $$lib")
BOOST_THREAD = -l$$lib BOOST_THREAD = -l$$lib
} }
} }
for(lib, BOOST_FS) { for(lib, BOOST_FS){
exists($${dir}/lib$${lib}.so*) { exists($${dir}/lib$${lib}.so*){
message("Found $$lib") message("Found $$lib")
BOOST_FS = -l$$lib BOOST_FS = -l$$lib
} }
} }
for(lib, BOOST_PROGRAM_OPTIONS) { for(lib, BOOST_PROGRAM_OPTIONS){
exists($${dir}/lib$${lib}.so*) { exists($${dir}/lib$${lib}.so*){
message("Found $$lib") message("Found $$lib")
BOOST_PROGRAM_OPTIONS = -l$$lib BOOST_PROGRAM_OPTIONS = -l$$lib
} }
} }
for(lib, BOOST_IOSTREAMS) { for(lib, BOOST_IOSTREAMS){
exists($${dir}/lib$${lib}.so*) { exists($${dir}/lib$${lib}.so*){
message("Found $$lib") message("Found $$lib")
BOOST_IOSTREAMS = -l$$lib BOOST_IOSTREAMS = -l$$lib
} }
@@ -198,9 +198,8 @@ unix : !mac {
} }
} }
BOOST_LIBS = $$BOOST_THREAD $$BOOST_FS $$BOOST_PROGRAM_OPTIONS $$BOOST_IOSTREAMS BOOST_LIBS = $$BOOST_THREAD $$BOOST_FS $$BOOST_PROGRAM_OPTIONS $$BOOST_IOSTREAMS
!count(BOOST_LIBS, 4) { !count(BOOST_LIBS, 4){
error("could not locate required library: \ error( libboost (version >= 1.34.1) --> http://www.boost.org/")
libboost (version >= 1.34.1) --> http://www.boost.org/")
} }
UNAME = $$system(uname -s) UNAME = $$system(uname -s)
@@ -209,7 +208,7 @@ unix : !mac {
LIBS += -lpokerth_lib LIBS += -lpokerth_lib
LIBS += $$BOOST_LIBS LIBS += $$BOOST_LIBS
LIBS += -lcurl LIBS += -lcurl
!isEmpty( BSD ) { !isEmpty( BSD ){
LIBS += -lcrypto -liconv LIBS += -lcrypto -liconv
} else { } else {
LIBS += -lgnutls-openssl -lgcrypt LIBS += -lgnutls-openssl -lgcrypt
@@ -223,9 +222,9 @@ unix : !mac {
binary.files += pokerth_server binary.files += pokerth_server
INSTALLS += binary INSTALLS += binary
} }
mac{ mac {
# make it universal # make it universal
CONFIG += x86 CONFIG += x86
CONFIG += ppc CONFIG += ppc