Commit graph

3489 commits

Author SHA1 Message Date
Gwilym Kuiper 15e441b087 Remove the division on every insert operation 2022-03-24 18:31:18 +00:00
Gwilym Kuiper 7ad52a2974 Use agb's random rather than own implementation 2022-03-23 22:08:53 +00:00
Gwilym Kuiper a57043604d Add some tests for the rng 2022-03-23 22:05:41 +00:00
Gwilym Kuiper 3c52f6940b Add new_with_seed method 2022-03-23 21:53:09 +00:00
Gwilym Kuiper 610722a1bf Extract the random number generator 2022-03-23 21:52:37 +00:00
Gwilym Kuiper 9752377a15 Move the random number generator to a crate level thing 2022-03-23 21:46:59 +00:00
Gwilym Kuiper 1982df727c
Merge pull request #200 from gwilymk/small-fixes-to-match-rust-api-guidelines
Small fixes to match rust api guidelines
2022-03-23 21:44:01 +00:00
Gwilym Kuiper 8af673501d cargo fix in hat chooses wizard 2022-03-23 20:56:05 +00:00
Gwilym Kuiper c136a3669e Fix warnings in purple night 2022-03-23 20:46:17 +00:00
Gwilym Kuiper ca57b61525 Remove fere_affine_matricies for now 2022-03-23 20:44:28 +00:00
Gwilym Kuiper 1f053c987a Fix warnings in chicken.rs 2022-03-23 20:43:38 +00:00
Gwilym Kuiper b44b42de1d Remove unused num_tiles method 2022-03-23 20:42:51 +00:00
Gwilym Kuiper 13de08dce7 cargo fix 2022-03-23 20:42:31 +00:00
Gwilym Kuiper 631bbed5c7 Rename get_data_end to data_end 2022-03-23 20:42:01 +00:00
Gwilym Kuiper 81853c6c99 Rename get_colour to colour 2022-03-23 20:41:24 +00:00
Gwilym Kuiper 123e8caaa4 Remove unused get_palette method 2022-03-23 20:40:15 +00:00
Gwilym Kuiper 77eba9b637 Remove get_ prefix in program_counter_before_interrupt 2022-03-23 20:39:41 +00:00
Gwilym Kuiper f1fd5859f3 Rename a few methods in object.rs to remove get_ prefix 2022-03-23 20:37:59 +00:00
Gwilym Kuiper 1f28499efb Rename get_as_bits to remove get_ prefix 2022-03-23 20:37:00 +00:00
Gwilym Kuiper 9ba455ca35 Remove the unused arena module 2022-03-23 20:35:58 +00:00
Gwilym Kuiper 3e34509049 Rename get_object to object 2022-03-23 20:34:55 +00:00
Gwilym Kuiper 5791d033ef Rename get_sprite and get_animation_sprite to remove get_ prefix 2022-03-23 20:32:29 +00:00
Gwilym Kuiper 35c7c48f73 Rename get_write_buffer -> write_buffer 2022-03-23 20:26:43 +00:00
Gwilym Kuiper b91f129636 Remove get_ methods for tiled 2022-03-23 20:26:18 +00:00
Gwilym Kuiper 8427bb5595 Remove get_ from timer functions 2022-03-23 20:24:22 +00:00
Gwilym Kuiper c698f858bb Rename get_distance to distance 2022-03-23 20:22:58 +00:00
Gwilym Kuiper 84b7317380 Rename get_location to location 2022-03-23 20:22:37 +00:00
Gwilym Kuiper 48ddda9ae9 Rename get_channel to channel 2022-03-23 20:21:54 +00:00
Corwin 518f73c01e
Merge pull request #189 from corwinkuiper/perfectly-poor-profiler
Problematic poor person's profiler
2022-03-22 22:26:29 +00:00
Corwin adffcc6773 add comment on profiler 2022-03-22 22:08:59 +00:00
Corwin ac9826c4d7 move profiler to be a function 2022-03-22 09:39:03 +00:00
Gwilym Kuiper 2ea8ec6eac
Merge pull request #199 from gwilymk/small-improvements-while-working-on-bad-apple-demo
Small improvements while working on bad apple demo
2022-03-21 23:56:35 +00:00
Gwilym Kuiper 1c33c8544e Seems range inclusive doesn't optimise very well... 2022-03-21 23:16:02 +00:00
Gwilym Kuiper 451868723f Add dealloc_no_normalise 2022-03-21 23:01:38 +00:00
Gwilym Kuiper e6d47afa31 Use a hash map rather than an array in vram manager 2022-03-21 22:58:16 +00:00
Gwilym Kuiper 9170acb1a8 Update agb to handle the new agb-image-converter output 2022-03-21 22:57:17 +00:00
Gwilym Kuiper d4a12277eb Generate a bytestring for the image converter rather than the array 2022-03-21 22:41:11 +00:00
Corwin 4bec0d073f The poor profiler 2022-03-21 22:34:15 +00:00
Corwin 3c09a86f88
Merge pull request #198 from corwinkuiper/boxed-interrupts
Boxed interrupts
2022-03-21 22:33:06 +00:00
Corwin aa0337941a add docs 2022-03-21 22:19:07 +00:00
Corwin f312ff7df8 enable interrupts at initialisation 2022-03-21 21:57:46 +00:00
Gwilym Kuiper 1bbf705a2b
Merge pull request #197 from gwilymk/make-hashmap-match-rust-std
Make hashmap match rust std
2022-03-21 21:52:56 +00:00
Corwin c74707b1a6 update examples 2022-03-21 21:52:46 +00:00
Corwin 1f3d3380f1 switch interrupts to be in boxes 2022-03-21 21:52:39 +00:00
Gwilym Kuiper e6fb67503b Add a comment explaining where the docs came from 2022-03-21 21:18:56 +00:00
Gwilym Kuiper 447554c295 Add loads of doc comments 2022-03-21 21:16:36 +00:00
Gwilym Kuiper c7db20c1df Implement insert correctly 2022-03-21 20:42:07 +00:00
Gwilym Kuiper 24b61f51fe Implement more of the standard rust API 2022-03-21 20:33:48 +00:00
Gwilym Kuiper 1852591a99
Merge pull request #195 from agbrs/renovate/asefile-0.x
Update Rust crate asefile to 0.3.4
2022-03-21 20:03:34 +00:00
Renovate Bot 3755c68a0f
Update Rust crate asefile to 0.3.4 2022-03-21 19:51:58 +00:00