Added Linux Support, Improved code cleanliness
This commit is contained in:
@ -35,9 +35,6 @@
|
||||
#define POKER_ROUND_BET3 0x0A
|
||||
#define POKER_ROUND_WINNER 0x0B
|
||||
|
||||
/** How many cards the grave can hold */
|
||||
#define POKER_GRAVE_SIZE CARD_DECK_SIZE
|
||||
|
||||
/** GUI Height fix (To keep gui scaling nicely we use a fixed height) */
|
||||
#define POKER_GUI_HEIGHT 2160
|
||||
|
||||
@ -47,18 +44,10 @@
|
||||
#define POKER_FLOP_CARD_COUNT 3
|
||||
#define POKER_TURN_CARD_COUNT 1
|
||||
#define POKER_RIVER_CARD_COUNT 1
|
||||
|
||||
typedef struct {
|
||||
//////////////////////////////////////////////////////////////////////////////
|
||||
// Poker Logic Variables
|
||||
//////////////////////////////////////////////////////////////////////////////
|
||||
/** Current Card Deck */
|
||||
card_t deck[CARD_DECK_SIZE];
|
||||
uint8_t deckSize;
|
||||
|
||||
/** Card grave (where spent cards go when burned */
|
||||
card_t grave[POKER_GRAVE_SIZE];
|
||||
uint8_t graveSize;
|
||||
|
||||
/** Poker betting state */
|
||||
pokerbet_t bet;
|
||||
|
Reference in New Issue
Block a user