Refactor almost finished.

This commit is contained in:
2021-09-19 22:49:52 -07:00
parent a2c269ab33
commit b3e06a3837
25 changed files with 56 additions and 31 deletions

View File

@ -109,7 +109,7 @@ void _pokerGameActionBetOnEnd(
pokerDiscussionQueue(&discussion);
pokerBetResetBetter(
&game->poker, &game->poker.players, game->poker.roundSmallBlind
&game->poker.bet, game->poker.players, game->poker.roundSmallBlind
);
pokerGameActionRestackAdd(game);
pokerGameActionLookAdd(game, game->poker.bet.better);

View File

@ -7,9 +7,10 @@
#pragma once
#include "../../../libs.h"
#include "../../../util/math.h"
#include "action.h"
#include "../../../display/animation/queue.h"
#include "../pokergame.h"
#include "../../../display/animation/queue.h"
#include "../../../poker/turn.h"
#include "../../../poker/bet.h"
#include "../../../poker/actions/flop.h"

View File

@ -42,7 +42,7 @@ void _pokerGameActionRoundOnEnd(queue_t *queue,queueaction_t *action,uint8_t i){
// Begin Betting Round. This will queue for one player only and then the round
// will take over.
pokerBetResetBetter(
&game->poker, game->poker.players, game->poker.roundSmallBlind
&game->poker.bet, game->poker.players, game->poker.roundSmallBlind
);
pokerGameActionBetAdd(game);
}