Updated ideas.
This commit is contained in:
@ -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;
|
@ -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;
|
Reference in New Issue
Block a user