Complete loop defined.
This commit is contained in:
@ -16,6 +16,7 @@ holdemaction_t actionAi() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
void actionAiInit(int32_t index, void *data) {
|
void actionAiInit(int32_t index, void *data) {
|
||||||
|
logText("AI Round start");
|
||||||
holdemActionRemove(index);
|
holdemActionRemove(index);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -9,6 +9,7 @@
|
|||||||
#include <dawn/dawn.h>
|
#include <dawn/dawn.h>
|
||||||
#include "action.h"
|
#include "action.h"
|
||||||
#include "flop.h"
|
#include "flop.h"
|
||||||
|
#include "../../../debug/log.h"
|
||||||
|
|
||||||
holdemaction_t actionAi();
|
holdemaction_t actionAi();
|
||||||
|
|
||||||
|
@ -26,5 +26,5 @@ void actionDealUpdate(int32_t i, void *data) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
void actionDealDispose(int32_t i, void *data) {
|
void actionDealDispose(int32_t i, void *data) {
|
||||||
holdemActionAdd()
|
int32_t newI = holdemActionAdd(actionAi());
|
||||||
}
|
}
|
@ -9,6 +9,7 @@
|
|||||||
#include <dawn/dawn.h>
|
#include <dawn/dawn.h>
|
||||||
#include "../../../debug/log.h"
|
#include "../../../debug/log.h"
|
||||||
#include "action.h"
|
#include "action.h"
|
||||||
|
#include "ai.h"
|
||||||
|
|
||||||
holdemaction_t actionDeal();
|
holdemaction_t actionDeal();
|
||||||
|
|
||||||
|
@ -16,6 +16,8 @@ holdemaction_t actionFlop() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
void actionFlopInit(int32_t index, void *data) {
|
void actionFlopInit(int32_t index, void *data) {
|
||||||
|
logText("Flop");
|
||||||
|
|
||||||
// Look at the dealer
|
// Look at the dealer
|
||||||
holdemRenderLookHand(&HOLDEM_GAME_STATE.cameraLeft, HOLDEM_GAME_SEAT_DEALER);
|
holdemRenderLookHand(&HOLDEM_GAME_STATE.cameraLeft, HOLDEM_GAME_SEAT_DEALER);
|
||||||
|
|
||||||
|
@ -10,6 +10,7 @@
|
|||||||
#include "action.h"
|
#include "action.h"
|
||||||
#include "../holdem.h"
|
#include "../holdem.h"
|
||||||
#include "../render/look.h"
|
#include "../render/look.h"
|
||||||
|
#include "../../../debug/log.h"
|
||||||
#include "ai.h"
|
#include "ai.h"
|
||||||
|
|
||||||
holdemaction_t actionFlop();
|
holdemaction_t actionFlop();
|
||||||
|
Reference in New Issue
Block a user