Added player count

This commit is contained in:
2022-01-25 20:40:38 -08:00
parent 31ac40c731
commit 8197721918
4 changed files with 20 additions and 17 deletions

View File

@@ -134,7 +134,7 @@ void main() {
// DEBUG DRAW
uint8_t tiles[10];
for(j = 0; j < POKER_PLAYER_COUNT_MAX; j++) {
for(j = 0; j < POKER_PLAYER_COUNT; j++) {
mainBufferChar(POKER_PLAYERS[j].hand[0], tiles);
mainBufferChar(POKER_PLAYERS[j].hand[1], tiles + 2);
@@ -175,7 +175,7 @@ void main() {
}
}
set_bkg_tiles(0x00, POKER_PLAYER_COUNT_MAX + 1, 10, 1, tiles);
set_bkg_tiles(0x00, POKER_PLAYER_COUNT + 1, 10, 1, tiles);
// Tick time.
timeUpdate();