mirror of
https://github.com/smartcmd/MinecraftConsoles.git
synced 2026-08-20 09:57:09 +00:00
Update DeathScreen message text for clarity and capitalisation.
Updated button label from 'Title menu' to 'Exit to Title Menu' and changed 'Game over!' to 'Game Over!' for consistency.
This commit is contained in:
parent
8dbbee61b7
commit
8db8236662
|
|
@ -9,7 +9,7 @@ void DeathScreen::init()
|
|||
{
|
||||
buttons.clear();
|
||||
buttons.push_back(new Button(1, width / 2 - 100, height / 4 + 24 * 3, L"Respawn"));
|
||||
buttons.push_back(new Button(2, width / 2 - 100, height / 4 + 24 * 4, L"Title menu"));
|
||||
buttons.push_back(new Button(2, width / 2 - 100, height / 4 + 24 * 4, L"Exit to Title Menu"));
|
||||
|
||||
if (minecraft->user == nullptr)
|
||||
{
|
||||
|
|
@ -46,7 +46,7 @@ void DeathScreen::render(int xm, int ym, float a)
|
|||
|
||||
glPushMatrix();
|
||||
glScalef(2, 2, 2);
|
||||
drawCenteredString(font, L"Game over!", width / 2 / 2, 60 / 2, 0xffffff);
|
||||
drawCenteredString(font, L"Game Over!", width / 2 / 2, 60 / 2, 0xffffff);
|
||||
glPopMatrix();
|
||||
drawCenteredString(font, L"Score: &e" + std::to_wstring( minecraft->player->getScore() ), width / 2, 100, 0xffffff);
|
||||
|
||||
|
|
@ -64,4 +64,4 @@ void DeathScreen::render(int xm, int ym, float a)
|
|||
bool DeathScreen::isPauseScreen()
|
||||
{
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue