Fixing more includes

This commit is contained in:
2021-10-15 10:20:31 -07:00
parent 54d45441c3
commit 5a585a7714
8 changed files with 61 additions and 9 deletions

View File

@ -8,6 +8,7 @@
#pragma once
#include "../../../libs.h"
#include "../../../poker/bet.h"
#include "../../../poker/turn.h"
#include "../pokerdiscussion.h"
#include "action.h"
#include "restack.h"

View File

@ -70,8 +70,13 @@ void pokerResetBettingRound(poker_t *poker) {
}
void pokerTakeBlinds(poker_t *poker) {
pokerplayer_t *player;
pokerBetForPlayer(poker, poker->playerSmallBlind, poker->blindSmall);
player = poker->players + poker->playerSmallBlind;
player->state = flagOff(player->state, POKER_PLAYER_STATE_HAS_BET_THIS_ROUND);
pokerBetForPlayer(poker, poker->playerBigBlind, poker->blindBig);
player = poker->players + poker->playerBigBlind;
player->state = flagOff(player->state, POKER_PLAYER_STATE_HAS_BET_THIS_ROUND);
}
uint8_t pokerInRoundGetCount(poker_t *poker) {

View File

@ -8,16 +8,10 @@
#pragma once
#include "../libs.h"
#include "../util/flags.h"
#include "../util/array.h"
#include "../util/math.h"
#include "bet.h"
#include "card.h"
#include "dealer.h"
#include "fuck.h"
#include "player.h"
#include "card.h"
#include "pot.h"
#include "turn.h"
#include "winner.h"
#include "bet.h"
// !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! Fucked if I know

View File

@ -13,7 +13,6 @@
#include "card.h"
#include "winner.h"
#include "pot.h"
#include "poker.h"//get callbet
/**
* Return a turn action for the given player to fold.