diff --git a/GeneralMods/StardewSymphonyRemastered/StardewSymphonyRemastered/Config.cs b/GeneralMods/StardewSymphonyRemastered/StardewSymphonyRemastered/Config.cs index 96b93350..7342582c 100644 --- a/GeneralMods/StardewSymphonyRemastered/StardewSymphonyRemastered/Config.cs +++ b/GeneralMods/StardewSymphonyRemastered/StardewSymphonyRemastered/Config.cs @@ -3,22 +3,22 @@ namespace StardewSymphonyRemastered /// A class that handles all of the config files for this mod. public class Config { - /// Whether or not to display debug log information on the SMAPI console for this mod. + /// Whether to show debug logs in the SMAPI console. public bool EnableDebugLog { get; set; } = false; - /// The minimum delay between songs in terms of milliseconds. + /// The minimum delay between songs in milliseconds. public int MinimumDelayBetweenSongsInMilliseconds { get; set; } = 5000; - /// The maximum delay between songs in terms of milliseconds. + /// The maximum delay between songs in milliseconds. public int MaximumDelayBetweenSongsInMilliseconds { get; set; } = 60000; - /// The key binding to open up the menu music. + /// The key binding to open the menu music. public string KeyBinding { get; set; } = "L"; - /// Used to write a .json file for every possible option for a music pack. Use at your own risk! - public bool writeAllConfigMusicOptions { get; set; } = false; + /// Whether to write a JSON file for every possible option for a music pack. Use at your own risk! + public bool WriteAllConfigMusicOptions { get; set; } = false; - /// Used to completely disable the Stardew Valley OST. - public bool disableStardewMusic { get; set; } = false; + /// Whether to completely disable the Stardew Valley OST. + public bool DisableStardewMusic { get; set; } = false; } } diff --git a/GeneralMods/StardewSymphonyRemastered/StardewSymphonyRemastered/Content/Music/Templates/WAV/MusicPackInformation.json b/GeneralMods/StardewSymphonyRemastered/StardewSymphonyRemastered/Content/Music/Templates/WAV/MusicPackInformation.json deleted file mode 100644 index c82b910e..00000000 --- a/GeneralMods/StardewSymphonyRemastered/StardewSymphonyRemastered/Content/Music/Templates/WAV/MusicPackInformation.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "name": "Omegas's Music Data Example", - "author": "Omegasis", - "description": "Just a simple example of how metadata is formated for music packs. Feel free to copy and edit this one!", - "versionInfo": "1.0.0 CoolExample", - "pathToMusicPackIcon": "Icon", - "Icon": null -} \ No newline at end of file diff --git a/GeneralMods/StardewSymphonyRemastered/StardewSymphonyRemastered/Content/Music/Templates/WAV/Songs/SongsGoHere.txt b/GeneralMods/StardewSymphonyRemastered/StardewSymphonyRemastered/Content/Music/Templates/WAV/Songs/SongsGoHere.txt deleted file mode 100644 index e69de29b..00000000 diff --git a/GeneralMods/StardewSymphonyRemastered/StardewSymphonyRemastered/Content/Music/Templates/WAV/readme.txt b/GeneralMods/StardewSymphonyRemastered/StardewSymphonyRemastered/Content/Music/Templates/WAV/readme.txt deleted file mode 100644 index 4d4fbb8f..00000000 --- a/GeneralMods/StardewSymphonyRemastered/StardewSymphonyRemastered/Content/Music/Templates/WAV/readme.txt +++ /dev/null @@ -1 +0,0 @@ -Place the .wav song files in the Songs folder, modify the MusicPackInformation.json as desired, and then run! \ No newline at end of file diff --git a/GeneralMods/StardewSymphonyRemastered/StardewSymphonyRemastered/Content/Music/Templates/XACT/MusicPackInformation.json b/GeneralMods/StardewSymphonyRemastered/StardewSymphonyRemastered/Content/Music/Templates/XACT/MusicPackInformation.json deleted file mode 100644 index d18bc584..00000000 --- a/GeneralMods/StardewSymphonyRemastered/StardewSymphonyRemastered/Content/Music/Templates/XACT/MusicPackInformation.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "name": "Omegas's Music Data Example", - "author": "Omegasis", - "description": "Just a simple example of how metadata is formated for music packs. Feel free to copy and edit this one!", - "versionInfo": "1.0.0 CoolExample", - "pathToMusicPackIcon": "Icon.png", - "Icon": null -} \ No newline at end of file diff --git a/GeneralMods/StardewSymphonyRemastered/StardewSymphonyRemastered/Content/Music/Templates/XACT/readme.txt b/GeneralMods/StardewSymphonyRemastered/StardewSymphonyRemastered/Content/Music/Templates/XACT/readme.txt deleted file mode 100644 index 3942c582..00000000 --- a/GeneralMods/StardewSymphonyRemastered/StardewSymphonyRemastered/Content/Music/Templates/XACT/readme.txt +++ /dev/null @@ -1,3 +0,0 @@ -Place the Wave Bank.xwb file and Sound Bank.xsb file you created in XACT in a similar directory in Content/Music/XACT/SoundPackName. -Modify MusicPackInformation.json as desire! -Run the mod! \ No newline at end of file diff --git a/GeneralMods/StardewSymphonyRemastered/StardewSymphonyRemastered/Framework/Menus/MusicManagerMenu.cs b/GeneralMods/StardewSymphonyRemastered/StardewSymphonyRemastered/Framework/Menus/MusicManagerMenu.cs index c618f97e..23f70ec6 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,52 +78,35 @@ 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