Commit Graph

1649 Commits

Author SHA1 Message Date
362a09ca73 Fix up + reduce complexity of HOCEventQueue 2021-05-13 21:41:49 +09:00
aaf31af326 Add blueprint transferral 2021-05-13 21:16:19 +09:00
86042e1763 Implement HitObjectContainerEventQueue 2021-05-13 21:15:47 +09:00
746862dcb1 Merge pull request #12750 from peppy/skin-serialisation
Add skin editor saving / loading support
2021-05-13 20:58:03 +09:00
ffb6135a1b Rework hitobject blueprints to take in hitobject models 2021-05-13 19:53:32 +09:00
3c471837f8 Merge branch 'master' into skin-serialisation 2021-05-13 19:49:55 +09:00
a3869c02f4 Merge branch 'master' into fix-two-hovered-handles 2021-05-13 19:24:42 +09:00
19800f5f7f Move IBeatmap arg into context 2021-05-13 11:24:22 +02:00
b37cb3bdbe Change interpreted difficulty from bindable to regular value
There's no reason for why checks would need this to be bindable. A 1-directional binding is more appropriate.
2021-05-13 09:00:30 +02:00
4eeeaf6a1a Keep track of local bound copy 2021-05-13 07:57:32 +02:00
e7c7786db3 Merge branch 'master' into beatmap-verifier-context 2021-05-13 07:40:33 +02:00
b81f86bd4d Move DI resolution to inside BDL parameters 2021-05-13 13:54:06 +09:00
c6648112e5 Simplify binding flow in InterpretationSection 2021-05-13 13:51:41 +09:00
cdcbaf4291 Tidy up specification of SettingsSection 2021-05-13 13:45:10 +09:00
47948d7b34 Set default for bindable in object initializer
Fixes the CI failure.
2021-05-13 06:08:48 +02:00
fb305130de Also refresh when interpreted difficulty changes 2021-05-13 06:00:21 +02:00
ee0a6ba93e Use local bound copy in InterpretationSection as well
Else we're relying on the `VerifyScreen`'s bindable instance, and by extension the `VerifyScreen` instance itself.
2021-05-13 05:59:49 +02:00
e80d8f6922 Keep track of local bound copy 2021-05-13 05:46:47 +02:00
04c1585eb2 Use more consistent lambda discards 2021-05-13 05:38:45 +02:00
e86834b740 Use local bound copy for HiddenIssueTypes 2021-05-13 05:25:20 +02:00
c8d21f2c3f Isolate refreshing to IssueList 2021-05-13 05:25:02 +02:00
fbb76ba598 Split ShowIssueTypes dict into hidden and configurable lists
This way `VerifyScreen` is decoupled from which options `VisibilitySection` provides.

Bindings are a bit less neat, though.
2021-05-13 04:50:32 +02:00
dd8423c4c4 Set interpreted difficulty to correct default 2021-05-13 04:36:20 +02:00
6806e40ad9 Remove unnecessary local variable
This now exists in `VerifyScreen`, which we can access from here.
2021-05-13 04:30:40 +02:00
56bd897666 Move ShowIssueTypes to VerifyScreen 2021-05-13 04:29:27 +02:00
96d3586294 Fix rotation handle visibility logic not handling two handles hovered at once 2021-05-12 11:42:55 +03:00
d2e0e8ad94 Reverse direction of binding to allow for better abstract class definitions 2021-05-12 16:53:58 +09:00
17e3764576 Rename Settings to have a more localised name 2021-05-12 16:38:04 +09:00
64d96b06a6 Add interpreted difficulty info to BeatmapVerifierContext
Enables checks to make use of the difficulty level as shown in the settings UI.
2021-05-12 02:30:21 +02:00
c13b93e6f1 Replace IWorkingBeatmap arg with BeatmapVerifierContext in checks
This simplifies passing of contextual information by enabling addition without needing to refactor lots of classes.

See next commit for example.
2021-05-12 02:29:18 +02:00
4aeaec6ecc Add InterpretationSection and its bindable in IssueList
We'll eventually connect that bindable so that checks can access it.
2021-05-12 01:32:18 +02:00
ad78aec1ef Refresh IssueList on changes in VisibilitySection 2021-05-12 01:30:45 +02:00
1bb7d412da Add IssueList filtering based on those bindables 2021-05-12 01:29:46 +02:00
2e4399f0c1 Add VisibilitySection and its bindables in IssueList 2021-05-12 01:27:21 +02:00
01b8794757 Add abstract Section class
Similar to `Section` in the timing screen, but does not make use of checkboxes, nor specific to control points.

So there's a lot of things that differ, hence new class instead of factoring that out.
2021-05-12 01:26:12 +02:00
1de35f880b Separate IssueList into own class 2021-05-12 01:23:31 +02:00
d3c1ec55ee Take IssueList in IssueSettings constructor
We'll be using this for bindables later.
2021-05-12 01:22:32 +02:00
97bd482d4d Factor out load from settings into new Settings class 2021-05-12 01:21:38 +02:00
a4e0529617 Replace polling logic with direct bindable reactions 2021-05-11 18:39:15 +09:00
6bb52ebcf8 Merge pull request #12570 from frenzibyte/corner-rotation-controls
Add rotation controls to editor selection box corners
2021-05-10 23:09:44 +09:00
fc2a527e9d Revert "Guard against potentially null track if ever"
This reverts commit b1134c3857.
2021-05-07 09:57:08 +03:00
7c4e54a1d4 Unrevert null-colaescing/conditionals removal 2021-05-07 09:54:14 +03:00
b1134c3857 Guard against potentially null track if ever 2021-05-07 08:30:50 +03:00
37f44d2e37 Revert wrong not-null track changes
This reverts commit f9d99a9882.
This reverts commit 71547bece0.
2021-05-07 08:28:44 +03:00
71547bece0 Remove any null-coalescing/conditionals in WorkingBeatmap.Track usages 2021-05-07 07:46:23 +03:00
539643c72b Set loadable beatmap track to clock immediately in BDL
This reverts commit 84da247002.

Use loadable beatmap track for clock directly in BDL
2021-05-07 07:21:56 +03:00
84da247002 Fix editor clock using the wrong beatmap track on creation 2021-05-07 05:32:55 +03:00
2a67361dc0 OnOperation -> TriggerOperation 2021-05-05 21:50:16 +03:00
3cac837acf Merge branch 'master' into skin-bindables 2021-05-05 20:16:27 +02:00
eeeb001d62 Refactor combo colour retrieval logic to request skin lookups instead 2021-05-05 07:17:27 +03:00