Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New scanning #261

Merged
merged 17 commits into from
May 6, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion .editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,5 @@ csharp_new_line_before_finally = false
csharp_new_line_before_members_in_object_initializers = false
csharp_new_line_before_members_in_anonymous_types = false
csharp_new_line_between_query_expression_clauses = false
csharp_space_after_cast = true
csharp_space_after_cast = true
csharp_space_around_declaration_statements = ignore
3 changes: 3 additions & 0 deletions Assets/Art/UI/LoadingBackground.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
123 changes: 123 additions & 0 deletions Assets/Art/UI/LoadingBackground.png.meta

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 5 additions & 0 deletions Assets/Plugins/MoonscraperChartParser/MoonSong.cs
Original file line number Diff line number Diff line change
Expand Up @@ -233,6 +233,11 @@ public bool ChartExistsForInstrument(MoonInstrument moonInstrument)

return false;
}

public bool DoesChartExist(MoonInstrument moonInstrument, Difficulty difficulty)
{
return GetChart(moonInstrument, difficulty).chartObjects.Count > 0;
}

/// <summary>
/// Converts a time value into a tick position value. May be inaccurate due to interger rounding.
Expand Down
Loading