From e42e91e30d2c9562c8ccd22125dd02efb4686d79 Mon Sep 17 00:00:00 2001 From: Date: Sat, 31 Mar 2018 01:47:10 -0700 Subject: [PATCH] Made the song selection menu. Can now click songs to play them. Now to make the selected songmenu where you can play the song or set triggers. --- GeneralMods/MapEvents/EventSystem.cs | 7 +- .../Framework/Menus/MusicManagerMenu.cs | 334 ++++++++++++++---- .../Framework/Music/MusicManager.cs | 8 +- .../UIUtilities/MenuComponents/Button.cs | 57 ++- .../Fonts/Components/TexturedString.cs | 42 ++- .../SpriteFonts/Fonts/VanillaFont.cs | 29 +- .../UIUtilities/Texture2DExtended.cs | 10 + 7 files changed, 407 insertions(+), 80 deletions(-) diff --git a/GeneralMods/MapEvents/EventSystem.cs b/GeneralMods/MapEvents/EventSystem.cs index f396aab4..a173367e 100644 --- a/GeneralMods/MapEvents/EventSystem.cs +++ b/GeneralMods/MapEvents/EventSystem.cs @@ -7,7 +7,12 @@ using System.Text; using System.Threading.Tasks; namespace EventSystem -{ +{ + /* + *TODO: Make Bed/Sleep Event. + * + * + */ public class EventSystem: Mod { public static IModHelper ModHelper; diff --git a/GeneralMods/StardewSymphonyRemastered/StardewSymphonyRemastered/Framework/Menus/MusicManagerMenu.cs b/GeneralMods/StardewSymphonyRemastered/StardewSymphonyRemastered/Framework/Menus/MusicManagerMenu.cs index f050ccdd..9e15db99 100644 --- a/GeneralMods/StardewSymphonyRemastered/StardewSymphonyRemastered/Framework/Menus/MusicManagerMenu.cs +++ b/GeneralMods/StardewSymphonyRemastered/StardewSymphonyRemastered/Framework/Menus/MusicManagerMenu.cs @@ -6,6 +6,7 @@ using System.Threading.Tasks; using Microsoft.Xna.Framework; using Microsoft.Xna.Framework.Graphics; using StardewValley; +using StardustCore.Animations; using StardustCore.UIUtilities; using StardustCore.UIUtilities.MenuComponents; using StardustCore.UIUtilities.MenuComponents.Delegates; @@ -21,14 +22,16 @@ namespace StardewSymphonyRemastered.Framework.Menus public enum DrawMode { AlbumSelection, - SongSelection, AlbumFancySelection, + SongSelectionMode, } public List