Trying to put it all together.
This commit is contained in:
@ -9,10 +9,11 @@
|
||||
#include "../../libs.h"
|
||||
#include "pokergame.h"
|
||||
|
||||
/** Maximum number of messages that the discussion buffer can hold */
|
||||
#define POKER_DISCUSSION_MESSAGE_COUNT_MAX 32
|
||||
|
||||
/** Why the discussion is happening */
|
||||
#define POKER_DISCUSSION_REASON_TEST 0x00
|
||||
|
||||
#define POKER_DISCUSSION_REASON_MATCH_START 0x01
|
||||
#define POKER_DISCUSSION_REASON_ROUND_START 0x02
|
||||
#define POKER_DISCUSSION_REASON_BLINDS_TAKEN 0x03
|
||||
@ -26,5 +27,7 @@ typedef struct {
|
||||
|
||||
typedef struct {
|
||||
char *messages[POKER_DISCUSSION_MESSAGE_COUNT_MAX];
|
||||
uint8_t players[POKER_DISCUSSION_MESSAGE_COUNT_MAX];
|
||||
uint8_t emotions[POKER_DISCUSSION_MESSAGE_COUNT_MAX];
|
||||
uint8_t count;
|
||||
} pokerdiscussion_t;
|
Reference in New Issue
Block a user