Moving some code around

This commit is contained in:
2021-05-23 22:27:19 -07:00
parent b0dce455f0
commit 76307d2746
19 changed files with 205 additions and 75 deletions

View File

@ -15,6 +15,7 @@
#include "../display/shader.h"
#include "../display/texture.h"
#include "../display/tileset.h"
#include "../display/framebuffer.h"
/** Rounds that the game can be in */
#define POKER_ROUND_MATCH 0x00
@ -77,6 +78,13 @@ typedef struct {
uint32_t roundBet;
/** Rendering Assets */
framebuffer_t frameWorld;
framebuffer_t frameGui;
font_t font;
shader_t shader;
camera_t cameraWorld;
camera_t cameraGui;
texture_t dealerTexture;
tileset_t dealerTileset;
primitive_t dealerPrimitive;
@ -91,6 +99,4 @@ typedef struct {
tileset_t cardTileset;
primitive_t cardPrimitive;
shader_t shader;
camera_t camera;
} poker_t;