Creando iconos para las notificaciones

This commit is contained in:
2022-12-30 13:18:43 +01:00
parent 4c3c844ccf
commit faf2e69b63
5 changed files with 6 additions and 5 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 523 B

After

Width:  |  Height:  |  Size: 1.5 KiB

View File

@@ -81,6 +81,7 @@ void Cheevos::init()
c.id = 11; c.id = 11;
c.caption = "I LIKE MY MULTICOLOURED FRIENDS"; c.caption = "I LIKE MY MULTICOLOURED FRIENDS";
c.description = "Complete the game without dying"; c.description = "Complete the game without dying";
c.icon = 20;
cheevos.push_back(c); cheevos.push_back(c);
c.id = 12; c.id = 12;

View File

@@ -300,7 +300,7 @@ void EnterID::initOnline()
#else #else
const std::string caption = "IS LOGGED IN"; const std::string caption = "IS LOGGED IN";
#endif #endif
screen->showNotification(options->online.jailerID, caption, 11); screen->showNotification(options->online.jailerID, caption, 12);
if (options->console) if (options->console)
{ {
std::cout << caption << std::endl; std::cout << caption << std::endl;

View File

@@ -163,19 +163,19 @@ void Game::checkEventHandler()
break; break;
case SDL_SCANCODE_F6: case SDL_SCANCODE_F6:
screen->showNotification("ACHIEVEMENT UNLOCKED!", "FINISH THE GAME", 2); screen->showNotification("ACHIEVEMENT UNLOCKED!", "I LIKE MY MULTICOLOURED FRIENDS", 2);
break; break;
case SDL_SCANCODE_F7: case SDL_SCANCODE_F7:
screen->showNotification("NO ICON"); screen->showNotification("ACHIEVEMENT UNLOCKED!", "I LIKE MY MULTICOLOURED FRIENDS", 3);
break; break;
case SDL_SCANCODE_F8: case SDL_SCANCODE_F8:
screen->showNotification("NO ICON", "NO TEXT"); screen->showNotification("JAILDESIGNER IS LOGGED IN", "", 4);
break; break;
case SDL_SCANCODE_F9: case SDL_SCANCODE_F9:
screen->showNotification("JAILDESIGNER", "LOGGED IN", 1); screen->showNotification("JAILDESIGNER IS LOGGED IN", "", 5);
break; break;
#endif #endif