1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-18 11:02:57 +08:00
Commit Graph

71189 Commits

Author SHA1 Message Date
Dan Balasescu
6546dc0969
Merge pull request #31381 from peppy/auto-start-10-seconds
Add auto-start setting for 10 seconds
2025-01-02 15:09:23 +09:00
Dean Herbert
cca63b599e
Always block scroll input above editor toolbox areas
Originally this was an intentional choice (see
https://github.com/ppy/osu/pull/18088) when these controls were more
transparent and didn't for a solid toolbox area.

But this is no longer the case, so for now let's always block scroll to
match user expectations.

Closes #31262.
2025-01-02 14:31:27 +09:00
Dean Herbert
1211f6cf4c
Add auto-start setting for 10 seconds
As touched on in
https://github.com/ppy/osu/discussions/31205#discussioncomment-11671185.

Doesn't require server-side changes as the server just uses a
`TimeSpan`.
2025-01-02 13:06:34 +09:00
Dan Balasescu
9da27b5fe5
Merge pull request #31305 from bdach/round-coordinates-on-legacy-export
Round object coordinates to nearest integers on legacy export rather than truncating
2025-01-01 21:05:18 +09:00
Salman Alshamrani
e5713e5239 Fix triangles judgement mispositioned on a miss
Similar to mania's `ArgonJudgementPiece`.
2024-12-31 21:31:54 -05:00
Dean Herbert
8196325815
Merge pull request #31363 from hrfarmer/game-mode 2025-01-01 11:11:30 +09:00
Salman Alshamrani
3ac2d90f19 Add explanatory note 2024-12-31 20:44:50 -05:00
Salman Alshamrani
64e557d00f Simplify portrait check 2024-12-31 20:01:21 -05:00
Salman Alshamrani
bea61d2483 Replace ManiaTouchInputArea with touchable columns 2024-12-31 12:28:04 -05:00
Salman Alshamrani
1e08b3dbda Make mania judgements relative to the hit target position
This improves display in portrait screen, where the stage is scaled up.
2024-12-31 12:25:58 -05:00
Salman Alshamrani
0cd7f1b2d4 Abstractify orientation handling and add Android support 2024-12-31 12:25:58 -05:00
Salman Alshamrani
d7e4038f4a Keep game in portrait mode when restarting 2024-12-31 12:25:58 -05:00
Salman Alshamrani
9d08bc2b50 Improve osu!mania gameplay scaling on portrait orientation 2024-12-31 12:25:58 -05:00
Bartłomiej Dach
78c7ee1fff
Fix code quality 2024-12-31 15:18:38 +01:00
Bartłomiej Dach
929173c971
Merge pull request #31342 from minetoblend/feature/speedy-metronome
Speed up metronome in timing screen when pressing control key
2024-12-31 14:49:48 +01:00
Bartłomiej Dach
1803ee4025
Rename method 2024-12-31 14:09:36 +01:00
Bartłomiej Dach
cd07ddfe28
Update outdated assertions 2024-12-31 14:08:44 +01:00
Bartłomiej Dach
88311f5442
Remove unused method 2024-12-31 14:02:07 +01:00
Bartłomiej Dach
21dba621f0
Display storyboard in editor background
Fixes the main part of https://github.com/ppy/osu/issues/31144.
Support for selecting a video will come later.

Making this work was an absolutely awful time full of dealing with
delightfully kooky issues, and yielded in a very weird-shaped
contraption. There is at least one issue remaining wherein storyboard
videos do not actually display until the track is started in editor, but
that is 99% a framework issue and I do not currently have the mental
fortitude to diagnose further.
2024-12-31 13:57:50 +01:00
Dean Herbert
b09a34cfa8
Merge pull request #31362 from CuNO3/master
Ignore whitespace while 2FA authentication
2024-12-31 21:14:42 +09:00
Dean Herbert
6ff3110433
Consolidate variable 2024-12-31 21:14:15 +09:00
aychar
333ae75a82
Add game mode key to plist 2024-12-31 00:29:36 -06:00
Unili
acd51c8e9d
Merge branch 'ppy:master' into master 2024-12-31 11:35:55 +08:00
CuNO3
22c8229993 Ignore whitespace while 2FA authentication 2024-12-31 10:43:48 +08:00
Marvin Schürz
0641d2b510 Remove turboweird function and update displayed bpm text 2024-12-30 19:12:21 +01:00
Dean Herbert
73083e1337
Merge pull request #31350 from bdach/fix-slider-drag-marker-blocking-context-menu
Fix slider end drag marker blocking open of control point piece context menus
2024-12-30 22:27:30 +09:00
Bartłomiej Dach
06879eee39
Fix slider repeats not properly respecting "show hit markers" setting
Closes https://github.com/ppy/osu/issues/31286.

Curious on thoughts about how the instant arrow fade looks on
non-classic skins. On argon it's probably fine, but it does look a
little off on triangles...
2024-12-30 13:52:50 +01:00
Dan Balasescu
11a4e3beb4
Merge pull request #31287 from stanriders/change-relax-leniency
Change `OsuModRelax` hit leniency to be the same as in stable
2024-12-30 21:42:48 +09:00
Dan Balasescu
643e849029
Merge branch 'master' into fix-slider-drag-marker-blocking-context-menu 2024-12-30 21:34:11 +09:00
Dan Balasescu
c56a6ed595
Merge pull request #31348 from bdach/fix-slider-quick-delete
Fix quick-deleting unselected slider path control point also deleting all selected control points
2024-12-30 21:33:57 +09:00
Dan Balasescu
ab111178d0
Merge pull request #31352 from bdach/collapse-sample-point-indicators-better
Take custom bank name length into account when collapsing sample point indicators
2024-12-30 21:32:07 +09:00
Bartłomiej Dach
693db097ee
Take custom bank name length into account when collapsing sample point indicators
Would close https://github.com/ppy/osu/issues/31312.

Not super happy with the performance overhead of this, but this is
already a heuristic-based implementation to avoid every-frame
`.ChildrenOfType<>()` calls or similar, so not super sure how to do
better. The `Array.Contains()` check stands out in profiling, but
without it the indicators can collapse *too* eagerly sometimes.
2024-12-30 12:04:41 +01:00
Bartłomiej Dach
4d326ec31f
Fix slider end drag marker blocking open of control point piece context menus
Closes https://github.com/ppy/osu/issues/31323.
2024-12-30 11:07:25 +01:00
Bartłomiej Dach
a4c6f221c2
Add extra test coverage to prevent regressions
Covers scenario described in https://github.com/ppy/osu/issues/31176 and
fixed in https://github.com/ppy/osu/pull/31184.
2024-12-30 11:07:21 +01:00
Bartłomiej Dach
2a758bc3df
Add failing test case 2024-12-30 10:47:55 +01:00
Bartłomiej Dach
182f998f9b
Fix quick-deleting unselected slider path control point also deleting all selected control points
Closes https://github.com/ppy/osu/issues/31308.

Logic matches corresponding quick-delete logic in
130802e480/osu.Game/Screens/Edit/Compose/Components/SelectionHandler.cs (L307-L316).
2024-12-30 09:44:04 +01:00
Bartłomiej Dach
aa67f87fe9
Add failing test coverage 2024-12-30 09:42:24 +01:00
Bartłomiej Dach
f18114d2fb
Merge pull request #31282 from peppy/fix-volume-key-repeat
Fix volume adjust key repeat not working as expected
2024-12-30 08:49:35 +01:00
Salman Alshamrani
7563a18c7f Allow locking orientation on iOS in certain circumstances 2024-12-29 22:15:21 -05:00
Marvin Schürz
9ea7afb38e Use return value instead of field to force weight position update 2024-12-30 03:59:54 +01:00
Marvin Schürz
aa6763785c Use 3x speed instead when beat snap divisor is divisible by 3 2024-12-30 03:21:52 +01:00
Marvin Schürz
8be500535d Speed up metronome when holding control 2024-12-30 03:13:22 +01:00
Dean Herbert
10ee2e28c2
Merge pull request #31303 from bdach/pause-on-gameplay-test
Pause playback when entering gameplay test from editor
2024-12-28 04:41:28 +09:00
Dean Herbert
ac348b8780
Merge pull request #31307 from bdach/id3-tags
Populate metadata from ID3 tags when changing beatmap audio track in editor
2024-12-28 02:41:49 +09:00
Dean Herbert
1b2a223a5f
Fix failing test scene due to new dependency 2024-12-28 01:02:15 +09:00
Bartłomiej Dach
6a6db5a22b
Populate metadata from ID3 tags when changing beatmap audio track in editor
- Closes https://github.com/ppy/osu/issues/21189
- Supersedes / closes https://github.com/ppy/osu-framework/pull/5627
- Supersedes / closes https://github.com/ppy/osu/pull/22235

The reason why I opted for a complete rewrite rather than a revival of
that aforementioned pull series is that it always felt quite gross to me
to be pulling framework's audio subsystem into the task of reading ID3
tags, and I also partially don't believe that BASS is *good* at reading
ID3 tags. Meanwhile, we already have another library pulled in that is
*explicitly* intended for reading multimedia metadata, and using it
does not require framework changes. (And it was pulled in explicitly for
use in the editor verify tab as well.)

The hard and dumb part of this diff is hacking the gibson such that
the metadata section on setup screen actually *updates itself*
after the resources section is done doing its thing. After significant
gnashing of teeth I just did the bare minimum to make work by caching
a common parent and exposing an `Action?` on it. If anyone has better
ideas, I'm all ears.
2024-12-27 15:16:03 +01:00
Dean Herbert
a9a5bb2c6a
Remove duplicated block 2024-12-27 21:36:07 +09:00
Bartłomiej Dach
e7225399a2
Fix slider event generator incorrectly not generating repeats when tick distance is zero
RFC. This closes https://github.com/ppy/osu/issues/31186.

To explain why: The issue occurs on
https://osu.ppy.sh/beatmapsets/594828#osu/1258033, specifically on the
slider at time 128604. The failure site is

	fa0d2f4af2/osu.Game.Rulesets.Osu/Edit/Blueprints/Sliders/SliderCircleOverlay.cs (L65-L66)

wherein `LastRepeat` is `null`, even though the slider's `RepeatCount`
is 1 and thus `SpanCount` is 2.

In this case, `SliderEventGenerator` is given a non-zero `tickDistance`
but a zero `length`. The former is clamped to the latter:

	fa0d2f4af2/osu.Game/Rulesets/Objects/SliderEventGenerator.cs (L34)

Because of this, a whole block of code pertaining to tick generation
gets turned off, because of zero tick spacing - however, that block also
includes within it *repeat* generation, for seemingly very little reason
whatsoever:

	fa0d2f4af2/osu.Game/Rulesets/Objects/SliderEventGenerator.cs (L47-L77)

While a zero tick distance would indeed cause `generateTicks()` to loop
forever, it should have absolutely no effect on repeats.

While this *is* ultimately an aspire-tier bug caused by people pushing
things to limits, I do believe that in this case a fix is warranted
because of how hard the current behaviour violates invariants. I do not
like the possibility of having a slider with multiple spans and no
repeats.
2024-12-27 12:38:31 +01:00
Bartłomiej Dach
ecf64dfc57
Add failing test case 2024-12-27 12:38:31 +01:00
Bartłomiej Dach
e9762422b3
Round object coordinates to nearest integers rather than truncating
Addresses https://github.com/ppy/osu/issues/31256.
2024-12-27 11:10:29 +01:00