minor adjustments

This commit is contained in:
MaxOhn
2021-11-21 02:37:00 +01:00
parent b0f2cb3e9c
commit f2e8a2e4c3
3 changed files with 3 additions and 2 deletions
+1
View File
@@ -5,6 +5,7 @@
- [BREAKING] Removed the `ParseError` variants `InvalidPathType` and `InvalidTimingSignature` and renamed `InvalidFloatingPoint` to `InvalidDecimalNumber`.
- [BREAKING] Removed the `last_control_point` field of `HitObjectKind::Slider` when neither the `osu` nor the `fruits` feature is enabled.
- Fixed out of bounds panic on maps with single-control-point linear sliders
- [BREAKING] Added the field `TaikoDifficultyAttributes::max_combo`
# v0.3.0
+1 -1
View File
@@ -42,7 +42,7 @@ pub fn stars(
attributes
}
None => return FruitsDifficultyAttributes::default(),
None => FruitsDifficultyAttributes::default(),
}
}
+1 -1
View File
@@ -226,7 +226,7 @@ fn norm(p: f64, a: f64, b: f64, c: f64) -> f64 {
}
/// The result of a difficulty calculation on an osu!taiko map.
#[derive(Clone, Debug, Default)]
#[derive(Copy, Clone, Debug, Default)]
pub struct TaikoDifficultyAttributes {
/// The final star rating.
pub stars: f64,