lang: convertits els fitxers de text a json
This commit is contained in:
@@ -282,10 +282,10 @@ void Resource::createTextures()
|
||||
{"game_text_1000_points", "1.000"},
|
||||
{"game_text_2500_points", "2.500"},
|
||||
{"game_text_5000_points", "5.000"},
|
||||
{"game_text_powerup", lang::getText(117)},
|
||||
{"game_text_one_hit", lang::getText(118)},
|
||||
{"game_text_stop", lang::getText(119)},
|
||||
{"game_text_1000000_points", lang::getText(76)}};
|
||||
{"game_text_powerup", lang::getText("GAME_TEXT_117")},
|
||||
{"game_text_one_hit", lang::getText("GAME_TEXT_118")},
|
||||
{"game_text_stop", lang::getText("GAME_TEXT_119")},
|
||||
{"game_text_1000000_points", lang::getText("GAMEPLAY_76")}};
|
||||
|
||||
auto text = getText("04b_25");
|
||||
for (const auto &s : strings)
|
||||
@@ -297,9 +297,9 @@ void Resource::createTextures()
|
||||
// Tamaño doble
|
||||
std::vector<NameAndText> strings2X = {
|
||||
{"game_text_100000_points", "100.000"},
|
||||
{"game_text_get_ready", lang::getText(75)},
|
||||
{"game_text_last_stage", lang::getText(79)},
|
||||
{"game_text_congratulations", lang::getText(50)},
|
||||
{"game_text_get_ready", lang::getText("GAMEPLAY_75")},
|
||||
{"game_text_last_stage", lang::getText("GAME_TEXT_79")},
|
||||
{"game_text_congratulations", lang::getText("GAME_COMPLETION_TEXT_50")},
|
||||
{"game_text_game_over", "Game Over"}};
|
||||
|
||||
auto text2 = getText("04b_25_2x");
|
||||
|
||||
Reference in New Issue
Block a user