Moved some more code around
This commit is contained in:
@ -8,6 +8,9 @@
|
||||
#pragma once
|
||||
#include "../libs.h"
|
||||
|
||||
/** How many cards the dealer can hold in their hand */
|
||||
#define HOLDEM_DEALER_HAND 5
|
||||
|
||||
/** How many cards a player can hold in their hand */
|
||||
#define POKER_PLAYER_HAND 2
|
||||
|
||||
@ -15,10 +18,18 @@
|
||||
#define POKER_PLAYER_COUNT 5
|
||||
|
||||
/** State for whether or not a player has folded */
|
||||
#define GAME_STATE_FOLDED 0x01
|
||||
#define POKER_PLAYER_STATE_FOLDED 0x01
|
||||
|
||||
/** State for whether or not a player is showing their hand */
|
||||
#define GAME_STATE_SHOWING 0x02
|
||||
#define POKER_PLAYER_STATE_SHOWING 0x02
|
||||
|
||||
/** Various seats at the table that people can sit */
|
||||
#define HOLDEM_GAME_SEAT_DEALER 0x00
|
||||
#define HOLDEM_GAME_SEAT_PLAYER0 0x04
|
||||
#define HOLDEM_GAME_SEAT_PLAYER1 0x06
|
||||
#define HOLDEM_GAME_SEAT_PLAYER2 0x05
|
||||
#define HOLDEM_GAME_SEAT_PLAYER3 0x03
|
||||
#define HOLDEM_GAME_SEAT_PLAYER4 0x02
|
||||
|
||||
/** Poker Player State */
|
||||
typedef struct {
|
||||
|
Reference in New Issue
Block a user