Naxess
|
e922e67c98
|
Fix inverted return statement
Forgot to run tests, all passing now.
|
2021-03-22 19:48:21 +01:00 |
|
Naxess
|
3fa5852e00
|
Add method documentation
|
2021-03-22 19:42:27 +01:00 |
|
Naxess
|
b11fd7972a
|
Separate condition logic from math logic
|
2021-03-22 19:41:48 +01:00 |
|
Naxess
|
92f713a30e
|
Improve fallback conditions
It's possible to create a `PerfectCurve` type path with more than 3 points currently, so this accounts for that.
|
2021-03-22 19:10:56 +01:00 |
|
Naxess
|
80e7c3aba7
|
Invert if statement
|
2021-03-22 19:09:28 +01:00 |
|
Naxess
|
6911a1b415
|
Fix missing newline
|
2021-03-22 19:03:55 +01:00 |
|
Naxess
|
a7076c329c
|
Fix null checks
|
2021-03-22 17:32:55 +01:00 |
|
Naxess
|
323b875cea
|
Fix newlines/spaces
|
2021-03-22 17:32:40 +01:00 |
|
Naxess
|
c82218627f
|
Add path type update logic
Only attempts to change points to bezier if points in the slider are modified.
|
2021-03-22 15:57:57 +01:00 |
|
Naxess
|
7a2cb526e4
|
Add PointsInSegment method
|
2021-03-22 15:55:30 +01:00 |
|
Naxess
|
bee2f55d00
|
Undo subpath limiting
|
2021-03-22 15:54:33 +01:00 |
|
Naxess
|
fcd1f4930f
|
Fix freeze due to large circular arc radius
Seems to stem from the osu!framework's PathApproximator not catching a few edge cases wherein the radius approaches infinity.
|
2021-03-21 06:34:55 +01:00 |
|
Dean Herbert
|
eacc7dca9a
|
Fix SliderPath not handling Clear correctly
|
2020-10-09 06:31:59 +09:00 |
|
Dean Herbert
|
a1bfb18ce0
|
Fix accessing incorrect items list in event
|
2020-02-18 19:00:02 +09:00 |
|
smoogipoo
|
958c891d15
|
Update with framework-side bindable list changes
|
2020-02-17 15:06:14 +09:00 |
|
smoogipoo
|
91735ff367
|
Update MathUtils namespace usages
|
2020-01-09 13:43:44 +09:00 |
|
Huo Yaoyuan
|
c457571da6
|
Use index and range expressions
|
2019-12-15 20:17:35 +08:00 |
|
smoogipoo
|
47f3c4a596
|
Don't serialise path version
|
2019-12-09 20:18:18 +09:00 |
|
smoogipoo
|
6d9cd0fafe
|
Split out complex method
|
2019-12-09 18:25:13 +09:00 |
|
smoogipoo
|
b6e2738236
|
Remove unused using
|
2019-12-09 18:15:00 +09:00 |
|
smoogipoo
|
bfbb9aa18e
|
Remove outdated assert
|
2019-12-09 18:01:02 +09:00 |
|
smoogipoo
|
883d5bc11d
|
Remove automatic slider path offsetting
|
2019-12-09 17:54:22 +09:00 |
|
smoogipoo
|
9cb649436c
|
Default to linear control point type
|
2019-12-09 17:47:05 +09:00 |
|
smoogipoo
|
5a093c039c
|
Simplify path/point construction
|
2019-12-09 17:46:40 +09:00 |
|
smoogipoo
|
16f8341a02
|
Handle control point positional updates within SliderPath
|
2019-12-06 18:49:01 +09:00 |
|
smoogipoo
|
b4e1b5fa98
|
Explose + use the full calculated length of the path
|
2019-12-06 15:53:19 +09:00 |
|
smoogipoo
|
2654710d91
|
Add tests and fix negative expected distances
|
2019-12-06 15:37:06 +09:00 |
|
smoogipoo
|
27dd12a66d
|
Rewrite slider length calculation for readability
|
2019-12-06 15:06:31 +09:00 |
|
smoogipoo
|
c9a66c0d07
|
Expose a version to indicate path changes
|
2019-12-05 18:31:28 +09:00 |
|
smoogipoo
|
1585d83b96
|
Add legacy constructor
|
2019-12-05 18:19:42 +09:00 |
|
smoogipoo
|
986ac1cee4
|
Make expected distance a bindable
|
2019-12-05 17:51:29 +09:00 |
|
smoogipoo
|
2702edfa55
|
Rename new path, replace existing one
|
2019-12-05 17:49:32 +09:00 |
|
Huo Yaoyuan
|
05cfef92f9
|
Don't compare spans with null.
|
2019-12-03 20:09:58 +08:00 |
|
Huo Yaoyuan
|
a42f9447e6
|
Don't use Equals(object) on T?.
|
2019-12-03 20:07:22 +08:00 |
|
Huo Yaoyuan
|
818553027b
|
Merge branch 'master' into sharpen
|
2019-11-21 23:42:46 +08:00 |
|
Berkan Diler
|
6cab517b2d
|
.NET Standard 2.1 implements Math.Clamp , use it instead of MathHelper.Clamp from osuTK.
|
2019-11-20 13:37:47 +01:00 |
|
Huo Yaoyuan
|
dcfa98414f
|
Use ??=.
|
2019-11-12 19:56:51 +08:00 |
|
Huo Yaoyuan
|
ccc8aa6fa4
|
Apply brace style.
|
2019-11-11 20:13:13 +08:00 |
|
smoogipoo
|
d7c09e7dbd
|
Merge remote-tracking branch 'origin/master' into fix-new-inspections
# Conflicts:
# osu.Game.Rulesets.Catch/Judgements/CatchDropletJudgement.cs
# osu.Game.Rulesets.Catch/Judgements/CatchJudgement.cs
# osu.Game.Rulesets.Mania/Scoring/ManiaScoreProcessor.cs
# osu.Game.Rulesets.Osu/Replays/OsuAutoGenerator.cs
# osu.Game.Rulesets.Osu/UI/Cursor/CursorTrail.cs
# osu.Game.Tests/Visual/SongSelect/TestCaseBeatmapScoresContainer.cs
# osu.Game/Graphics/OsuFont.cs
# osu.Game/Online/API/Requests/Responses/APILegacyScoreInfo.cs
# osu.Game/Overlays/Profile/Header/BadgeContainer.cs
# osu.Game/Overlays/Profile/ProfileHeader.cs
# osu.Game/Screens/Select/PlaySongSelect.cs
# osu.Game/Skinning/LegacySkinDecoder.cs
|
2019-05-07 13:20:17 +09:00 |
|
smoogipoo
|
0bd35ab7bb
|
Turn on warnings, resolve issues
|
2019-04-25 17:36:17 +09:00 |
|
Dean Herbert
|
612db31c38
|
Apply newline additions
|
2019-04-01 12:16:32 +09:00 |
|
Dean Herbert
|
26d53d06a9
|
Fix remaining issues
|
2019-02-28 13:31:40 +09:00 |
|
Dean Herbert
|
8617aaa2a7
|
Update licence header (and remove year)
|
2019-01-24 17:43:03 +09:00 |
|
smoogipoo
|
f27bd3ef3e
|
OpenTK -> osuTK
|
2018-11-20 17:14:59 +09:00 |
|
smoogipoo
|
f3ba429701
|
Make sure control points is internally initialised
|
2018-11-12 17:14:06 +09:00 |
|
smoogipoo
|
f4fd6189f8
|
Implement IEquatable
|
2018-11-12 16:53:30 +09:00 |
|
smoogipoo
|
0220ed21b0
|
Ignore distance for json serialisation
|
2018-11-12 16:38:49 +09:00 |
|
smoogipoo
|
0e92b385f0
|
Define default json deserialisation constructor
|
2018-11-12 16:38:33 +09:00 |
|
smoogipoo
|
8ad9b6a02a
|
Safety for default(SliderPath)
|
2018-11-12 16:38:14 +09:00 |
|
smoogipoo
|
d594ce3530
|
Revert "Make SliderPath.ControlPoints read-only"
This reverts commit 3b88d94793 .
# Conflicts:
# osu.Game/Rulesets/Objects/SliderPath.cs
|
2018-11-12 16:20:38 +09:00 |
|