Working on more poker logic improvements
This commit is contained in:
20
src/main.c
20
src/main.c
@@ -146,12 +146,24 @@ void main() {
|
||||
tiles[5] = mainGetChar('F');
|
||||
}
|
||||
|
||||
if(j == POKER_PLAYER_BETTER) {
|
||||
tiles[6] = mainGetChar('<');
|
||||
} else {
|
||||
if((POKER_PLAYERS[j].state & POKER_PLAYER_STATE_HAS_BET_THIS_ROUND) == 0) {
|
||||
tiles[6] = COMMON_TILE_3;
|
||||
} else {
|
||||
tiles[6] = mainGetChar('H');
|
||||
}
|
||||
set_bkg_tiles(0x00, j, 7, 1, tiles);
|
||||
|
||||
if((POKER_PLAYERS[j].state & POKER_PLAYER_STATE_OUT) == 0) {
|
||||
tiles[7] = COMMON_TILE_3;
|
||||
} else {
|
||||
tiles[7] = mainGetChar('O');
|
||||
}
|
||||
|
||||
if(j == POKER_PLAYER_BETTER) {
|
||||
tiles[8] = mainGetChar('<');
|
||||
} else {
|
||||
tiles[8] = COMMON_TILE_3;
|
||||
}
|
||||
set_bkg_tiles(0x00, j, 9, 1, tiles);
|
||||
}
|
||||
|
||||
for(j = 0; j < POKER_COMMUNITY_SIZE_MAX; j++) {
|
||||
|
Reference in New Issue
Block a user