Commit Graph

530 Commits

Author SHA1 Message Date
ca5e8b290f Add clamping to SliderMultiplier and SliderTickRate at parsing time 2023-05-09 20:53:20 +09:00
944da06c10 Rename slider multiplier variable back for now 2023-05-09 16:58:19 +09:00
f7d44c3013 Rename SliderMultiplier to BaseSliderVelocity 2023-05-08 13:13:09 +09:00
f930c4bd0a Move struct to bottom of file 2023-05-03 13:33:31 +09:00
48fd99818e Split out default and sample application 2023-05-03 13:30:45 +09:00
cca15f930c Refactor applyLegacyInfoAndDefaults for legibility 2023-05-03 13:26:50 +09:00
588a4e6196 Move pragma disable to top of LegacyBeatmapDecoder
Makes more sense as it's used multiple times in the class.
2023-05-03 13:19:14 +09:00
8c21fddb5e remove all redundancies from encoded control points 2023-05-01 16:53:38 +02:00
8302bb1f37 dont encode custom sample bank for objects without legacy samples 2023-05-01 14:56:29 +02:00
cef9f73d34 dont assign custom sample bank and volume to hitobjects in non-mania gamemodes
this makes it easier to edit hitsounds in the stable editor after export because the sample control point effects wont get overwritten by the properties of the hitobject
2023-05-01 12:31:27 +02:00
608fa3cc73 Merge remote-tracking branch 'upstream/master' into sample-control-points 2023-04-30 19:47:03 +02:00
139a1d7e6d fix legacy encoder writing sample info while not writing node samples 2023-04-30 17:46:47 +02:00
c44f71a737 remove all regular usage of DifficultyControlPoint 2023-04-26 17:55:38 +02:00
1b4f4372d5 fixed sample control point applying 2023-04-26 14:32:12 +02:00
5accb05f45 fix invalidoperation exception 2023-04-26 14:28:48 +02:00
6c70948681 Remove IContext & add IHasGenerateTicks 2023-04-26 13:10:57 +02:00
c37875bee8 remove hitobject SampleControlPoint usage from LegacyBeatmapEncoder 2023-04-25 16:00:40 +02:00
891b87a5ff remove ApplyLegacyInfo method 2023-04-25 12:52:21 +02:00
ea1e6e9798 Add LegacyContext 2023-04-25 12:12:46 +02:00
a4c6850ab2 made the SampleControlPoint and DifficultyControlPoint obsolete 2023-04-25 11:34:09 +02:00
e90660c1a4 Switched to lowercase 2023-04-21 02:35:28 +02:00
b62de5514c Fixed video importing bug #23259 2023-04-21 02:10:24 +02:00
da947d8661 Gracefully handle beatmaps specifying images using the video storyboard type 2023-03-13 18:24:16 +09:00
044b0604b2 Move OmitFirstBarLine to TimingControlPoint 2023-02-28 19:29:31 +09:00
4491a5ba9f Fix editor exporting beatmap combo colours in wrong order 2023-01-03 13:41:08 +03:00
182f36c434 Use StringSplitOptions.TrimEntries for string.Split() when possible 2022-12-27 09:41:58 +01:00
cb2b0d4178 Remove redundant type specs 2022-12-26 23:12:53 +01:00
fcbb21c75e Fix typo 2022-12-26 20:38:35 +01:00
c7ca4bbba5 Use generic Enum methods 2022-12-26 20:36:39 +01:00
08d2fbeb8e Use new ArgumentNullException.ThrowIfNull throw-helper API 2022-12-22 21:27:59 +01:00
3da21e596a Add support for storyboards with incorrect path specifications (\\ instead of \)
Closes https://github.com/ppy/osu/issues/21204.
2022-11-21 16:12:01 +09:00
064a245c50 Don't trim whitespace from variable keys / values 2022-11-08 13:30:11 +09:00
b764d1bd04 Decode variables earlier in flow in case they include indent logic
Without this change, the `depth` calculation could be incorrect.
2022-11-08 13:29:42 +09:00
42eafe318c Remove various simple obsoletions 2022-10-28 13:20:58 +09:00
6177df2a24 Merge branch 'master' into fix-17143 2022-10-25 13:44:58 +09:00
59e2478b0e Fix some older beatmaps having missing backgrounds
Closes https://github.com/ppy/osu/issues/20824.

Note that this will require a reimport of beatmaps as it is baked into the database. Probably not worth making a migration for at this point in time.
2022-10-19 16:01:10 +09:00
338115ff6a Move check to LegacyDifficultyControlPoint 2022-10-13 15:05:15 +09:00
df0501235d Introduce BpmMultiplierMania, remove after the fact clamps 2022-10-12 11:14:01 +02:00
f8036658c7 Move clamps directly to the usages in the conversion algorithm 2022-10-10 09:36:18 +02:00
e0904e263f Fix legacy BpmMultiplier clamp value 2022-10-09 11:25:47 +02:00
992441b9de Disable alpha component parsing in beatmap / skin colour sections 2022-09-21 16:11:41 +09:00
adea29c106 Fix test failures 2022-08-24 03:37:33 -04:00
c9f364d6a0 Document why beatLength can be NaN 2022-08-24 02:10:19 -04:00
c1ced85b5e Move GenerateTicks to LegacyDifficultyControlPoint and remove support for NaN slider velocity support for other rulesets (at least for now) 2022-08-23 14:07:18 -04:00
9f08c474ca Treat NaN slider velocity timing points as 1.0x but without slider ticks 2022-08-22 21:58:38 -04:00
e8d4bc4497 Allow NaN during beatmap parsing if desired 2022-08-22 21:04:26 -04:00
a52ea3cabe Enable NRT and simplify LineBufferedReader 2022-07-06 14:57:56 +09:00
31a447fda0 Update parameter discards 2022-06-24 21:26:19 +09:00
97fcf8cec9 Merge pull request #18668 from smoogipoo/editor-controlpoint-undo-redo 2022-06-23 04:02:24 +09:00
16281f4a48 Properly annotate method to allow null 2022-06-20 16:56:19 +09:00