Complete loop defined.

This commit is contained in:
2021-05-16 12:46:52 -07:00
parent e958f509ab
commit c9e87d1784
6 changed files with 7 additions and 1 deletions

View File

@ -16,6 +16,7 @@ holdemaction_t actionAi() {
}
void actionAiInit(int32_t index, void *data) {
logText("AI Round start");
holdemActionRemove(index);
}

View File

@ -9,6 +9,7 @@
#include <dawn/dawn.h>
#include "action.h"
#include "flop.h"
#include "../../../debug/log.h"
holdemaction_t actionAi();

View File

@ -26,5 +26,5 @@ void actionDealUpdate(int32_t i, void *data) {
}
void actionDealDispose(int32_t i, void *data) {
holdemActionAdd()
int32_t newI = holdemActionAdd(actionAi());
}

View File

@ -9,6 +9,7 @@
#include <dawn/dawn.h>
#include "../../../debug/log.h"
#include "action.h"
#include "ai.h"
holdemaction_t actionDeal();

View File

@ -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);

View File

@ -10,6 +10,7 @@
#include "action.h"
#include "../holdem.h"
#include "../render/look.h"
#include "../../../debug/log.h"
#include "ai.h"
holdemaction_t actionFlop();