Updated ideas.

This commit is contained in:
2021-08-10 09:42:15 -07:00
parent 65d13cc046
commit 247df18225
5 changed files with 21 additions and 9 deletions

View File

@ -8,8 +8,10 @@
#pragma once
#include "../../display/gui/font.h"
#include "../../display/shader.h"
#include "../../locale/language.h"
typedef struct {
font_t font;
shader_t shader;
language_t language;
} pokergameassets_t;

View File

@ -9,6 +9,8 @@
#include "../libs.h"
#define STRING_HANDLEBAR_KEY_MAXLENGTH 32
#define STRING_HANDLEBAR_LIST_VARIABLE_SIZE 512
#define STRING_HANDLEBAR_LIST_VARIABLE_COUNT 64
/** Representation of a String Handlebar Variable */
typedef struct {
@ -16,4 +18,11 @@ typedef struct {
char *key;
/** The value to replace it with */
char *value;
} stringhandlebarvariable_t;
} stringhandlebarvariable_t;
typedef struct {
char buffer[
STRING_HANDLEBAR_LIST_VARIABLE_SIZE * STRING_HANDLEBAR_LIST_VARIABLE_COUNT
];
stringhandlebarvariable_t variables[STRING_HANDLEBAR_LIST_VARIABLE_COUNT];
} stringhandlebarvariablelist_t;