Working on the Player UI

This commit is contained in:
2021-09-06 09:12:45 -07:00
parent 2285568480
commit 6c10429dfb
22 changed files with 262 additions and 53 deletions

View File

@ -12,6 +12,14 @@
#include "../../../display/framebuffer.h"
#include "../../../display/camera.h"
#define POKER_PLAYER_UI_IMAGE_SIZE 64
#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
#define POKER_PLAYER_UI_PADDING 8
typedef struct {
label_t label;
framebuffer_t frame;
primitive_t quad;
} pokerplayerui_t;

View File

@ -11,7 +11,14 @@
#include "../../display/shader.h"
#include "../../display/font.h"
#include "../../display/primitive.h"
#include "../../display/renderlist.h"
typedef struct {
camera_t camera;
renderlist_t list;
shader_t shader;
texture_t texture;
primitive_t cube;
} sandboxscene_t;