Moved texas holdem files out of holdem directory.
This commit is contained in:
@ -17,6 +17,14 @@ holdemaction_t actionAi() {
|
||||
|
||||
void actionAiInit(int32_t index, void *data) {
|
||||
logText("AI Round start");
|
||||
|
||||
/*
|
||||
Current theory for the AI code will be;
|
||||
1 - Determine weight of my cards+flop as %
|
||||
2 - Determine current bet, compare against [something] and then determine if
|
||||
worth the risk. I may need history of the game to make informed decision
|
||||
*/
|
||||
|
||||
holdemActionRemove(index);
|
||||
}
|
||||
|
@ -9,7 +9,7 @@
|
||||
#include <dawn/dawn.h>
|
||||
#include "action.h"
|
||||
#include "flop.h"
|
||||
#include "../../../debug/log.h"
|
||||
#include "../../debug/log.h"
|
||||
|
||||
holdemaction_t actionAi();
|
||||
|
@ -7,7 +7,7 @@
|
||||
|
||||
#pragma once
|
||||
#include <dawn/dawn.h>
|
||||
#include "../../../debug/log.h"
|
||||
#include "../../debug/log.h"
|
||||
#include "action.h"
|
||||
#include "ai.h"
|
||||
|
@ -10,7 +10,7 @@
|
||||
#include "action.h"
|
||||
#include "../holdem.h"
|
||||
#include "../render/look.h"
|
||||
#include "../../../debug/log.h"
|
||||
#include "../../debug/log.h"
|
||||
#include "ai.h"
|
||||
|
||||
holdemaction_t actionFlop();
|
@ -8,7 +8,7 @@
|
||||
#pragma once
|
||||
#include <dawn/dawn.h>
|
||||
#include "../render/holdemrender.h"
|
||||
#include "../../../debug/log.h"
|
||||
#include "../../debug/log.h"
|
||||
#include "../holdem.h"
|
||||
#include "action.h"
|
||||
#include "ai.h"
|
@ -8,7 +8,7 @@
|
||||
#pragma once
|
||||
#include <dawn/dawn.h>
|
||||
#include "action.h"
|
||||
#include "../../../debug/log.h"
|
||||
#include "../../debug/log.h"
|
||||
|
||||
typedef struct {
|
||||
void (*done)();
|
@ -9,7 +9,7 @@
|
||||
#include <dawn/dawn.h>
|
||||
#include "action.h"
|
||||
#include "round.h"
|
||||
#include "../../../debug/log.h"
|
||||
#include "../../debug/log.h"
|
||||
|
||||
holdemaction_t actionStart();
|
||||
|
@ -7,12 +7,12 @@
|
||||
|
||||
#pragma once
|
||||
#include <dawn/dawn.h>
|
||||
#include "../card.h"
|
||||
#include "../../display/spritebatch.h"
|
||||
#include "../../display/texture.h"
|
||||
#include "../../display/tileset.h"
|
||||
#include "../../display/shader.h"
|
||||
#include "../../file/asset.h"
|
||||
#include "card.h"
|
||||
#include "../display/spritebatch.h"
|
||||
#include "../display/texture.h"
|
||||
#include "../display/tileset.h"
|
||||
#include "../display/shader.h"
|
||||
#include "../file/asset.h"
|
||||
|
||||
/**
|
||||
* Deals a card to the given player, does all the follow up.
|
@ -9,9 +9,9 @@
|
||||
#include <dawn/dawn.h>
|
||||
#include "holdem.h"
|
||||
#include "render/holdemrender.h"
|
||||
#include "../card.h"
|
||||
#include "../../file/asset.h"
|
||||
#include "../../display/gui/font.h"
|
||||
#include "card.h"
|
||||
#include "../file/asset.h"
|
||||
#include "../display/gui/font.h"
|
||||
#include "action/action.h"
|
||||
#include "action/start.h"
|
||||
|
@ -7,7 +7,7 @@
|
||||
|
||||
#pragma once
|
||||
#include <dawn/dawn.h>
|
||||
#include "../../../display/primitive.h"
|
||||
#include "../../display/primitive.h"
|
||||
|
||||
#define POKER_TABLE_NAME "Poker Table"
|
||||
#define POKER_TABLE_VERTICE_COUNT 252
|
@ -7,11 +7,11 @@
|
||||
|
||||
#pragma once
|
||||
#include <dawn/dawn.h>
|
||||
#include "../../../file/asset.h"
|
||||
#include "../../../display/shader.h"
|
||||
#include "../../../display/primitive.h"
|
||||
#include "../../../display/primitives/quad.h"
|
||||
#include "../../../display/tileset.h"
|
||||
#include "../../file/asset.h"
|
||||
#include "../../display/shader.h"
|
||||
#include "../../display/primitive.h"
|
||||
#include "../../display/primitives/quad.h"
|
||||
#include "../../display/tileset.h"
|
||||
|
||||
/**
|
||||
* Initializes the Card Renderer.
|
@ -7,11 +7,11 @@
|
||||
|
||||
#pragma once
|
||||
#include <dawn/dawn.h>
|
||||
#include "../../../display/shader.h"
|
||||
#include "../../../display/primitive.h"
|
||||
#include "../../../display/primitives/quad.h"
|
||||
#include "../../../display/framebuffer.h"
|
||||
#include "../../../display/camera.h"
|
||||
#include "../../display/shader.h"
|
||||
#include "../../display/primitive.h"
|
||||
#include "../../display/primitives/quad.h"
|
||||
#include "../../display/framebuffer.h"
|
||||
#include "../../display/camera.h"
|
||||
|
||||
/**
|
||||
* Initializes the frame buffers to be rendered to later.
|
@ -7,15 +7,15 @@
|
||||
|
||||
#pragma once
|
||||
#include <dawn/dawn.h>
|
||||
#include "../../../display/shader.h"
|
||||
#include "../../../display/primitive.h"
|
||||
#include "../../../display/primitives/quad.h"
|
||||
#include "../../../display/spritebatch.h"
|
||||
#include "../../../display/gui/font.h"
|
||||
#include "../../../display/framebuffer.h"
|
||||
#include "../../../display/camera.h"
|
||||
#include "../../../display/primitives/cube.h"
|
||||
#include "../../../display/tileset.h"
|
||||
#include "../../display/shader.h"
|
||||
#include "../../display/primitive.h"
|
||||
#include "../../display/primitives/quad.h"
|
||||
#include "../../display/spritebatch.h"
|
||||
#include "../../display/gui/font.h"
|
||||
#include "../../display/framebuffer.h"
|
||||
#include "../../display/camera.h"
|
||||
#include "../../display/primitives/cube.h"
|
||||
#include "../../display/tileset.h"
|
||||
#include "../model/pokertable.h"
|
||||
|
||||
#include "player.h"
|
@ -6,7 +6,7 @@
|
||||
*/
|
||||
|
||||
#include <dawn/dawn.h>
|
||||
#include "../../../display/camera.h"
|
||||
#include "../../display/camera.h"
|
||||
|
||||
/**
|
||||
* Look at a specific seat
|
@ -7,9 +7,9 @@
|
||||
|
||||
#pragma once
|
||||
#include <dawn/dawn.h>
|
||||
#include "../../../display/shader.h"
|
||||
#include "../../../display/primitive.h"
|
||||
#include "../../../display/primitives/quad.h"
|
||||
#include "../../display/shader.h"
|
||||
#include "../../display/primitive.h"
|
||||
#include "../../display/primitives/quad.h"
|
||||
|
||||
/**
|
||||
* Initializes the player renderer.
|
@ -7,9 +7,9 @@
|
||||
|
||||
#pragma once
|
||||
#include <dawn/dawn.h>
|
||||
#include "../../../display/shader.h"
|
||||
#include "../../../display/primitive.h"
|
||||
#include "../../../file/asset.h"
|
||||
#include "../../display/shader.h"
|
||||
#include "../../display/primitive.h"
|
||||
#include "../../file/asset.h"
|
||||
#include "../model/pokertable.h"
|
||||
|
||||
/**
|
@ -11,7 +11,7 @@
|
||||
#include "../display/shader.h"
|
||||
#include "../file/asset.h"
|
||||
#include "../input/input.h"
|
||||
#include "../card/poker/holdemgame.h"
|
||||
#include "../card/holdemgame.h"
|
||||
#include "../debug/log.h"
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user