complete integration of new cards value function with an additional auxiliary function; renaming some variables; comment old code

This commit is contained in:
floty
2014-06-12 02:24:59 +02:00
parent a2d7c2e916
commit b79c60e246
8 changed files with 830 additions and 839 deletions
+2 -1
View File
@@ -49,7 +49,7 @@ class CardsValue
public:
static int holeCardsClass(int, int);
static int cardsValueShort(int[4]);
static int cardsValue(int[4], int[4]);
static int cardsValue(int[4], int[4] = 0);
static KickerValue determineKickerValue(int, int, int);
static int cardsValueOld(int[7], int[5]);
static std::string determineHandName(int myCardsValueInt, PlayerList activePlayerList);
@@ -60,6 +60,7 @@ public:
static std::vector< std::vector<int> > calcCardsChance(GameState, int[2], int[5]);
static int bitcount(int in);
static int bestHandToPosition(int bestHand[4], int cardArray[7], int position[5]);
//static int** showdown(GameState, int**, int);
};