diff --git a/assets/sounds/music/C418 - Aria Math.mp3 b/assets/sounds/music/C418 - Aria Math.mp3 new file mode 100644 index 00000000..657e7d41 Binary files /dev/null and b/assets/sounds/music/C418 - Aria Math.mp3 differ diff --git a/assets/sounds/music/C418 - Clark.mp3 b/assets/sounds/music/C418 - Clark.mp3 new file mode 100644 index 00000000..0e18ef7d Binary files /dev/null and b/assets/sounds/music/C418 - Clark.mp3 differ diff --git a/assets/sounds/music/C418 - Danny.mp3 b/assets/sounds/music/C418 - Danny.mp3 new file mode 100644 index 00000000..ca5e41d4 Binary files /dev/null and b/assets/sounds/music/C418 - Danny.mp3 differ diff --git a/assets/sounds/music/C418 - Living Mice.mp3 b/assets/sounds/music/C418 - Living Mice.mp3 new file mode 100644 index 00000000..718f13a2 Binary files /dev/null and b/assets/sounds/music/C418 - Living Mice.mp3 differ diff --git a/assets/sounds/music/C418 - Mice on Venus.mp3 b/assets/sounds/music/C418 - Mice on Venus.mp3 new file mode 100644 index 00000000..4fd6f663 Binary files /dev/null and b/assets/sounds/music/C418 - Mice on Venus.mp3 differ diff --git a/assets/sounds/music/C418 - Minecraft.mp3 b/assets/sounds/music/C418 - Minecraft.mp3 new file mode 100644 index 00000000..7b01c949 Binary files /dev/null and b/assets/sounds/music/C418 - Minecraft.mp3 differ diff --git a/assets/sounds/music/C418 - Subwoofer Lullaby.mp3 b/assets/sounds/music/C418 - Subwoofer Lullaby.mp3 new file mode 100644 index 00000000..a6716d9b Binary files /dev/null and b/assets/sounds/music/C418 - Subwoofer Lullaby.mp3 differ diff --git a/assets/sounds/music/C418 - Sweden.mp3 b/assets/sounds/music/C418 - Sweden.mp3 new file mode 100644 index 00000000..aa7a874d Binary files /dev/null and b/assets/sounds/music/C418 - Sweden.mp3 differ diff --git a/assets/sounds/music/C418 - Wet Hands.mp3 b/assets/sounds/music/C418 - Wet Hands.mp3 new file mode 100644 index 00000000..083407cf Binary files /dev/null and b/assets/sounds/music/C418 - Wet Hands.mp3 differ diff --git a/assets/sounds/music/Radioactive - Imagine Dragons.mp3 b/assets/sounds/music/Radioactive - Imagine Dragons.mp3 deleted file mode 100644 index a210754a..00000000 Binary files a/assets/sounds/music/Radioactive - Imagine Dragons.mp3 and /dev/null differ diff --git a/gui/src/UI/UIRadio.cpp b/gui/src/UI/UIRadio.cpp index a7388cec..87fa14fc 100644 --- a/gui/src/UI/UIRadio.cpp +++ b/gui/src/UI/UIRadio.cpp @@ -6,6 +6,8 @@ */ #include "UI/UIRadio.hpp" #include "Components/ComponentMusic.hpp" +#include "Graphics/AssetManager.hpp" +#include #include namespace zappy { @@ -158,6 +160,17 @@ void UIRadio::render() { if (_menuRadio) { _menuRadio->render(); } + + if (!_playlist.empty() && _songIdxM >= 0 && _songIdxM < _playlist.size()) { + std::filesystem::path p(_playlist[_songIdxM]); + std::string songName = p.stem().string(); + raylib::Text(songName, 18, raylib::Color::Black(), + AssetManager::getInstance().getFont("TextFont"), 1.0f) + .Draw(_bounds.x + 32, _bounds.y + 27); + raylib::Text(songName, 18, raylib::Color::White(), + AssetManager::getInstance().getFont("TextFont"), 1.0f) + .Draw(_bounds.x + 30, _bounds.y + 25); + } if (_closeRadio) { _closeRadio->render(); }