Restored some of the rendering

This commit is contained in:
2021-05-22 14:18:23 -07:00
parent 58e86d160e
commit d84e760c34
36 changed files with 813 additions and 331 deletions

View File

@ -15,20 +15,20 @@
/**
* Initializes the player renderer.
* @param poker Poker game context.
*/
void holdemRenderPlayerInit();
void pokerPlayerInit(poker_t *poker);
/**
* Returns the seat index for a given player.
*
* @param player Player to get the seat for.
* @return Seat ID for the given player.
*/
uint8_t holdemRenderPlayerGetSeatForPlayer(uint8_t player);
uint8_t pokerPlayerGetSeatForPlayer(uint8_t player);
/**
* Render's a player at a seat.
*
* @param poker Poker game context.
* @param seat Seat to render the player at.
*/
void holdemRenderPlayer(uint8_t seat);
void pokerPlayerRender(poker_t *poker, pokerplayer_t *player, uint8_t seat);