FIXED: Android build issues, added building to Andr from Linux

I really hope this didnt break anything
Im proud of the bash script
This commit is contained in:
mschiller890
2026-03-17 19:01:27 +01:00
parent 9d831bdb25
commit 11e986bcf2
15 changed files with 488 additions and 18 deletions

View File

@@ -27,6 +27,7 @@
#include "../../platform/time.h"
#include <cmath>
#include <algorithm>
#include <sstream>
float Gui::InvGuiScale = 1.0f / 3.0f;
float Gui::GuiScale = 1.0f / Gui::InvGuiScale;
@@ -841,7 +842,9 @@ void Gui::renderPlayerList(Font* font, int screenWidth, int screenHeight) {
}
// player count title
std::string titleText = "Players (" + std::to_string(playerNames.size()) + ")";
std::ostringstream titleStream;
titleStream << "Players (" << playerNames.size() << ")";
std::string titleText = titleStream.str();
float titleWidth = font->width(titleText);
if (titleWidth > maxNameWidth)