From 54d45441c3c2d38985ad3f6bdad50dc2056de5e1 Mon Sep 17 00:00:00 2001 From: Dominic Masters Date: Fri, 15 Oct 2021 09:41:58 -0700 Subject: [PATCH] More include fixes --- src/poker/bet.h | 4 +++- src/poker/dealer.h | 2 +- src/poker/player.h | 4 +++- src/poker/pot.h | 2 +- src/poker/turn.h | 6 +++++- 5 files changed, 13 insertions(+), 5 deletions(-) diff --git a/src/poker/bet.h b/src/poker/bet.h index 9d7cb6fb..92dad580 100644 --- a/src/poker/bet.h +++ b/src/poker/bet.h @@ -7,8 +7,10 @@ #pragma once #include "../libs.h" +#include "../util/math.h" #include "fuck.h" -#include "poker.h" +#include "player.h" +#include "pot.h" /** * Returns the index of the first player that remains to bet for the current diff --git a/src/poker/dealer.h b/src/poker/dealer.h index 0f4f1da9..8227eff2 100644 --- a/src/poker/dealer.h +++ b/src/poker/dealer.h @@ -6,8 +6,8 @@ */ #pragma once +#include "../libs.h" #include "fuck.h" -#include "poker.h" #include "card.h" /** diff --git a/src/poker/player.h b/src/poker/player.h index 9855d3c8..41bf128f 100644 --- a/src/poker/player.h +++ b/src/poker/player.h @@ -6,8 +6,10 @@ */ #pragma once +#include "../libs.h" +#include "../util/flags.h" #include "fuck.h" -#include "poker.h" +#include "bet.h" /** * Add a player to the game. The player starts in an out state (with no chips). diff --git a/src/poker/pot.h b/src/poker/pot.h index f4f43eee..e9406ddf 100644 --- a/src/poker/pot.h +++ b/src/poker/pot.h @@ -8,7 +8,7 @@ #pragma once #include "../libs.h" #include "../util/array.h" -#include "poker.h" +#include "fuck.h" /** * Adds a new pot to the poker game instance. diff --git a/src/poker/turn.h b/src/poker/turn.h index c5ddf8be..ce82d792 100644 --- a/src/poker/turn.h +++ b/src/poker/turn.h @@ -7,9 +7,13 @@ #pragma once #include "../libs.h" +#include "../util/math.h" #include "fuck.h" -#include "poker.h" +#include "bet.h" +#include "card.h" +#include "winner.h" #include "pot.h" +#include "poker.h"//get callbet /** * Return a turn action for the given player to fold.