Merge branch 'pieeebot:main' into main

This commit is contained in:
Marvelco
2026-04-16 21:27:18 +03:00
committed by GitHub
5 changed files with 154 additions and 103 deletions
+1
View File
@@ -1073,6 +1073,7 @@ void Gui::render(float a, bool mouseFree, int xMouse, int yMouse)
if (minecraft->options->renderDebug && minecraft->player != nullptr && minecraft->level != nullptr)
{
lines.push_back(std::wstring(VER_BRANCHVERSION_STR_W) + L"/" + std::wstring(VER_PRODUCTVERSION_STR_W));
lines.push_back(minecraft->fpsString);
lines.push_back(L"E: " + std::to_wstring(minecraft->level->getAllEntities().size()));
int renderDistance = app.GetGameSettings(iPad, eGameSetting_RenderDistance);
@@ -2053,6 +2053,16 @@ int APIENTRY _tWinMain(_In_ HINSTANCE hInstance,
f3ComboUsed = true;
}
break;
case 'B':
std::wstring version = std::wstring(VER_BRANCHVERSION_STR_W) + L"/" + std::wstring(VER_PRODUCTVERSION_STR_W);
Screen::setClipboard(version);
if (pMinecraft->gui && app.GetGameStarted())
{
const int primaryPad = ProfileManager.GetPrimaryPad();
pMinecraft->gui->addMessage(L"Copied version to clipboard", primaryPad);
}
f3ComboUsed = true;
break;
}
}