Commit Graph

712 Commits

Author SHA1 Message Date
Dean Herbert de625125d6 Rename magnetised mod attraction strength property to match new naming 2022-04-01 13:03:48 +09:00
Dean Herbert a987cda30d Rename "Aim Assist" to "Magnetised" to better suit the mod's behaviour
As proposed in https://github.com/ppy/osu/discussions/17375.
2022-04-01 12:15:52 +09:00
Dan Balasescu ff4745be59
Merge branch 'master' into extract-random-mod-logic-2 2022-03-31 13:42:47 +09:00
Dean Herbert 0cac935939 Shorten class name of `ModCreatedReplayUser` 2022-03-31 11:34:23 +09:00
Dean Herbert 4b2c01a8c1 Bring all mod implementations up-to-date 2022-03-29 16:59:03 +09:00
Dean Herbert d2d88015e3 Update all cinema/autoplay mods to specify the system user ID 2022-03-28 22:22:56 +09:00
Henry Lin e44db4e726 Revert unintentional behavior change of random mod
Actually, using OsuPlayfield.BASE_SIZE.Y makes a touch more sense since it is the short side of the playfield, but I guess it is better to preserve replays than to introduce pointless breaking changes.
2022-03-25 15:13:25 +08:00
Dan Balasescu cd5907f8da Merge branch 'master' into extract-random-mod-logic-2 2022-03-25 14:25:43 +09:00
Dan Balasescu 36772ec652
Merge pull request #17356 from apollo-dw/strict-tracking
Implement "Strict Tracking" mod in osu!
2022-03-22 07:32:36 +09:00
apollo-dw d3742a91a8 Nest specific object classes within the mod 2022-03-20 15:56:41 +00:00
apollo-dw 52d6f083dc Only miss slider tail on untrack 2022-03-19 23:42:12 +00:00
apollo-dw 149cfd338d Use new mod-related object types for Strict Tracking 2022-03-19 18:29:44 +00:00
Noah M 78869c462a
Use `.Concat()` instead of chained Append
Co-authored-by: Bartłomiej Dach <dach.bartlomiej@gmail.com>
2022-03-18 14:24:36 -05:00
Noah M b4a8defe1a Make Relax and Aim assist mods incompatible 2022-03-18 14:12:36 -05:00
Henry Lin 3a71d81775 Convert the position modifier to stateless methods 2022-03-10 11:53:03 +08:00
Henry Lin e8dbed738e Move `OsuHitObjectPositionModifier` to `Utils/` 2022-03-09 21:52:15 +08:00
Henry Lin 8e12a067df Remove an unused property 2022-03-09 21:04:35 +08:00
Henry Lin 6a507ca11b Rename identifiers to remove references to random mod 2022-03-09 20:52:11 +08:00
Henry Lin 37328f8d24 Extract hit object positioning logic to a separate class
It is intentional to not rename the identifiers at this point to produce a cleaner diff.
2022-03-09 20:36:31 +08:00
Dan Balasescu 353b251d38 Attempt to merge conditional expression
Hoping to fix CI error, caused by older R# version.
2022-03-09 17:46:42 +09:00
Dean Herbert 75c6a676b4 Apply `nullable` to `OsuModRandom` rather than using jetbrains annotations 2022-03-09 16:58:36 +09:00
Henry Lin e3cf2c6acd Merge `getAbsoluteAngle` into `computeRandomisedPosition` 2022-03-09 13:27:33 +08:00
Henry Lin 3ced5e7904 Rename `Distance` to `DistanceFromPrevious` 2022-03-09 13:09:33 +08:00
apollo-dw e2001148d5 Implement strict tracking mod 2022-03-08 21:47:54 +00:00
Henry Lin ae1c65c38d Add xmldoc 2022-03-08 12:07:10 +08:00
Henry Lin 8cfeffc085 Extract a major part of `ApplyToBeatmap` to a new method 2022-03-08 11:50:30 +08:00
Henry Lin ded84cab3f Separate randomisation and object positioning logic 2022-03-08 11:45:16 +08:00
Dean Herbert 692ddd5f52 Merge branch 'master' into issues/16839-spun-out-rate 2022-02-22 14:04:45 +09:00
Kaleb df9535d195
Update RPM calculation for readability
Multiply the 1.01 factor to the resulting RPM, not to the duration.
2022-02-13 14:28:40 -05:00
Kaleb 585bd541f3
Add missing parentheses to RPM calculation 2022-02-13 02:38:49 -05:00
Kaleb f1535b74be
Give Spun Out mod dynamic spin rate 2022-02-13 02:16:06 -05:00
PercyDan 639d813d06
Don't override previous value
Co-authored-by: Salman Ahmed <frenzibyte@gmail.com>
2022-02-12 11:15:03 +08:00
PercyDan54 053f41d755
Simplify code 2022-02-12 10:06:43 +08:00
PercyDan54 2ed3d58531
Ignore short spinners for relax mod 2022-02-12 09:28:50 +08:00
Dean Herbert 2731d8e3c2
Merge pull request #16701 from LeNitrous/mod-alternate-osu
Add "Alternate" mod for osu! ruleset
2022-02-03 10:41:23 +09:00
Dean Herbert be9df2ca11
Merge pull request #5774 from MaxOhn/aimassist-mod
Add "Aim Assist" mod
2022-02-03 10:40:43 +09:00
Bartłomiej Dach 82f9ad63f5
Fix flashlight size multiplier printing with too many decimal digits 2022-02-02 20:41:25 +01:00
Bartłomiej Dach 7463744407
Fix osu! autoplay-like mods not declaring incompatibility with `AimAssist` 2022-02-02 19:17:33 +01:00
Dean Herbert 6e41a6e704 Tidy up code into a presentable state 2022-02-02 16:27:16 +09:00
Dean Herbert 2e46404fe5 Remove spinner support for now 2022-02-02 16:26:00 +09:00
Dean Herbert f07502ac5f Use simple damp easing rather than transforms 2022-02-02 16:15:06 +09:00
Dean Herbert 334ed2c9c4 Fix sliders moving before they are actually hit 2022-02-02 15:36:09 +09:00
Dean Herbert 6b31e7e9db Merge branch 'master' into aimassist-mod 2022-02-02 15:18:48 +09:00
Dean Herbert e7d72f1823 Revert recent changes 2022-02-02 15:18:44 +09:00
Dean Herbert a2affefb0a Avoid checking gameplay clock time in `Update` method 2022-02-02 14:33:17 +09:00
Dean Herbert c7a192cc5f Only handle `LeftButton` and `RightButton` actions
There are definitely going to be other actions used in the future, which
would immediately cause this mod to fail. Limiting handling to
left/right buttons only is the correct way forward.
2022-02-02 14:04:12 +09:00
Dean Herbert fed63abd83 Sanitise interceptor logic to now require two separate check paths 2022-02-02 14:02:48 +09:00
Dean Herbert 0036d0e26d Move alternate mod to "conversion" category 2022-02-02 13:58:13 +09:00
Bartłomiej Dach 9227211a44
Privatise `shouldAlternate` 2022-01-31 22:56:27 +01:00
Nitrous 40f43344f1
remove unused using 2022-01-29 23:31:26 +08:00