Just cleaning
This commit is contained in:
@ -10,7 +10,6 @@
|
||||
#include "fuck.h"
|
||||
#include "poker.h"
|
||||
|
||||
|
||||
/**
|
||||
* Returns the index of the first player that remains to bet for the current
|
||||
* round.
|
||||
@ -18,7 +17,7 @@
|
||||
* @param poker Poker game instance.
|
||||
* @return The player index of the remaining player, otherwise 0xFF.
|
||||
*/
|
||||
uint8_t pokerPlayerGetRemainingBetter(poker_t *poker);
|
||||
uint8_t pokerBetGetRemainingPlayer(poker_t *poker);
|
||||
|
||||
/**
|
||||
* Returns the index of the first player that remains to bet for the current
|
||||
@ -28,7 +27,7 @@ uint8_t pokerPlayerGetRemainingBetter(poker_t *poker);
|
||||
* @param current Current better player index.
|
||||
* @return The player index of the next remaining player, otherwise 0xFF.
|
||||
*/
|
||||
uint8_t pokerPlayerGetNextBetter(poker_t *poker, uint8_t current);
|
||||
uint8_t pokerBetGetNextPlayer(poker_t *poker);
|
||||
|
||||
/**
|
||||
* Get the bet necessary for a specific player to make a call. This takes the
|
||||
@ -47,7 +46,7 @@ int32_t pokerPlayerGetCallBet(poker_t *poker, pokerplayer_t *player);
|
||||
* @param poker Poker game instance.
|
||||
* @return Count of players left to bet.
|
||||
*/
|
||||
uint8_t pokerPlayerGetRemainingBetterCount(poker_t *poker);
|
||||
uint8_t pokerBetGetRemainingPlayerCount(poker_t *poker);
|
||||
|
||||
/**
|
||||
* Let a player bet chips into the pot.
|
||||
@ -57,7 +56,7 @@ uint8_t pokerPlayerGetRemainingBetterCount(poker_t *poker);
|
||||
* @param playerIndex The players' index that is betting.
|
||||
* @param chips The amount of chips the player is betting.
|
||||
*/
|
||||
void pokerPlayerBetPot(
|
||||
void pokerBet(
|
||||
poker_t *poker, pokerpot_t *pot, uint8_t playerIndex, int32_t chips
|
||||
);
|
||||
|
||||
@ -68,4 +67,4 @@ void pokerPlayerBetPot(
|
||||
* @param playerIndex The players' index that is betting.
|
||||
* @param chips The amount of chips the player is betting.
|
||||
*/
|
||||
void pokerPlayerBet(poker_t *poker, uint8_t playerIndex, int32_t chips);
|
||||
void pokerBetForPlayer(poker_t *poker, uint8_t playerIndex, int32_t chips);
|
||||
|
Reference in New Issue
Block a user