Commit Graph

302 Commits

Author SHA1 Message Date
MaxOhn 8a643fb6f0 perf: implement GradualDifficulty::nth manually 2023-11-08 22:20:05 +01:00
MaxOhn a9a7cd507e doc: fixed broken doc links 2023-11-08 22:12:50 +01:00
MaxOhn 1434e88cef refactor!: renamed gradual calc types 2023-11-08 21:47:54 +01:00
MaxOhn 06a76a834e refactor!: overhauled gradual calc for any mode 2023-11-08 21:44:25 +01:00
MaxOhn 719894526d feat: add last method to gradual perf calc 2023-11-08 21:36:15 +01:00
MaxOhn 2be5bdc365 refactor!: overhauled gradual calc for catch 2023-11-08 21:08:07 +01:00
MaxOhn 4d583f5469 refactor!: overhauled gradual calc for mania 2023-11-08 11:37:02 +01:00
MaxOhn 74083e5ecb refactor!: overhauled gradual calc for taiko 2023-11-08 09:41:34 +01:00
MaxOhn 79e19d5a9b refactor!: overhauled gradual calc for osu 2023-11-07 16:29:31 +01:00
MaxOhn 5fd29c2ab4 feat: added method AnyPP::hitresult_priority 2023-10-28 13:39:58 +02:00
MaxOhn 457934f484 feat: add From<u8> impl for GameMode 2023-10-27 09:59:54 +02:00
MaxOhn 7949e2fc13 perf: reduce TandemSorter size 2023-09-06 13:10:36 +02:00
MaxOhn 5ae7736479 test: added CompactVec tests 2023-09-06 12:47:54 +02:00
MaxOhn 6fde238243 fix: dont panic on erroneous file header (#21) 2023-09-06 00:36:27 +02:00
MaxOhn 8492d91a61 chore: made clippy happy 2023-05-05 15:03:13 +02:00
MaxOhn 0c0ad34827 fix: prevent underflow on fails due to sliders 2023-05-05 10:42:54 +02:00
MaxOhn bd9623d32b use CompactVec for all modes 2023-02-22 13:12:54 +01:00
MaxOhn de342f5c3d compress all values instead of just zeros 2023-02-14 09:11:22 +01:00
MaxOhn 7b87041f49 added {AnyStars/AnyPP}::is_convert 2023-02-11 10:28:07 +01:00
MaxOhn b5439a0229 store zero strain values 2023-02-11 10:27:24 +01:00
MaxOhn b1451b4f0b store taiko strain peaks in CompactZerosVec 2023-02-10 18:53:47 +01:00
MaxOhn 7cc3a4644b break loop early on 0 curr strain 2023-02-09 14:04:28 +01:00
MaxOhn 9c1f2989cb remove invalid curve points error variant 2023-02-09 07:50:17 +01:00
MaxOhn 9d5a059e0a skip parsed line if unknown object type 2023-02-09 07:41:58 +01:00
MaxOhn f645d16bee remove redundant error variant 2023-02-09 07:39:56 +01:00
MaxOhn 16e06e50b7 stricter parsing of file version 2023-02-09 07:37:09 +01:00
MaxOhn a96a6b8ee0 skip parsed line if invalid mode 2023-02-09 07:26:55 +01:00
MaxOhn 9067759dc2 skip parsed line if invalid key:value 2023-02-09 07:24:28 +01:00
MaxOhn d15f3313d9 skip parsed line if expected field not present 2023-02-09 07:08:35 +01:00
MaxOhn 7bac0c7215 clamp clock rate 2023-02-09 06:25:26 +01:00
MaxOhn 1b5399070e added is_convert method to TaikoPP and ManiaPP 2023-02-02 08:54:47 +01:00
MaxOhn 741aa7a8e3 fixed Beatmap::bpm 2023-01-30 00:37:38 +01:00
MaxOhn 58f6b6631b extended comment 2023-01-29 03:40:34 +01:00
MaxOhn 0c6d2e747f parse curve points within range 2023-01-28 15:08:38 +01:00
MaxOhn fb36edd132 expose BeatmapExt methods for mode-specific objects (#20)
* expose osu hitobjects

* added pub method to create osu objects

* expose mania objects

* added some derived traits to public types

* expose taiko objects

* expose catch objects

* add documentation

* fix documentation
2023-01-28 04:33:05 +01:00
MaxOhn 1979d139fb fixed niche capacity overflow 2023-01-28 04:27:57 +01:00
MaxOhn ea51971471 ignore line on invalid curve points instead of error throw 2023-01-28 03:24:48 +01:00
MaxOhn 3b8a5f987d moved BeatmapExt into beatmap module 2023-01-27 13:31:46 +01:00
MaxOhn 28bcf107f1 update to edition 2021 & fix clippy lints 2023-01-27 07:58:07 +01:00
MaxOhn e6957f935a remove outdated comment 2023-01-12 01:27:16 +01:00
MaxOhn 51a2092020 made clippy happy 2023-01-11 23:57:04 +01:00
MaxOhn 07ea95a6c0 added ScoreState::total_hits 2022-11-29 00:29:30 +01:00
Max 20d7598e07 handle pixel_len 0 for catch 2022-11-08 19:59:38 +01:00
Max 7ded74b54e handle underflow for acc percentage 2022-10-31 12:38:03 +01:00
Max 746d31d9f2 dont offset based on len parity (#18) 2022-10-31 01:01:49 +01:00
Max 4e416badd0 convert map internally for gradual tko & mna 2022-10-28 00:42:13 +02:00
Max 2a046a3df0 fixed async tests 2022-10-27 18:34:20 +02:00
Max 47bc69d7fe fixed taiko passed objects 2022-10-27 11:43:09 +02:00
MaxOhn 007410192b remove clock rate from strains section length 2022-10-26 22:25:52 +02:00
MaxOhn 533ff8c960 reordering 2022-10-26 22:23:51 +02:00