This commit is contained in:
2026-05-02 21:08:47 +02:00
parent e4389f035d
commit fcc598adb1
11 changed files with 35 additions and 32 deletions

View File

@@ -20,7 +20,7 @@ int main() {
PLNIMP("Letnik3Zadnja - Licenca: LGPLv2.1-only, CC BY-SA 4.0");
// Prompt for player name before initializing the window/engine
std::string playerName;
std::cout << "Vnesi ime igralca (pritisni Enter za 'Igralec'): ";
std::cout << "Vnesi uporabniško ime (pusti prazno za 'Igralec'): ";
std::getline(std::cin, playerName);
if (playerName.empty()) playerName = "Igralec";
Game::GameManager::setSharedData<std::string>("playerName", playerName);