Fixing more includes
This commit is contained in:
@ -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"
|
||||
|
@ -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) {
|
||||
|
@ -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
|
||||
|
||||
|
@ -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.
|
||||
|
Reference in New Issue
Block a user