Les notificacions ara van per milisegons.

posibilitat d'establir el tems de una notificacio (util per a allargar les dels logros)
This commit is contained in:
2025-03-08 11:29:25 +01:00
parent fdb85ac393
commit 195d812d2a
4 changed files with 88 additions and 99 deletions

View File

@@ -267,16 +267,9 @@ void Game::checkDebugEvents(const SDL_Event &event)
break;
case SDL_SCANCODE_7:
Notifier::get()->show({"ACHIEVEMENT UNLOCKED!", "I LIKE MY MULTICOLOURED FRIENDS"}, NotificationText::CENTER, -1, false, "F7");
Notifier::get()->show({"ACHIEVEMENT UNLOCKED!", "I LIKE MY MULTICOLOURED FRIENDS"}, NotificationText::CENTER, CHEEVO_NOTIFICATION_DURATION, -1, false, "F7");
break;
case SDL_SCANCODE_8:
Notifier::get()->show({"JAILDESIGNER", "IS LOGGED IN"}, NotificationText::LEFT, 4, false);
break;
case SDL_SCANCODE_9:
Notifier::get()->show({"JAILDESIGNER", "IS LOGGED IN"}, NotificationText::LEFT, 5, false);
break;
default:
break;
}