fix chart reading, scroll chart notes!

This commit is contained in:
muskit
2023-09-16 00:40:36 -07:00
parent 6a98acce67
commit c8bd5c16c8
9 changed files with 126 additions and 29 deletions
-4
View File
@@ -13,7 +13,6 @@ namespace WacK.Data.Chart
/// </summary>
public class Chart
{
public static bool doneLoading { get; private set; } = false;
// Key of dictionaries are in milliseconds
// List is for chords
public SortedList<float, List<NotePlay>> playNotes { get; private set; }
@@ -23,7 +22,6 @@ namespace WacK.Data.Chart
public Chart(string chartPath)
{
doneLoading = false;
var file = FileAccess.Open(chartPath, FileAccess.ModeFlags.Read);
if (file == null)
{
@@ -35,8 +33,6 @@ namespace WacK.Data.Chart
var mer = new Mer.Mer(str);
Load(mer);
doneLoading = true;
}
// place notes and events relative to the previous