Cleaning up language parsing a little bit.

This commit is contained in:
2021-08-09 08:47:38 -07:00
parent 68986fd108
commit 65d13cc046
3 changed files with 23 additions and 11 deletions

View File

@ -13,11 +13,6 @@ bool gameInit(game_t *game) {
// Init the engine and the rendering pipeline
engineInit(&game->engine, game);
// Load the language.
languageInit(&language, "locale/language/en-US.csv");
char output[CSV_CELL_SIZE_MAX];
int32_t row = languageGet(&language, "hello.world", output);
// Send off to the game instance
#if SETTING_GAME == SETTING_GAME_POKER
return pokerGameInit(game);