Commit Graph

100 Commits

Author SHA1 Message Date
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 0c6d2e747f parse curve points within range 2023-01-28 15:08:38 +01:00
MaxOhn ea51971471 ignore line on invalid curve points instead of error throw 2023-01-28 03:24:48 +01:00
MaxOhn 28bcf107f1 update to edition 2021 & fix clippy lints 2023-01-27 07:58:07 +01:00
MaxOhn 51a2092020 made clippy happy 2023-01-11 23:57:04 +01:00
Max 746d31d9f2 dont offset based on len parity (#18) 2022-10-31 01:01:49 +01:00
MaxOhn a7b1b1c899 adjusted default capacities for beatmap 2022-10-23 23:28:32 +02:00
MaxOhn 5a129437eb various minor adjustments 2022-10-21 12:42:41 +02:00
MaxOhn 17ce0ef2c9 fixed taiko 2022-10-20 00:10:38 +02:00
MaxOhn 6ff46367ca finished mania + restructured a little 2022-10-19 11:48:11 +02:00
MaxOhn 044fe986c9 mania convert fixes 2022-10-17 09:13:31 +02:00
MaxOhn a091d30e1e finished osu std + bunch of bug fixes 2022-10-14 21:16:51 +02:00
MaxOhn 4bb2fca50c wip mania pp update 2022-10-09 16:37:49 +02:00
MaxOhn 5eb8dab588 wip osu pp update 2022-10-07 18:46:17 +02:00
MaxOhn e81e388f70 anticipate ansi encoding while parsing events 2022-07-12 22:00:58 +02:00
MaxOhn 18e79eab12 consider overflowing edge sounds 2022-07-12 18:12:20 +02:00
MaxOhn 07bd22d238 renamed ParseError::IOError 2022-07-06 16:07:04 +02:00
MaxOhn 970f9ff69f renamed GameMode variants 2022-07-06 15:56:07 +02:00
MaxOhn 27f9bddde3 fixed test in async 2022-07-05 12:21:51 +02:00
Max 7ed1ac5226 added convert support (#12)
* added taiko conversion

* finished converts

* made clippy happy

* optimized allocations for patterns

* taiko convert fixes

* added mode methods for osu calculators

* from CRLF back to LF

* updated changelog

* updated readme

* undo normal hitsound change

* added edge_sounds to changelog
2022-07-04 14:17:15 +02:00
MaxOhn c2e96ce95b refactored beatmap types into a new module 2022-06-27 14:28:46 +02:00
MaxOhn 5fdec291ec made control point types pub 2022-06-21 07:56:28 +02:00
MaxOhn d0db4a1775 made clippy happy 2022-06-21 07:38:50 +02:00
Max bfe61f0fb2 don't read file into a string buffer to parse (#9)
* perform utf8 validation manually while parsing

* perform manual utf8 validation in async

* cleaned up reader

* fixed parsing bugs

* handle utf-16

* skip whitespace before file format

* dont introduce new error variant

* removed new error variant

* simplify macros
2022-06-13 22:35:57 +02:00
MaxOhn dc07a21844 default ar to od if missing 2022-04-15 07:50:15 +02:00
MaxOhn df9398de95 rename speed to clock_rate 2022-03-20 17:07:42 +01:00
MaxOhn 58b2ffba08 renamed fruits to catch 2022-03-20 17:05:37 +01:00
MaxOhn 6c1250fff3 use builder pattern to calculate difficulty attrs 2022-03-20 14:51:24 +01:00
MaxOhn 7e05216740 clamping beat length 2022-03-19 12:40:17 +01:00
MaxOhn 2f9087825d fixed handling missing diff attrs 2022-03-16 10:39:13 +01:00
MaxOhn db4aa46e2b fix handling unavailable uninherited timing point value 2022-03-16 00:12:35 +01:00
MaxOhn 8986cf334e read 'uninherited' value to determine timing point type 2022-03-11 22:15:50 +01:00
MaxOhn 34c3a195da remove all mode features
minor adjustments
2022-01-25 18:04:30 +01:00
MaxOhn d7996ef27c add sounds with capacity 2022-01-25 03:21:06 +01:00
MaxOhn f689a21026 move sound field of HitObject to Beatmap 2022-01-24 23:17:04 +01:00
MaxOhn 1d88764d13 added TaikoGradualPerformanceAttributes 2021-11-24 02:48:26 +01:00
MaxOhn 7ee07ec924 adjusted tests and added /maps for testing 2021-11-21 04:53:52 +01:00
MaxOhn c6b0fc55a8 simplified feature cfg's 2021-11-21 03:54:00 +01:00
MaxOhn 79bc7441e8 added Beatmap::bpm and DifficultyAttributes::max_combo methods 2021-11-21 03:53:43 +01:00
MaxOhn ac1fd76daa removed last_control_point field from HitObjectKind::Slider 2021-11-17 19:15:22 +01:00
MaxOhn fd1cae50e0 removed two ParseError variants and renamed one 2021-11-17 19:07:07 +01:00
MaxOhn 58bf4bd6e0 added a bunch of documentation 2021-11-17 18:59:52 +01:00
MaxOhn 82b124fa75 added method Beatmap::from_path 2021-11-17 16:53:51 +01:00
MaxOhn d39d9ae426 removed math_util module 2021-11-13 17:20:26 +01:00
MaxOhn 8beabd4e11 renamed PpResult+StarResult, minor structural adjustments, documentation update 2021-11-13 17:16:31 +01:00
MaxOhn 15cefe78d5 implemented hotfix & various bug fixes 2021-11-13 14:47:28 +01:00