adds activePlayerList and runningPlayerList (X) - !!! BROKEN !!! - last stable rev is 866
This commit is contained in:
@@ -856,23 +856,23 @@ LocalPlayer::LocalPlayer(ConfigFile *c, BoardInterface *b, int id, unsigned uniq
|
||||
|
||||
if(myID==0) {
|
||||
// myActiveStatus=0;
|
||||
myCash=14800;
|
||||
// myCash=14800;
|
||||
}
|
||||
|
||||
if(myID==1) {
|
||||
myCash=400;
|
||||
// myCash=400;
|
||||
}
|
||||
if(myID==2) {
|
||||
myCash=4950;
|
||||
myCash=50;
|
||||
}
|
||||
if(myID==3) {
|
||||
myCash=5250;
|
||||
// myCash=5250;
|
||||
}
|
||||
if(myID==4) {
|
||||
myCash=5100;
|
||||
// myCash=5100;
|
||||
}
|
||||
if(myID==5) {
|
||||
myCash=4500;
|
||||
// myCash=4500;
|
||||
}
|
||||
|
||||
}
|
||||
@@ -976,7 +976,7 @@ void LocalPlayer::action() {
|
||||
actualHand->getGuiInterface()->logPlayerActionMsg(myName, myAction, mySet);
|
||||
actualHand->getGuiInterface()->nextPlayerAnimation();
|
||||
|
||||
|
||||
cout << "playerID in action(): " << (*(actualHand->getCurrentBeRo()->getCurrentPlayersTurnIt()))->getMyID() << endl;
|
||||
}
|
||||
|
||||
|
||||
@@ -1183,7 +1183,7 @@ void LocalPlayer::preflopEngine() {
|
||||
|
||||
switch(actualHand->getMyID()) {
|
||||
case 1: {
|
||||
myAction = PLAYER_ACTION_CALL;
|
||||
// myAction = PLAYER_ACTION_CALL;
|
||||
}
|
||||
break;
|
||||
case 2: {
|
||||
@@ -1201,7 +1201,7 @@ void LocalPlayer::preflopEngine() {
|
||||
|
||||
switch(actualHand->getMyID()) {
|
||||
case 1: {
|
||||
myAction = PLAYER_ACTION_FOLD;
|
||||
// myAction = PLAYER_ACTION_FOLD;
|
||||
// raise = 20;
|
||||
// if(mySet >= 40) {
|
||||
// myAction = PLAYER_ACTION_CALL;
|
||||
@@ -1223,15 +1223,15 @@ void LocalPlayer::preflopEngine() {
|
||||
}
|
||||
break;
|
||||
case 3: {
|
||||
myAction = PLAYER_ACTION_CALL;
|
||||
// myAction = PLAYER_ACTION_CALL;
|
||||
}
|
||||
break;
|
||||
case 4: {
|
||||
myAction = PLAYER_ACTION_CALL;
|
||||
// myAction = PLAYER_ACTION_CALL;
|
||||
}
|
||||
break;
|
||||
case 5: {
|
||||
myAction = PLAYER_ACTION_FOLD;
|
||||
// myAction = PLAYER_ACTION_FOLD;
|
||||
}
|
||||
break;
|
||||
default: {}
|
||||
|
||||
Reference in New Issue
Block a user