Improved Language Support

This commit is contained in:
2021-08-04 21:58:31 -07:00
parent 23f1cb3d7e
commit b62beee3e4
13 changed files with 221 additions and 43 deletions

View File

@ -11,6 +11,7 @@
#include "../../poker/poker.h"
#include "../../vn/vnconversation.h"
#include "../../vn/vnscene.h"
#include "pokerui.h"
/** Name of the Poker Game */
#define POKER_GAME_NAME "Dawn Poker Game"
@ -24,4 +25,7 @@ typedef struct {
/** Assets for the game. */
pokergameassets_t assets;
/** UI For the Game */
pokerui_t ui;
} pokergame_t;

View File

@ -8,7 +8,13 @@
#pragma once
#include "../../libs.h"
#include "../../ui/label.h"
#include "../../poker/player.h"
typedef struct {
label_t labelTest;
label_t labelChips;
label_t labelName;
} pokerplayerui_t;
typedef struct {
pokerplayerui_t players[POKER_PLAYER_COUNT];
} pokerui_t;

View File

@ -17,6 +17,7 @@ typedef struct {
typedef struct {
char *key;
char *text;
} languagestring_t;
typedef struct {

View File

@ -20,6 +20,8 @@ typedef struct {
float scaleX, scaleY;
float blinkStart;
char *name;
bool talking;
tileset_t tilesetEyes;