Added JS engine.
This commit is contained in:
@ -12,6 +12,7 @@
|
||||
#include "pokerworld.h"
|
||||
#include "pokergameaction.h"
|
||||
#include "ui/pokerui.h"
|
||||
#include "../../engine/engine.h"
|
||||
#include "../../poker/poker.h"
|
||||
#include "../../poker/player.h"
|
||||
#include "../../poker/dealer.h"
|
||||
@ -58,4 +59,7 @@ typedef struct {
|
||||
|
||||
/** Data for the actions */
|
||||
pokergameactiondata_t actionData[ANIMATION_QUEUE_ITEM_MAX];
|
||||
|
||||
/** Pointer back to the game engine */
|
||||
engine_t *engine;
|
||||
} pokergame_t;
|
@ -17,6 +17,7 @@ typedef struct {
|
||||
|
||||
texture_t testTexture;
|
||||
texture_t roomTexture;
|
||||
texture_t cardTexture;
|
||||
|
||||
texture_t pennyTexture;
|
||||
} pokergameassets_t;
|
@ -17,6 +17,9 @@
|
||||
#include "../../../ui/align.h"
|
||||
|
||||
#define POKER_PLAYER_UI_IMAGE_SIZE 64
|
||||
#define POKER_PLAYER_UI_WIDTH 300
|
||||
#define POKER_PLAYER_UI_HEIGHT POKER_PLAYER_UI_IMAGE_SIZE
|
||||
|
||||
#define POKER_PLAYER_UI_IMAGE_RESOLUTION POKER_PLAYER_UI_IMAGE_SIZE * 2
|
||||
#define POKER_PLAYER_UI_IMAGE_DIST 0.8f
|
||||
#define POKER_PLAYER_UI_IMAGE_Y 0.1f
|
||||
|
@ -9,7 +9,9 @@
|
||||
#include "../../../libs.h"
|
||||
#include "../../../poker/player.h"
|
||||
#include "pokerplayerui.h"
|
||||
#include "../../../ui/image.h"
|
||||
|
||||
typedef struct {
|
||||
pokerplayerui_t player[POKER_PLAYER_COUNT];
|
||||
image_t card;
|
||||
} pokerui_t;
|
Reference in New Issue
Block a user