Commit Graph

76 Commits

Author SHA1 Message Date
8656176ab8 Add the playable beatmap as check argument
This is different from the working beatmap's `.Beatmap` property in that it is mutated by the ruleset/editor.

So hit objects, for example, are actually of type `Slider` and such instead of the legacy `ConvertSlider`.

This should be preferred over `workingBeatmap.Beatmap`.
2021-04-20 01:31:51 +02:00
e143afb598 Split out rounded content screen from SetupScreen for use in other places 2021-04-19 14:28:32 +09:00
ef65c8910f Fix resolved fields 2021-04-18 01:15:13 +02:00
448574e7e6 Use WorkingBeatmap instead of IBeatmap
This lets us access things like the background, track, etc. which are necessary for quality and filesize checks.

Also improves the structure of the `CheckBackgroundTest` class in the process.
2021-04-17 17:33:53 +02:00
21e8e5fbca Move common table layout logic into EditorTable abstract class 2021-04-13 23:26:19 +09:00
0edc1a850d Split out common EditorTable base class 2021-04-13 23:05:58 +09:00
464fc02875 Fix some styling issues with the verify screen layout 2021-04-13 19:55:17 +09:00
03ba04e8ce Split out general checks into its own verifier class (and remove static usage) 2021-04-13 19:50:22 +09:00
60c2494b31 Make BeatmapVerifier an interface 2021-04-13 10:40:56 +02:00
008dbc7dd6 Reverse IssueType ordering
Reversed both in the enum and where it's displayed, so ends up the same in the end.
2021-04-12 15:49:13 +02:00
1c69829ad4 Fix Template.Origin -> Check 2021-04-12 15:47:58 +02:00
a2fc9c398f Rename CreateChecker -> CreateBeatmapVerifier 2021-04-12 10:08:30 +02:00
65ebdd8f7a Move check origin from IssueTemplate to Issue
As a result we can also make check an interface, and need to provide the check itself when constructing an issue.
2021-04-12 10:08:08 +02:00
8bf85d737c Change Metadata into a get property 2021-04-12 15:52:29 +09:00
3551322f1d Fix formatting of colour getter 2021-04-12 15:52:18 +09:00
1c553b5d48 Checker -> BeatmapVerifier 2021-04-12 15:29:05 +09:00
7d40b01722 Remove old todo 2021-04-10 15:18:15 +02:00
747e0f00dc Improve table formatting 2021-04-10 13:10:05 +02:00
3a4f2e3d7e Show table even if no issues 2021-04-10 13:09:16 +02:00
c995eca029 Remove todo
Doesn't really matter in the end, as only one checker will run at a time in this case.
2021-04-10 13:05:24 +02:00
6d3cf78e4a Add issue selection
This mainly helps with keeping track of which issue was clicked, since doing so switches tab.
2021-04-10 13:04:39 +02:00
d1007ff26a Move components to more appropriate spot 2021-04-10 13:02:22 +02:00
43174b708c Remove visibility settings
Can look into this later, not really important for a first iteration.
2021-04-10 12:58:40 +02:00
bab36e529a Update UI with new components 2021-04-07 14:38:43 +02:00
b24ce66a0d Add check/issue classes 2021-04-07 14:35:33 +02:00
d58ef5310b Add verify tab
Currently empty, but works.
2021-03-28 17:36:22 +02:00