Preparing 0.8 release.
This commit is contained in:
+2
-2
@@ -32,8 +32,8 @@
|
|||||||
#define POKERTH_VERSION_MINOR 80
|
#define POKERTH_VERSION_MINOR 80
|
||||||
#define POKERTH_VERSION ((POKERTH_VERSION_MAJOR << 8) | POKERTH_VERSION_MINOR)
|
#define POKERTH_VERSION ((POKERTH_VERSION_MAJOR << 8) | POKERTH_VERSION_MINOR)
|
||||||
|
|
||||||
#define POKERTH_BETA_REVISION 3
|
#define POKERTH_BETA_REVISION 0
|
||||||
#define POKERTH_BETA_RELEASE_STRING "0.8-beta3"
|
#define POKERTH_BETA_RELEASE_STRING "0.8"
|
||||||
|
|
||||||
#define RANKING_GAME_START_CASH 10000
|
#define RANKING_GAME_START_CASH 10000
|
||||||
#define RANKING_GAME_NUMBER_OF_PLAYERS 10
|
#define RANKING_GAME_NUMBER_OF_PLAYERS 10
|
||||||
|
|||||||
@@ -160,6 +160,7 @@ ClientThread::SendPlayerAction()
|
|||||||
MyActionRequestMessage_t *netMyAction = &packet->GetMsg()->choice.myActionRequestMessage;
|
MyActionRequestMessage_t *netMyAction = &packet->GetMsg()->choice.myActionRequestMessage;
|
||||||
netMyAction->gameId = GetGameId();
|
netMyAction->gameId = GetGameId();
|
||||||
boost::shared_ptr<PlayerInterface> myPlayer = GetGame()->getSeatsList()->front();
|
boost::shared_ptr<PlayerInterface> myPlayer = GetGame()->getSeatsList()->front();
|
||||||
|
netMyAction->handNum = GetGame()->getCurrentHandID();
|
||||||
netMyAction->gameState = GetGame()->getCurrentHand()->getCurrentRound();
|
netMyAction->gameState = GetGame()->getCurrentHand()->getCurrentRound();
|
||||||
netMyAction->myAction = myPlayer->getMyAction();
|
netMyAction->myAction = myPlayer->getMyAction();
|
||||||
// Only send last bet if not fold/checked.
|
// Only send last bet if not fold/checked.
|
||||||
|
|||||||
+1
-1
@@ -27,7 +27,7 @@
|
|||||||
#include <third_party/asn1/PokerTHMessage.h>
|
#include <third_party/asn1/PokerTHMessage.h>
|
||||||
#include <gamedata.h>
|
#include <gamedata.h>
|
||||||
|
|
||||||
#define NET_VERSION_MAJOR 6
|
#define NET_VERSION_MAJOR 1
|
||||||
#define NET_VERSION_MINOR 0
|
#define NET_VERSION_MINOR 0
|
||||||
|
|
||||||
#define MAX_FILE_DATA_SIZE 256
|
#define MAX_FILE_DATA_SIZE 256
|
||||||
|
|||||||
@@ -165,12 +165,8 @@ void Session::startInternetClient()
|
|||||||
|
|
||||||
myNetClient->Init(
|
myNetClient->Init(
|
||||||
myConfig->readConfigString("InternetServerAddress"),
|
myConfig->readConfigString("InternetServerAddress"),
|
||||||
#ifdef POKERTH_IS_08BETA
|
|
||||||
"pokerth.net/serverlist_testing.xml.z", 1,
|
|
||||||
#else
|
|
||||||
myConfig->readConfigString("InternetServerListAddress"),
|
myConfig->readConfigString("InternetServerListAddress"),
|
||||||
myConfig->readConfigInt("InternetServerConfigMode") == 0,
|
myConfig->readConfigInt("InternetServerConfigMode") == 0,
|
||||||
#endif
|
|
||||||
myConfig->readConfigInt("InternetServerPort"),
|
myConfig->readConfigInt("InternetServerPort"),
|
||||||
myConfig->readConfigInt("InternetServerUseIpv6") == 1,
|
myConfig->readConfigInt("InternetServerUseIpv6") == 1,
|
||||||
myConfig->readConfigInt("InternetServerUseSctp") == 1,
|
myConfig->readConfigInt("InternetServerUseSctp") == 1,
|
||||||
|
|||||||
@@ -29,9 +29,6 @@
|
|||||||
#include "game_defs.h"
|
#include "game_defs.h"
|
||||||
#include <core/crypthelper.h>
|
#include <core/crypthelper.h>
|
||||||
|
|
||||||
//uncomment for 0.8 beta
|
|
||||||
#define POKERTH_IS_08BETA
|
|
||||||
|
|
||||||
|
|
||||||
class GuiInterface;
|
class GuiInterface;
|
||||||
class Game;
|
class Game;
|
||||||
|
|||||||
Reference in New Issue
Block a user