diff --git a/coffee_crisis b/coffee_crisis new file mode 100755 index 0000000..7e0563c Binary files /dev/null and b/coffee_crisis differ diff --git a/data/notifications/notify.png b/data/notifications/notify.png new file mode 100644 index 0000000..753f74c Binary files /dev/null and b/data/notifications/notify.png differ diff --git a/source/director.cpp b/source/director.cpp index 238b97c..bdee8ef 100644 --- a/source/director.cpp +++ b/source/director.cpp @@ -237,6 +237,9 @@ bool Director::setFileList() asset->add(prefix + "/data/config/demo.bin", t_data); asset->add(prefix + "/data/config/gamecontrollerdb.txt", t_data); + // Notificaciones + asset->add(prefix + "/data/notifications/notify.png", t_bitmap); + // Musicas asset->add(prefix + "/data/music/intro.ogg", t_music); asset->add(prefix + "/data/music/playing.ogg", t_music); diff --git a/source/logo.cpp b/source/logo.cpp index c81c2dd..97913d3 100644 --- a/source/logo.cpp +++ b/source/logo.cpp @@ -117,6 +117,9 @@ void Logo::update() // Actualiza el contador counter++; + if (counter == 1) + screen->showNotification("hola"); + // Comprueba si ha terminado el logo checkLogoEnd();