1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-18 10:53:21 +08:00
Commit Graph

6185 Commits

Author SHA1 Message Date
Dan Balasescu
471180d947
Merge pull request #31519 from EVAST9919/trail-rotate
Add support for `CursorTrailRotate` skin command
2025-01-16 14:56:53 +09:00
Dan Balasescu
920648c267
Minor refactorings and xmldoc additions 2025-01-16 14:00:27 +09:00
Andrei Zavatski
2eb63e6fe0 Simplify rotation sync with no clocks involved 2025-01-15 20:38:51 +03:00
Dean Herbert
ef7982fbfa
Merge pull request #31446 from EVAST9919/new-combo-editor
Fix performance degradation while trying to place object with a new combo in the editor.
2025-01-15 12:56:06 +09:00
Andrei Zavatski
7a6355d7cf Sync cursor trail rotation with the cursor 2025-01-14 23:12:23 +03:00
Andrei Zavatski
208824e9f4 Add ability for cursor trail to spin 2025-01-14 22:16:32 +03:00
Bartłomiej Dach
933f5db208
Merge branch 'master' into new-combo-editor 2025-01-10 14:13:14 +01:00
Bartłomiej Dach
0d9a3428ae
Merge conditionals 2025-01-10 14:13:03 +01:00
Bartłomiej Dach
48196949e0
Add combo colour override control to editor
Closes https://github.com/ppy/osu/issues/25608.

Logic mostly matching stable. All operations are done on `ComboOffset`
which still makes overridden combo colours weirdly relatively dependent
on each other rather than them be an "absolute" choice, but alas...

As per stable, two consecutive new combos can use the same colour only
if they are separated by a break:

    52f3f75ed7/osu!/GameModes/Edit/Modes/EditorModeCompose.cs#L4564-L4571

This control is only available once the user has changed the combo
colours from defaults; additionally, only a single new combo object
must be selected for the colour selector to show up.
2025-01-10 13:40:56 +01:00
Bartłomiej Dach
5c8ae6f851
Simplify editor "ternary button" structure
As I look into re-implementing the ability to choose combo colour for an
object (also known as "colourhax") from the editor UI, I stumble upon
these wretched ternary items again and sigh a deep sigh of annoyance.

The structure is overly rigid. `TernaryItem` does nothing that
`DrawableTernaryItem` couldn't, except make it more annoying to add
specific sub-variants of `DrawableTernaryItem` that could do more
things.

Yes you could sprinkle more levels of virtuals to
`CreateDrawableButton()` or something, but after all, as Saint Exupéry
says, "perfection is finally attained not when there is no longer
anything to add, but when there is no longer anything to take away."
So I'm leaning for taking one step towards perfection.
2025-01-09 13:41:22 +01:00
Bartłomiej Dach
d2918894a0
Merge pull request #31390 from peppy/slider-end-suppress-fix
Fix slider end circles not remaining for long enough when hit animations disabled
2025-01-07 14:49:25 +01:00
Bartłomiej Dach
bda1c3f6e8
Merge pull request #31388 from peppy/fix-reverse-arrow-animation
Remove use of `Loop` (and transforms) for slider repeat arrow animations
2025-01-07 14:43:09 +01:00
Andrei Zavatski
8f4eafea4e Fix combo properties multiple reassignments 2025-01-07 14:00:31 +03:00
Dean Herbert
8d913e8971
Fix multiple animation inconsistencies pointed out in review 2025-01-07 16:54:11 +09:00
Dean Herbert
1648f2efa3
Ensure slider is not selectable when body is not visible 2025-01-07 16:38:22 +09:00
Andrei Zavatski
e8dc09f5bc Reduce HitSampleInfo constants allocations 2025-01-07 00:36:58 +03:00
Dean Herbert
e7b80167cd
Fix slider end circles not remaining for long enough when hit animations disabled 2025-01-02 18:54:28 +09:00
Dean Herbert
2d4a3aa4f9
Merge pull request #31354 from bdach/show-hit-markers-for-repeats
Fix slider repeats not properly respecting "show hit markers" setting
2025-01-02 18:45:55 +09:00
Dean Herbert
794765ba85
Remove use of Loop (and transforms) for slider repeat arrow animations
Less transforms in gameplay is always better.

This fixes repeat arrows animating completely incorrectly in the editor
(and probably gameplay when rewinding).
2025-01-02 18:36:58 +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
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
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
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
0d16ed028b
Add setters to hitobject coordinate interfaces 2024-12-27 11:01:47 +01:00
StanR
94d56d3584 Change OsuModRelax hit leniency to be the same as in stable 2024-12-26 18:13:09 +05:00
Dean Herbert
b8d6bba039
Fix legacy hitcircle fallback logic being broken with recent fix
I was a bit too eager to replace all calls with the new `provider`
in
dae380b7fa,
while it doesn't actually make sense.

To handle the case that was trying to be fixed, using the `provider` to
check whether the *prefix* version of the circle sprite is available is
enough alone.

Closes https://github.com/ppy/osu/issues/31200
2024-12-24 16:05:44 +09:00
Dean Herbert
c68dc11412
Fix being able to click through slider tail drag handles
Closes https://github.com/ppy/osu/issues/31176.
2024-12-19 00:01:36 +09:00
Salman Alshamrani
4bf90a5571 Use time-based resume overlay when playing osu! on touchscreen 2024-12-16 08:24:22 -05:00
Bartłomiej Dach
5a0b732ee3
Add comments backreferences to copies of duplicated code for future use 2024-12-11 16:26:11 +09:00
Dean Herbert
dae380b7fa
Fix lookups of hit circle slider pieces potentially using wrong source skin
Addresses https://github.com/ppy/osu/discussions/30927.
2024-12-10 22:03:07 +09:00
Dean Herbert
5b2558cec2
Merge pull request #28473 from bdach/beatmap-info-purge
Move unnecessary properties from `BeatmapInfo` / realm to `IBeatmap`
2024-12-02 16:19:12 +09:00
Bartłomiej Dach
cf905d0f5c
Merge branch 'master' into beatmap-info-purge 2024-11-26 10:21:16 +01:00
Dean Herbert
312336de24
Fix classic skin spinner's middle pieces displaying in the wrong order
Closes https://github.com/ppy/osu/issues/30873.
See [stable
reference](3ea48705eb/osu!/GameplayElements/HitObjects/Osu/SpinnerOsu.cs#L148-L158).
2024-11-26 18:12:28 +09:00
Salman Alshamrani
cab26c70c1 Fix editor grid settings not displaying decimal portion in slider tooltips 2024-11-23 22:27:56 -05:00
Dean Herbert
086a34f5c0
Merge branch 'master' into beatmap-info-purge 2024-11-22 18:47:32 +09:00
Darius Wattimena
16158710f9 Made reading of ReadCurrentDistanceSnap public 2024-11-18 23:49:40 +01:00
Dean Herbert
025e446ca9
Merge pull request #30299 from jhk2601/std_mod_bloom
Implement new osu! mod Bloom
2024-11-15 15:33:10 +09:00
jhk2601
ef9296f3ad Allow Autopilot and Grow/Deflate compatibility 2024-11-14 14:12:21 -05:00
Bartłomiej Dach
1b279e45cc
Merge branch 'master' into feat/optimize-polygon-tool 2024-11-14 09:54:04 +01:00
Dan Balasescu
5fb130183d
Merge pull request #30619 from Givikap120/remove_unnecessary_field
Remove field that's used only in one method
2024-11-14 17:42:18 +09:00
Dean Herbert
5579950967
Merge branch 'master' into no-cursor-trail-vis 2024-11-14 16:38:13 +09:00
Givikap120
b086c276ad moved back to the top 2024-11-14 09:03:08 +02:00
Givikap120
9fcf8342f0 initial commit 2024-11-14 08:59:03 +02:00
jhk2601
46f5990731 Ensure mod incompatibility consistency across files 2024-11-13 21:12:29 -05:00
Dan Balasescu
60d45d44bb
Merge pull request #30536 from stanriders/add-diffcalc-helpers
Add `DifficultyCalculationUtils`
2024-11-13 17:49:40 +09:00
Dean Herbert
78084e33af
Merge pull request #30411 from frenzibyte/editor-slider-touch-support-2
Fix placing objects via touch in editor not working sometimes
2024-11-13 15:09:57 +09:00
Dean Herbert
af4a3785e9
Fix up code quality and isolate scale better 2024-11-13 14:52:24 +09:00
Dean Herbert
ac759bacb9
Merge branch 'master' into std_mod_bloom 2024-11-13 14:14:13 +09:00