Commit Graph

38749 Commits

Author SHA1 Message Date
b145f46a0a Merge branch 'master' into skin-components-list 2021-04-30 21:10:55 +03:00
34a8a75f07 Merge pull request #12588 from Naxesss/basic-compose-checks
Add unsnapped and concurrent object checks
2021-05-01 00:20:02 +09:00
e6eea73b8b Merge branch 'master' into basic-compose-checks 2021-04-30 23:41:46 +09:00
872c52b35f Merge pull request #12625 from peppy/simpler-editor-move-events
Refactor `SelectionBlueprint` and `MoveSelectionEvent` to work in screen-space coordinates
2021-04-30 19:37:31 +09:00
c303043841 Merge branch 'master' into simpler-editor-move-events 2021-04-30 18:55:39 +09:00
5285b71ecb Merge pull request #12596 from peppy/abstract-blueprint-handling
Make editor blueprint/selection components abstract
2021-04-30 18:55:20 +09:00
e663629bc6 Match button appearance to that of the beatmap editor 2021-04-30 15:22:51 +09:00
a1e64f4e3c Use the existing toolbox design 2021-04-30 14:41:06 +09:00
bde72faa7c Limit components list height to better align with actual viewport 2021-04-30 13:10:42 +09:00
20ff05c9ff Fix crosstalk between notification/setting overlay nudge padding and skin overlay position adjust 2021-04-30 13:10:42 +09:00
8b82a07914 Move skin-related interfaces out of HUD namespace 2021-04-30 13:10:42 +09:00
5585a7d438 Add basic interfaces for skinnable target containers 2021-04-30 13:10:42 +09:00
ae9d1dc40b Add component list to main editor interface and enable basic placement 2021-04-30 13:10:42 +09:00
6442fb819f Split out component from test scene and fix SongProgress 2021-04-30 13:10:42 +09:00
4770a64709 Add proof of concept components list 2021-04-30 13:10:42 +09:00
cdef07b2ee Fix blueprints not hiding when deleting elements 2021-04-30 13:09:57 +09:00
3b2243fa24 Merge pull request #12610 from PercyDan54/export-precision-loss
Fix possible precision loss on exporting legacy replays
2021-04-30 11:19:27 +09:00
8d056ff38f Remove redundant parenthesis 2021-04-29 18:23:22 +09:00
e716162ac2 Fix formatting 2021-04-29 17:19:25 +08:00
63435ba548 Ensure toolbar doesn't overlap editor content 2021-04-29 17:41:07 +09:00
fb64f6faf2 Add ability to exit using game "back" binding 2021-04-29 17:40:58 +09:00
a7982787d4 Add basic header text 2021-04-29 17:40:48 +09:00
b936043956 Add the skin editor to the game 2021-04-29 17:20:22 +09:00
141d3af302 Add the ability to temporarily disable user scaling on a ScalingContainer 2021-04-29 17:19:47 +09:00
b460181f15 Add note about rotation not working as expected 2021-04-29 16:16:52 +09:00
1516e2ffef Update blueprint implementation in line with #12625. 2021-04-29 16:12:31 +09:00
434e63d629 Add skin customisation support to song progress display 2021-04-29 16:12:15 +09:00
3c84b0d8c6 Fix selection screen point being wrong since recent refactors 2021-04-29 16:12:15 +09:00
de73ac7cec Allow skin editor to be invoked from any context
This is kind of how I see things working going forward, where the editor
can be applied to anything in the game which supports it (ie. a results
screen, gameplay screen, etc.) and it will immediately allow changing
the interface.

This adds a test scene which shows this working with gameplay.
2021-04-29 16:12:15 +09:00
74c6fdc4b8 Add DrawableRuleset to the skin editor test to get a hit error meter to display 2021-04-29 16:12:15 +09:00
4f9e1e4945 Check for new components every one second to handle late loaders 2021-04-29 16:12:15 +09:00
fd587a82ff Replace abstract class with interface, attached to the actual components (not skinnable wrapper) 2021-04-29 16:12:15 +09:00
defa350aa7 Set defaults on SkinnableHUDComponent to cancel out relative size default
Specifying locally on each HUD component looks to make more sense.
2021-04-29 16:12:15 +09:00
2540d6029c Use AutoSize for SkinnableHudComponents 2021-04-29 16:12:15 +09:00
59339aa4fd Add support for x/y position and scale back in 2021-04-29 16:12:15 +09:00
1cb8fc9a24 Extract editor classes out of test namespace and add anchor support 2021-04-29 16:12:15 +09:00
74fb7cd180 Extract storable attributes to bindables 2021-04-29 16:12:15 +09:00
99b428ee4b Add very basic skin editor test 2021-04-29 16:12:14 +09:00
fca173225a Refactor editor selection/blueprint components to be generic 2021-04-29 16:12:14 +09:00
2d17219c8f Setup basic test and classes for scale adjustment 2021-04-29 16:12:14 +09:00
9c62c90cfc Refactor SelectionBlueprint and MoveSelectionEvent to work in screen-space coordinates
Until now, the implementation of the overrides in `SelectionBlueprint`
have been confusing to the point where I would just implement by
trial-and-error (or copying from an existing implementation). This was
due to a combination of using "object" space coordinates
(ie. the thing the `Blueprint` is operating on) and screen-space coordinates.

This change switches all event related coordinates to screen-space,
which is how we already handle rotation/scale operations. With the
introduction of other editor types where the related objects are
drawables, this also makes a lot more sense.
2021-04-29 16:10:42 +09:00
5b009c21bb Merge branch 'master' into abstract-blueprint-handling 2021-04-29 16:10:22 +09:00
d845f82876 Merge remote-tracking branch 'upstream/dependabot/nuget/Microsoft.AspNetCore.SignalR.Protocols.NewtonsoftJson-5.0.5' 2021-04-29 14:22:39 +09:00
721e7f22da Merge remote-tracking branch 'upstream/dependabot/nuget/Microsoft.AspNetCore.SignalR.Protocols.MessagePack-5.0.5' 2021-04-29 14:22:17 +09:00
73e029da13 Merge remote-tracking branch 'upstream/dependabot/nuget/Microsoft.AspNetCore.SignalR.Client-5.0.5' 2021-04-29 14:21:55 +09:00
f5435cd2d2 Merge remote-tracking branch 'upstream/dependabot/nuget/Humanizer-2.9.9' 2021-04-29 14:21:51 +09:00
20782e69b1 Merge remote-tracking branch 'upstream/dependabot/nuget/NUnit-3.13.2' 2021-04-29 14:21:46 +09:00
80fc7ae89d Merge remote-tracking branch 'upstream/dependabot/nuget/Sentry-3.3.4' 2021-04-29 14:20:38 +09:00
1b3b07d6a9 Bump NUnit from 3.13.1 to 3.13.2
Bumps [NUnit](https://github.com/nunit/nunit) from 3.13.1 to 3.13.2.
- [Release notes](https://github.com/nunit/nunit/releases)
- [Changelog](https://github.com/nunit/nunit/blob/v3.13.2/CHANGES.md)
- [Commits](https://github.com/nunit/nunit/compare/v3.13.1...v3.13.2)

Signed-off-by: dependabot[bot] <support@github.com>
2021-04-29 03:51:12 +00:00
1e7feff49d Bump Humanizer from 2.8.26 to 2.9.9
Bumps [Humanizer](https://github.com/Humanizr/Humanizer) from 2.8.26 to 2.9.9.
- [Release notes](https://github.com/Humanizr/Humanizer/releases)
- [Changelog](https://github.com/Humanizr/Humanizer/blob/main/release_notes.md)
- [Commits](https://github.com/Humanizr/Humanizer/compare/v2.8.26...v2.9.9)

Signed-off-by: dependabot[bot] <support@github.com>
2021-04-29 03:51:08 +00:00