Commit Graph

116 Commits

Author SHA1 Message Date
ecfc6dfa3d CA1825: use Array.Empty. 2019-12-17 12:59:48 +08:00
b5db927d93 Merge branch 'master' into cinema-mod 2019-12-17 12:56:06 +09:00
002a125b4a make ModDifficultyAdjust generic 2019-12-12 21:14:26 +08:00
5861eca80d Make DrawableRuleset take a converted beatmap 2019-12-12 15:58:11 +09:00
b795532aa5 add difficulty adjustment mods 2019-12-11 19:43:16 +08:00
20edaf4ba6 add cinema mod support 2019-11-23 17:32:16 +00:00
a407e267a2 Fix PF/SD legacy mod conversion
Upon investigating an user report in #6091 that indicated that viewing
replays using the Perfect mod would also display the Sudden Death mod
icon despite Perfect being the more restrictive of the two, it turned
out that the logic of importing legacy scores was missing that corner
case. A similar case of Double Time/Nightcore mutual exclusion was
handled, but PF/SD was missed.

Add analogous handling of PF/SD legacy mods for all four rulesets,
and additionally cover a tiny fraction of all cases with unit tests.
The most problematic cases (NC+HD and PF+SD) are covered in all four
basic rulesets.
2019-09-15 22:55:25 +02:00
a15828ab25 Introduce the concept of SkinComponents
Removes reliance on string lookups and better defines elements for introduction into database
2019-08-30 14:55:52 +09:00
6ab2b20c70 Add an interface for working beatmaps 2019-08-29 19:38:44 +09:00
8a64ab0384 Remove generics from IApplicableToBeatmap 2019-08-01 12:39:32 +09:00
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
0222424aef Make mods IReadOnlyList<Mod> gamewide
Prevents potential multiple evaluations of enumerable.
2019-04-10 17:20:36 +09:00
c584967eb1 Remove mods from workingbeatmap 2019-04-09 12:59:32 +09:00
c39c37a18d Apply more missed cases 2019-04-01 12:44:46 +09:00
de80fc0eac Update icon usage to match framework changes 2019-03-27 19:29:27 +09:00
baea7230bc Rename RulesetContainer to DrawableRuleset 2019-03-19 23:47:31 +09:00
c271a3a781 remove ruleset specific mods 2019-03-04 17:36:44 +08:00
c6e26a92ec add wind up and wind down mods 2019-01-26 12:15:45 +08:00
8617aaa2a7 Update licence header (and remove year) 2019-01-24 17:43:03 +09:00
831cd3ed59 ScoreInfo scoreInfo -> ScoreInfo score 2018-11-30 15:18:52 +09:00
219929eb47 Score -> ScoreInfo 2018-11-28 18:33:01 +09:00
09b79d736b Remove unused usings 2018-11-28 16:33:42 +09:00
5fd6e6ca77 Re-namespacing 2018-11-28 16:12:57 +09:00
3c06655672 Split out Special mods into Automation and Conversion 2018-07-31 18:00:42 +09:00
566d125658 Change order of default initialisation to look better in settings 2018-06-21 14:28:40 +09:00
d753df65a5 Remove default bindings for right actions 2018-06-19 18:04:53 +02:00
8f7334874c Fix up performance calculators 2018-06-14 16:04:48 +09:00
33c7ce1bec Adjust TaikoDifficultyCalculator in-line with changes 2018-06-14 15:47:42 +09:00
b182635aae Fix taiko nightcore regression 2018-06-12 20:21:37 -07:00
83ff47ec80 Rewrite difficulty mod combinations 2018-06-06 16:20:17 +09:00
8274623ad6 Cleanup multi mod constructions 2018-06-06 14:07:50 +09:00
2ccffb9ac4 Add difficulty calculation mod types 2018-06-03 10:59:56 +09:00
3091d3a014 Implement the taiko performance calculator 2018-05-17 17:56:44 +09:00
450d54eea9 Fix taiko difficulty calculator never considering mods 2018-05-17 17:56:37 +09:00
803200ff6a Apply similar changes to other rulesets 2018-05-15 17:40:19 +09:00
995fda9b6f Move base classes to osu.Game.Rulesets.Difficulty namespace 2018-05-15 17:38:08 +09:00
4ecdea8b2e Remove now-unnecessary IsForCurrentRuleset property of RulesetContainer 2018-05-07 10:17:54 +09:00
03a5df84c6 Initial rework of beatmap conversion process 2018-04-19 22:04:12 +09:00
66b3b295e7 Use IBeatmap wherever possible 2018-04-19 20:44:38 +09:00
9b36cf2066 Review changes 2018-04-16 14:14:40 +02:00
b23b0a445b Add support for replay mods 2018-04-13 15:41:35 +02:00
32a74f95a5 Normalize all the line endings 2018-04-13 18:26:38 +09:00
e82cadc811 Make LegacyID nullable
The -1 default was getting stored to the database.
2018-03-06 17:40:14 +09:00
c9c65cab53 CreateReplayFrame -> CreateConvertibleReplayFrame 2018-03-01 02:28:14 +09:00
222ae70062 Populate rulesets with their replay frames 2018-03-01 02:28:14 +09:00
58626e3b30 Allow rulesets to create their own instantiation info 2018-01-10 17:04:07 +09:00
37d393bca0 Update licence headers 2018-01-05 20:21:19 +09:00
679134c030 Add ShortName to rulesets 2017-12-08 18:55:25 +09:00
62155e6dd5 Make DifficultyCalculator support mod applications
Fixes https://github.com/ppy/osu/issues/476.
2017-11-17 12:36:07 +09:00
5e32d95ad2 Remove Ruleset's CreateScoreProcessor method 2017-09-13 16:37:05 +09:00