From d0a81165e4d23f2f76243342ed00ef83b3fa96fb Mon Sep 17 00:00:00 2001 From: Jesse Plamondon-Willard Date: Sat, 5 Jan 2019 01:44:20 -0500 Subject: [PATCH 1/8] remove unused code --- .../Framework/Menus/MusicManagerMenu.cs | 154 +++++++----------- .../Framework/Music/MusicHexProcessor.cs | 44 ----- .../Framework/Music/MusicManager.cs | 33 ---- .../Framework/Music/MusicPack.cs | 17 -- .../Framework/Music/MusicPackMetaData.cs | 5 +- .../Framework/Music/Song.cs | 77 +-------- .../Framework/Music/SongListNode.cs | 5 - .../Framework/Music/SongSpecifics.cs | 59 +------ .../Framework/Music/WavMusicPack.cs | 102 +----------- .../Framework/Music/XACTMusicPack.cs | 68 +------- .../StardewSymphony.cs | 4 - 11 files changed, 75 insertions(+), 493 deletions(-) diff --git a/GeneralMods/StardewSymphonyRemastered/StardewSymphonyRemastered/Framework/Menus/MusicManagerMenu.cs b/GeneralMods/StardewSymphonyRemastered/StardewSymphonyRemastered/Framework/Menus/MusicManagerMenu.cs index c618f97e..e21498e1 100644 --- a/GeneralMods/StardewSymphonyRemastered/StardewSymphonyRemastered/Framework/Menus/MusicManagerMenu.cs +++ b/GeneralMods/StardewSymphonyRemastered/StardewSymphonyRemastered/Framework/Menus/MusicManagerMenu.cs @@ -3,6 +3,7 @@ using System.Collections.Generic; using System.Linq; using Microsoft.Xna.Framework; using Microsoft.Xna.Framework.Graphics; +using Microsoft.Xna.Framework.Input; using StardewValley; using StardewValley.Locations; using StardustCore.Animations; @@ -77,17 +78,14 @@ namespace StardewSymphonyRemastered.Framework.Menus public bool searchBoxSelected; - /// Construct an instance. - public MusicManagerMenu() { } - /// Construct an instance. public MusicManagerMenu(float width, float height) { this.width = (int)width; this.height = (int)height; this.texturedStrings = new List(); - this.musicAlbumButtons = new List(); - //thismusicAlbumButtons.Add(new Button("myButton", new Rectangle(100, 100, 64, 64), StardewSymphony.textureManager.getTexture("MusicNote").Copy(StardewSymphony.ModHelper), "mynote", new Rectangle(0, 0, 16, 16), 4f, new StardustCore.Animations.Animation(new Rectangle(0, 0, 16, 16)), Color.White, Color.White,new ButtonFunctionality(new DelegatePairing(hello,null),null,null),false)); //A button that does nothing on the left click. + this.musicAlbumButtons = new List