Nuked some more code.

This commit is contained in:
2021-05-16 20:34:45 -07:00
parent c0e66c34cd
commit 06464c260a
13 changed files with 60 additions and 134 deletions

View File

@ -80,7 +80,16 @@ typedef struct {
uint32_t currentBet;
} holdemplayer_t;
/** Representation of a Texas Hold'em Match State */
/** Callback for actions to use */
typedef void (*holdemActionCallback)(int32_t index, void *data);
/** Texas Hold'em Game action that can be queued and executed */
typedef struct {
holdemActionCallback init;
holdemActionCallback update;
holdemActionCallback dispose;
} holdemaction_t;
typedef struct {
/** Current Card Deck */
card_t deck[CARD_DECK_SIZE];
@ -101,20 +110,10 @@ typedef struct {
/** Player States */
holdemplayer_t players[HOLDEM_PLAYER_COUNT];
} holdemmatch_t;
/** Callback for actions to use */
typedef void (*holdemActionCallback)(int32_t index, void *data);
/** Texas Hold'em Game action that can be queued and executed */
typedef struct {
holdemActionCallback init;
holdemActionCallback update;
holdemActionCallback dispose;
} holdemaction_t;
typedef struct {
holdemmatch_t match;
texture_t *kagamiTexture;
tileset_t *kagamiTileset;