Add "English sprites" setting

It'll start working in the next commit... See the description there.

(This commit does not add the new strings to the language files, since
Terry now added them separately in his own branch)
This commit is contained in:
Dav999
2023-10-02 02:44:13 +02:00
committed by Misa Elizabeth Kai
parent 92f9940464
commit 8ef000554d
5 changed files with 35 additions and 0 deletions

View File

@@ -1019,6 +1019,7 @@ static void menurender(void)
break;
}
case 4:
{
font::print(PR_2X | PR_CEN, -1, 30, loc::gettext("In-Game Timer"), tr, tg, tb);
int next_y = font::print_wrap(PR_CEN, -1, 65, loc::gettext("Toggle the in-game timer outside of time trials."), tr, tg, tb);
if (game.showingametimer)
@@ -1031,6 +1032,21 @@ static void menurender(void)
}
break;
}
case 5:
{
font::print(PR_2X | PR_CEN, -1, 30, loc::gettext("English Sprites"), tr, tg, tb);
int next_y = font::print_wrap(PR_CEN, -1, 65, loc::gettext("Show the original English word enemies regardless of your language setting."), tr, tg, tb);
if (loc::english_sprites)
{
font::print_wrap(PR_CEN, -1, next_y, loc::gettext("Sprites are currently ALWAYS ENGLISH"), tr, tg, tb);
}
else
{
font::print_wrap(PR_CEN, -1, next_y, loc::gettext("Sprites are currently translated"), tr / 2, tg / 2, tb / 2);
}
break;
}
}
break;
case Menu::setglitchrunner:
{