diff --git a/src/card/poker/action/ai.c b/src/card/poker/action/ai.c index ae80f889..ff485281 100644 --- a/src/card/poker/action/ai.c +++ b/src/card/poker/action/ai.c @@ -16,6 +16,7 @@ holdemaction_t actionAi() { } void actionAiInit(int32_t index, void *data) { + logText("AI Round start"); holdemActionRemove(index); } diff --git a/src/card/poker/action/ai.h b/src/card/poker/action/ai.h index cfe9bd9f..8015911c 100644 --- a/src/card/poker/action/ai.h +++ b/src/card/poker/action/ai.h @@ -9,6 +9,7 @@ #include #include "action.h" #include "flop.h" +#include "../../../debug/log.h" holdemaction_t actionAi(); diff --git a/src/card/poker/action/deal.c b/src/card/poker/action/deal.c index e2502233..79f0bf3b 100644 --- a/src/card/poker/action/deal.c +++ b/src/card/poker/action/deal.c @@ -26,5 +26,5 @@ void actionDealUpdate(int32_t i, void *data) { } void actionDealDispose(int32_t i, void *data) { - holdemActionAdd() + int32_t newI = holdemActionAdd(actionAi()); } \ No newline at end of file diff --git a/src/card/poker/action/deal.h b/src/card/poker/action/deal.h index 3665a83f..4b29ae31 100644 --- a/src/card/poker/action/deal.h +++ b/src/card/poker/action/deal.h @@ -9,6 +9,7 @@ #include #include "../../../debug/log.h" #include "action.h" +#include "ai.h" holdemaction_t actionDeal(); diff --git a/src/card/poker/action/flop.c b/src/card/poker/action/flop.c index 2d50c677..5d3258b0 100644 --- a/src/card/poker/action/flop.c +++ b/src/card/poker/action/flop.c @@ -16,6 +16,8 @@ holdemaction_t actionFlop() { } void actionFlopInit(int32_t index, void *data) { + logText("Flop"); + // Look at the dealer holdemRenderLookHand(&HOLDEM_GAME_STATE.cameraLeft, HOLDEM_GAME_SEAT_DEALER); diff --git a/src/card/poker/action/flop.h b/src/card/poker/action/flop.h index bf961fcd..ceb0a7c3 100644 --- a/src/card/poker/action/flop.h +++ b/src/card/poker/action/flop.h @@ -10,6 +10,7 @@ #include "action.h" #include "../holdem.h" #include "../render/look.h" +#include "../../../debug/log.h" #include "ai.h" holdemaction_t actionFlop();