Nuked Poker State

This commit is contained in:
2021-05-17 06:43:48 -07:00
parent c854ebbb5d
commit a97933d366
17 changed files with 185 additions and 174 deletions

View File

@ -8,7 +8,6 @@
#include "game.h"
game_t GAME_STATE;
pokergame_t POKER_STATE;
bool gameInit() {
// Init the game
@ -28,13 +27,13 @@ bool gameInit() {
);
// Font
POKER_STATE.fontTexture = assetTextureLoad("font.png");
POKER_STATE.fontTileset = tilesetCreate(20, 20,
POKER_STATE.fontTexture->width,
POKER_STATE.fontTexture->height,
GAME_STATE.fontTexture = assetTextureLoad("font.png");
GAME_STATE.fontTileset = tilesetCreate(20, 20,
GAME_STATE.fontTexture->width,
GAME_STATE.fontTexture->height,
1, 1, 1, 1
);
POKER_STATE.fontBatch = spriteBatchCreate(1024);
GAME_STATE.fontBatch = spriteBatchCreate(1024);
// Prepare the renderer.
holdemRenderFrameInit();