Working on the Player UI
This commit is contained in:
@ -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;
|
@ -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;
|
Reference in New Issue
Block a user