Commit Graph

129 Commits

Author SHA1 Message Date
0fd2c010e5 Remove NRT disables from attributes classes 2022-06-27 16:07:15 +09:00
0579780bb8 Add IBeatmapOnlineInfo parameter and use to extract more data 2022-06-27 16:07:15 +09:00
f8830c6850 Automated #nullable processing 2022-06-17 16:37:17 +09:00
6d2a2ba7d6 Rename Position -> Index 2022-06-09 18:49:11 +09:00
66a6467403 Pass object position to the object 2022-05-26 19:26:14 +01:00
30b9e0e7ab Use object list size for object position 2022-05-24 16:30:25 +01:00
5dbec92d9e Update comments 2022-05-23 22:17:29 +01:00
903c4f7b3d Merge remote-tracking branch 'master/master' into dho 2022-05-23 13:39:04 +01:00
6cfe35360a Refactor key indexing 2022-05-23 14:36:06 +09:00
63a3829768 Split out SingleKeyStamina class 2022-05-23 14:19:25 +09:00
26985ca8af Store hitobject history in the hitobject 2022-05-22 16:26:22 +01:00
db6abd86f0 Rectify null value call
tired programming is never a good idea
2022-05-17 09:10:52 +10:00
c7ec95c0d0 Rectify Review Changes 2022-05-17 09:10:52 +10:00
94294ba351 Apply Review Changes 2022-05-17 09:10:52 +10:00
d94e30bed3 Rewrite Performance difficultyValue Calculation
To change values in line with the community survey, pp has been rescaled immensely, with changes on both the lower and upper end.
2022-05-17 09:10:52 +10:00
b44afb19b1 Include Convert Penalty
For low colour variance
2022-05-17 09:10:52 +10:00
d174099016 Refactor and Cleanup of Stamina.cs 2022-05-17 09:10:52 +10:00
f15738fded Remove Redundant Detection
Not needed, as nerf is not required anymore and has negative effect.
2022-05-17 09:10:52 +10:00
48b7e0f090 Stamina Skill Rewrite and Refactor 2022-05-17 09:10:52 +10:00
637f817696 Ignore zero-sections on a per-case basis 2022-05-03 16:06:20 +09:00
523f668c8c Remove unnecessary ctor argument 2022-03-15 12:37:39 +09:00
4a3e3aba65 Restructure PerformanceCalculator to not require ScoreInfo argument 2022-03-14 14:25:28 +09:00
84e82ef5e4 Add XMLDocs to difficulty attribute properties 2022-02-16 14:09:19 +09:00
b81fc675e8 Include PropertyName in PerformanceDisplayAttribute 2022-01-17 20:45:25 +08:00
511a607599 Display performance breakdown in a tooltip 2022-01-17 18:28:17 +08:00
40b3ce0ade Clean up comments 2021-12-21 14:03:24 +03:00
cca02a8016 Create PerformanceAttributes 2021-12-21 13:08:31 +03:00
2f2006715e Slightly refactor difficulty and pp calculators 2021-12-17 23:40:23 +03:00
9f688f6291 Stop persisting Skills in DifficultyAttributes 2021-11-21 12:15:32 +09:00
fd0cae2bfb Merge branch 'master' into difficulty-attribute-helpers 2021-11-17 20:49:31 +09:00
815179f713 Use consts for attribute IDs 2021-11-17 20:31:18 +09:00
369b4ba789 Update DifficultyCalculator to take an IRulesetInfo 2021-11-15 19:16:48 +09:00
62d670a3ca Update DifficultyCalculator to take an IWorkingBeatmap 2021-11-15 19:16:48 +09:00
c8a01c35f7 Remove extra members from FromDatabaseAttributes 2021-11-15 18:11:07 +09:00
0cfd6fdf04 Add to/from database mapping functions to difficulty attributes 2021-11-15 16:06:50 +09:00
907499f73a Add json properties to difficulty attributes 2021-11-15 16:06:29 +09:00
e30e5bd214 Remove int casts in other calculators 2021-10-10 16:23:35 +09:00
b339c149d8 Copy BaseDifficulty to Beatmap<T> and move all write operations across 2021-10-06 15:10:45 +09:00
176b3e7533 changed decay system to allow for customizing the currentStrain 2021-08-16 22:14:29 +00:00
fb5d25405e Replace calls to obsoleted GetOrDefault() extension 2021-07-18 21:52:16 +02:00
35d5632355 Merge pull request #13378 from Syriiin/diffcalc/refactor/auto-properties
Refactor DifficultyAttributes to use auto properties over public fields
2021-06-10 18:42:11 +09:00
85abee5fc7 Remove difficulty calculator exceptions
I don't think there's any reason difficulty calculators shouldn't be
able to calculate for autoplays.
2021-06-09 14:33:35 +09:00
d0e9f8ef90 Replace and obsolete Ranked flag with IsUserPlayable 2021-06-09 14:17:03 +09:00
f1bef989b7 Refactor DifficultyAttributes to use auto properties over public fields 2021-06-08 19:43:59 +10:00
f51413ead9 Refactor to pass clockrate in constructor rather than deriving from mods 2021-06-03 16:09:42 +10:00
85d2b1232a Refactor to abstract out strain logic into StrainSkill class
While it is the case for the existing official Skills, Skill implementations shouldn't be required to conform to a strain based approach.
There are other valid approaches to calculating skill difficulty that can be supported by abstracting the strain logic into its own StrainSkill class.
2021-04-03 20:52:39 +11:00
5b2dcea8a8 Refactor to encapsulate strain logic into Skill class
As strains are an implementation detail of the current Skill calculations, it makes sense that strain related logic should be encapsulated within the Skill class.
2021-04-03 20:47:43 +11:00
66643a97b0 Add a list of mods to Skill class
Although this isn't necessary for existing official rulesets and calculators, custom calculators can have use cases for accessing mods in difficulty calculation.
For example, accounting for the effects of visual mods.
2021-02-20 20:37:44 +11:00
abd395a030 Remove unecessary using references. 2020-10-02 19:41:24 +02:00
0163688a17 Remove IBeatmap from PerformanceCalculator. 2020-10-02 19:24:30 +02:00