Commit Graph

72 Commits

Author SHA1 Message Date
8162fa90bc simplify BlockHeader 2026-02-13 15:57:42 -08:00
607929a471 reuse types from v0 2026-02-13 10:51:55 -08:00
167d89a2f0 zstd decode 2026-02-13 10:10:12 -08:00
b1ed436fe0 zstd encode 2026-02-13 10:10:12 -08:00
04f5b4f881 v1 2026-02-13 10:10:12 -08:00
080dba4c75 16x bigger blocks 2026-02-13 10:10:12 -08:00
6aea99c06c zero-indexed Ids 2026-02-13 10:10:12 -08:00
616b32a958 fixed block header and event order 2026-02-13 10:10:12 -08:00
cf7184cd3d style setting 2026-02-13 10:10:12 -08:00
e29124edfd u32 Time 2026-02-13 10:09:48 -08:00
c86645542f remove trey float 2026-02-13 10:09:48 -08:00
465cfbf052 copy v0 2026-02-13 10:08:38 -08:00
224a873d89 un-unify setting event to name fields 2026-02-13 10:06:47 -08:00
3cf39032cc const trey float convert 2026-02-13 10:05:25 -08:00
0c896f3ee1 doc RunPrepareEvent 2026-02-13 07:21:32 -08:00
17edf88e05 un-unify camera event to name fields 2026-02-13 07:17:40 -08:00
f9c5ef7b44 Implement Serializer (#3)
Add an algorithm to generate a bot file from a set of timelines.

Reviewed-on: #3
Co-authored-by: Rhys Lloyd <krakow20@gmail.com>
Co-committed-by: Rhys Lloyd <krakow20@gmail.com>
2025-12-15 23:09:21 +00:00
8b365a0579 explicitly note that timelines must be sorted 2025-12-15 14:52:37 -08:00
71685468b6 reexport binrw::Error and make it appear in fn signatures 2025-12-15 14:48:43 -08:00
9ace707bbb refactor tests 2025-12-15 14:41:41 -08:00
7cb66719b0 add InvalidBlockId error 2025-12-15 14:41:24 -08:00
27aa3fb5d1 drop itertools dep (temporarily) 2025-12-15 14:30:07 -08:00
a6c10eab21 use correct trait bound 2025-12-14 11:42:44 -08:00
4ef063a474 merge impl blocks 2025-12-13 10:58:53 -08:00
488ce55990 fix RunClear 2025-12-13 08:37:56 -08:00
c8ec986a2b Fix RunEvent (#2)
It was really wrong!

Reviewed-on: #2
Co-authored-by: Rhys Lloyd <krakow20@gmail.com>
Co-committed-by: Rhys Lloyd <krakow20@gmail.com>
2025-12-13 15:57:26 +00:00
8b52f0765f tweak test to remove cfg macro 2025-11-06 10:39:06 -08:00
67bb41fa5e FileHeader::block_timelines_info 2025-11-06 10:20:35 -08:00
7659e941b9 read_offline_to_block + read_realtime_to_block 2025-11-06 10:08:27 -08:00
7f86d0edaf allow Ord comparison between different inner Timed types 2025-11-06 16:36:25 +01:00
eb26ba0593 move FileHeader magic 2025-11-05 15:01:48 -08:00
d4e94ab0da binrw tech 2025-11-05 10:56:41 -08:00
240a8798cd document more 2025-11-05 10:56:40 -08:00
7e0cb86a32 BlockInfo extends Range 2025-11-05 10:36:54 -08:00
9fdaf34df3 BlockPosition struct never used in a public interface 2025-11-05 10:24:31 -08:00
cc67966743 unused derives 2025-11-05 10:24:31 -08:00
95b8fb2d95 add #[derive(Debug,Clone)] to everything 2025-11-05 09:54:08 -08:00
503710aa95 impl PartialEq & PartialOrd for all Timed events 2025-11-05 09:49:46 -08:00
91d1ba68d4 refactor 2025-11-05 09:04:10 -08:00
f21b5f8c40 support multiple bonuses 2025-11-03 18:57:14 +01:00
fd6b9453f4 derives for enums 2025-09-21 02:26:04 -07:00
00f0419574 pedantry 2025-03-23 18:38:12 -07:00
a6e96d88ab todo: make and test writing files 2025-03-23 15:26:25 -07:00
cffc68a10d use correct magic number instead of padding 2025-03-23 15:08:14 -07:00
77af5e386a refine BinRead Args tech 2025-03-20 20:06:05 -07:00
85537484d1 deconstruct newtype rather than index tuple 2025-03-20 20:00:08 -07:00
5343c28701 tests: consistent use 2025-03-20 19:52:04 -07:00
f3382457b6 silence lints in tests 2025-03-20 19:50:18 -07:00
8f348eeae4 rename struct fields to better reflect internal names 2025-03-20 19:44:06 -07:00
08269a2d3f version typo 2024-12-31 22:51:57 -08:00