Update PauseScreen text for clarity and capitalisation

This commit is contained in:
Jazzitch 2026-03-20 02:11:17 -04:00 committed by GitHub
parent 79e8a2f2a7
commit 8dbbee61b7
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -21,14 +21,14 @@ void PauseScreen::init()
saveStep = 0;
buttons.clear();
int yo = -16;
buttons.push_back(new Button(1, width / 2 - 100, height / 4 + 24 * 5 + yo, L"Save and quit to title"));
buttons.push_back(new Button(1, width / 2 - 100, height / 4 + 24 * 5 + yo, L"Save and Quit"));
if (minecraft->isClientSide())
{
buttons[0]->msg = L"Disconnect";
buttons[0]->msg = L"Disconnect from Server";
}
buttons.push_back(new Button(4, width / 2 - 100, height / 4 + 24 * 1 + yo, L"LBack to game"));
buttons.push_back(new Button(4, width / 2 - 100, height / 4 + 24 * 1 + yo, L"LBack to Game"));
buttons.push_back(new Button(0, width / 2 - 100, height / 4 + 24 * 4 + yo, L"LOptions..."));
buttons.push_back(new Button(5, width / 2 - 100, height / 4 + 24 * 2 + yo, 98, 20, I18n::get(L"gui.achievements")));
@ -90,10 +90,10 @@ void PauseScreen::render(int xm, int ym, float a)
col = Mth::sin(col * PI * 2) * 0.2f + 0.8f;
int br = static_cast<int>(255 * col);
drawString(font, L"Saving level..", 8, height - 16, br << 16 | br << 8 | br);
drawString(font, L"Saving World..", 8, height - 16, br << 16 | br << 8 | br);
}
drawCenteredString(font, L"Game menu", width / 2, 40, 0xffffff);
drawCenteredString(font, L"Game Menu", width / 2, 40, 0xffffff);
Screen::render(xm, ym, a);
}
}