Commit Graph

60328 Commits

Author SHA1 Message Date
298989ffd2 Merge branch 'master' into sample-set-controls 2023-05-24 14:03:04 +09:00
9869e815ce Merge pull request #23642 from Joehuu/remove-logo-arriving-workaround
Remove `OsuScreen.ApplyLogoArrivingDefaults()`
2023-05-24 13:20:26 +09:00
067328233c Remove OsuScreen.ApplyLogoArrivingDefaults() 2023-05-23 13:17:43 -07:00
1671729b78 Merge pull request #23634 from peppy/fix-multiplayer-song-select-scene
Fix weird state when attempting to enter gameplay skin editor scene from multiplayer
2023-05-23 20:41:09 +02:00
e467791d0b Merge pull request #23636 from peppy/fix-updates-during-gameplay
Disallow game to check for updates while gameplay is active
2023-05-23 19:04:43 +09:00
7cf50b1e18 Disallow game to check for updates while gameplay is active 2023-05-23 18:06:04 +09:00
adf9a596b5 Fix weird state when attempting to enter gameplay skin editor scene from multiplayer
Closes https://github.com/ppy/osu/issues/23626.
2023-05-23 17:58:44 +09:00
ff5dde0ebe Merge pull request #23575 from Joehuu/fix-inverted-video-only-check
Fix old widescreen videos with black bars not correctly filling screen (again)
2023-05-23 16:47:52 +09:00
7c039b0b67 Merge pull request #23618 from bdach/fix-taiko-swells-drumrolls-silent
Fix hitsounds not playing before and during taiko drum rolls and swells
2023-05-23 16:44:04 +09:00
f908545b9b Merge pull request #23631 from bdach/fix-velocity-undo
Fix undo/redo not working for slider velocity and sample changes
2023-05-23 14:46:49 +09:00
38b4bd8aef Fix undo not behaving as expected sometimes 2023-05-22 22:45:39 +02:00
e0b7539c2a Fix sample changes not being applied in patcher 2023-05-22 22:45:23 +02:00
2ce150ba2b Add failing test case for sample undo 2023-05-22 22:23:05 +02:00
f253d17a7f Fix slider velocity changes not being applied in patcher 2023-05-22 22:19:10 +02:00
843d2903d2 Add failing test case for slider velocity undo 2023-05-22 22:18:15 +02:00
7742904d2a Merge pull request #23593 from Dimmitsaras/unfocused-notifications
Always show chat message notifications if window is unfocused
2023-05-22 14:17:20 +09:00
09c66bea8f Merge pull request #23606 from Joehuu/fix-news-sidebar-link-clicking-area
Fix clicking area of news sidebar post links
2023-05-22 14:17:08 +09:00
7392109bce Apply same behavioral changes to NewsCard 2023-05-21 19:28:12 -07:00
2279aad360 Apply NRT to NewsCard 2023-05-21 19:27:20 -07:00
3df0eea92d Merge pull request #23573 from Susko3/use-atomic-ReplaceRange
Prevent feedback with display resolution bindable by using atomic `.ReplaceRange()`
2023-05-22 11:26:06 +09:00
b3527b92b6 Handle case in tests where current display becomes null 2023-05-22 09:25:44 +09:00
19816ae013 Update framework 2023-05-21 20:38:27 +02:00
6df1d29862 Merge branch 'master' into use-atomic-ReplaceRange 2023-05-21 20:32:59 +02:00
88c112612f Remove hardcoded website url
Co-authored-by: Bartłomiej Dach <dach.bartlomiej@gmail.com>
2023-05-21 10:35:22 -07:00
9915fac2c8 Fix sample silence being one level too low
4a7b011a53 inadvertently unearthed that
nested strong hits could play samples of their own accord, rather than
delegating to `DrumSampleTriggerSource` as they were supposed to. This
was an unfortunate omission due to how the inheritance structure of
`TaikoHitObject` looks like (some irrelevant classes omitted for
brevity):

	DrawableTaikoHitObject
		DrawableTaikoHitObject<TObject> <-- `GetSamples()` was overridden to empty here
			DrawableTaikoStrongableHitObject
				DrawableHit
				DrawableDrumRoll
				DrawableDrumRollTick
			DrawableSwell
			DrawableSwellTick
		DrawableStrongNestedHit <-- all strong nested hits are here => didn't receive `GetSamples()` override
			DrawableHit.StrongNestedHit
			DrawableDrumRoll.StrongNestedHit
			DrawableDrumRollTick.StrongNestedHit

To fix, move the `GetSamples()` override one level higher, to the
non-generic `DrawableTaikoHitObject`, to suppress the spurious sample
playbacks.

The stale reference in the comment was also updated to match current
code.
2023-05-21 18:58:26 +02:00
4a7b011a53 Propagate samples to strong nested hits too
The rationale is the same as in
6d325651dc. Due to the recursive nature of
`GameplaySampleTriggerSource.GetMostValidObject()`, in the case of
nested hits, drum rolls and drum roll ticks, the nested strong hits
would become the most valid object, and so without propagating
the samples down to that level too, nothing would play.
2023-05-21 18:58:05 +02:00
812df9d652 Add failing test cases for strong object sample playback 2023-05-21 18:57:55 +02:00
6d325651dc Propagate samples to drum roll/swell ticks for correct playback
In d97daee96b, `DrumSampleTriggerSource`
was changed such that in order to play sounds for the user's inputs, the
bank of the normal sound would always be used.

The problem is that in the case of taiko objects which have nested
objects (swells and drum rolls), the samples were not propagated fully
(drum rolls, where only the finish sample was kept, for the purposes of
determining strongability), or not propagated at all (swells) to ticks.

As ticks of both objects are valid return values of
`GetMostValidHitObject()`, this would lead to the drum making no sounds
if the next object was a drum roll or swell, until that drum roll or
swell was completed. To fix, propagate the full set of samples, so that
`DrumSampleTriggerSource` can retrieve the normal sound to copy the bank
from.

Note that this may not necessarily reproduce prior behaviour. This is
because it is not guaranteed that all realised samples for a given
hitobject have the same bank - some may have been overriden locally on a
given hitobject. Previously, the bank would have been retrieved from the
sample control point, wherein there is only one possible bank to use;
however, when deciding the sound to play on the basis of a constructed
hitobject, it is possible that there are cases wherein the hitnormal
sample was overridden on that given hitobject, and in such cases, this
PR would make samples _play_, but not necessarily the _same_ samples
as prior to #23308.

If that turns out to be the case, this will have to be revisited.
2023-05-21 18:57:01 +02:00
5229cf7343 Add failing test cases for drum roll/swell sample playback 2023-05-21 18:57:01 +02:00
8aefb62532 Rename PostButton to PostLink 2023-05-20 16:38:56 -07:00
ec5f0bbf42 Fix clicking area of news sidebar post links
Side effect is that the hover color is yellow and pressing it opens an external dialog, but those are temporary (pending implementation of link underline to make `Light1` hover more readable and set at a higher level and news pages).
2023-05-20 16:32:04 -07:00
de5917b645 Merge branch 'master' into unfocused-notifications 2023-05-20 19:32:52 +02:00
a677d87d39 Touch up inline comments 2023-05-20 19:29:59 +02:00
7fa8a1148d Merge pull request #22716 from peppy/fix-menu-state-display
Update in line with framework menu handling changes
2023-05-20 19:10:22 +02:00
8e0a97ca49 Remove usage of HasSubmenu
Property has been removed in the appropriate framework-side PR and
instead folded into `IsActionable`.

See: https://github.com/ppy/osu-framework/pull/5658#discussion_r1114834647
2023-05-20 18:02:12 +02:00
67c044773b Merge branch 'master' into fix-menu-state-display 2023-05-20 17:57:00 +02:00
afdddb0195 Merge pull request #23582 from peppy/placement-blueprint-timeline-combo-fixes
Fix timeline blueprint display not showing correct combo number / colour during placement
2023-05-20 15:02:55 +02:00
0e11adaaac Merge pull request #23564 from peppy/fix-missing-sample-additions
Fix sample banks not transferring when adjusting via editor
2023-05-20 14:36:45 +02:00
ec442a94e2 Merge pull request #23595 from peppy/pin-to-6.x
Pin builds to .NET 6
2023-05-20 13:25:56 +02:00
e8cb19e40a Pin builds to .NET 6
As more things move to having the 7 SDK installed, let's pin for now.

This helps with mobile build scenarios, which fall over on the new SDKs
and require further attention.
2023-05-19 17:49:27 +09:00
ee522253cb Remove a couple of unnecessary volume declarations 2023-05-18 14:12:57 +09:00
caa79704ac Add test coverage for failing case 2023-05-17 20:23:37 -07:00
9ca1c7f7b7 Merge pull request #23580 from peppy/fix-profile-button-depth
Ensure scroll-to-top button is displayed above all overlay content
2023-05-17 21:23:46 +02:00
fb441b864e Merge pull request #23576 from peppy/fix-random-button-right-click
Fix random button hover state sticking when rewinding using right mouse button
2023-05-17 21:02:39 +02:00
7ac6688a0f Chat message notifications always play on unfocused window 2023-05-17 18:34:39 +03:00
b58ab28765 Make EditorClock non-nullable in PlacementBlueprint 2023-05-17 21:40:52 +09:00
214d7e07fa Add TODO regarding failing stack display code 2023-05-17 17:52:17 +09:00
0b25818bd2 Update combo information on placement blueprint 2023-05-17 17:26:19 +09:00
9563d4f730 Fix weird purple tint on placement object in timeline 2023-05-17 17:26:19 +09:00
8d925c8a8a Move combo information updating to an interface level helper method 2023-05-17 17:26:19 +09:00