Commit graph

1429 commits

Author SHA1 Message Date
Corwin
c09c0b77f4 add docs 2022-10-08 23:39:19 +01:00
Corwin
5e8a50159e implement try from 2022-10-08 23:39:19 +01:00
Corwin
d83f0ea710 from rotation accept generic fixnum 2022-10-08 23:39:19 +01:00
Corwin
99f01caea4 some fun affine matrix functions! 2022-10-08 23:39:19 +01:00
Corwin
f17084d4f6 Merge remote-tracking branch 'upstream/master' into object-controller2 2022-10-08 23:36:59 +01:00
Gwilym Kuiper
f921da930a Fix doc comment 2022-10-08 23:15:54 +01:00
Gwilym Kuiper
a09be56319 Fix example 2022-10-08 23:08:04 +01:00
Gwilym Kuiper
f5f73e89f5
Merge branch 'master' into affine 2022-10-08 23:03:42 +01:00
Gwilym Kuiper
1e759dbeca Move the palettes to a single constant rather than being repeated 2022-10-08 23:02:54 +01:00
Gwilym Kuiper
9bddbdba1c Seal the TiledMap trait 2022-10-08 22:40:20 +01:00
Gwilym Kuiper
5c578df227 transparent colour definition isn't really needed here 2022-10-08 22:34:54 +01:00
Gwilym Kuiper
7d43903ee0
Merge pull request #323 from gwilymk/remove-frequency-features
Remove frequency features
2022-10-08 22:24:07 +01:00
Gwilym Kuiper
cc66b65847 Update the docs 2022-10-08 21:39:48 +01:00
Gwilym Kuiper
870478353c Use the correct buffer sizes 2022-10-08 21:20:13 +01:00
Gwilym Kuiper
c0821c9229 Ensure packed(4) 2022-10-08 17:14:58 +01:00
Gwilym Kuiper
fe2e480f28 Remove pointless casts 2022-10-08 17:13:25 +01:00
Gwilym Kuiper
faed7b456f Avoid double transforming 2022-10-08 17:12:50 +01:00
Gwilym Kuiper
e63e830a9c Merge remote-tracking branch 'origin/master' into affine 2022-10-08 17:05:00 +01:00
Gwilym Kuiper
c5f6e10889 Update all toml files to the new transparent requirement 2022-10-08 16:59:40 +01:00
Corwin
c90e8de893 clippy autofix 2022-10-08 11:34:43 +01:00
Gwilym Kuiper
c6d961cd8d Almost works 2022-10-02 21:18:29 +01:00
Gwilym Kuiper
2ffc68c5c1 Start making the frequency field dynamic rather than a feature flag 2022-10-02 21:14:01 +01:00
Corwin
5e0795ae14 add garbage collection using hashmap retain 2022-10-02 20:05:13 +01:00
Corwin
7143621407 use unsafe around creating new static sprites, no guarentee that it does it correctly though 2022-10-02 19:34:38 +01:00
Corwin
b7448d714e remove unused arena 2022-10-02 19:34:38 +01:00
Corwin
5d541631ae add dynamic sprite support 2022-10-02 19:34:38 +01:00
Corwin
1acf7142da switch to using rust Rc 2022-10-02 19:34:38 +01:00
Corwin
5d21f720a5 add arena library 2022-10-02 19:34:38 +01:00
Corwin
88e1635fb1 unify types 2022-10-02 19:34:38 +01:00
Corwin
781e1efc6f satisfy linter 2022-10-02 19:34:38 +01:00
Corwin
758f9849c3 track the lifetime of the static object controller 2022-10-02 19:34:38 +01:00
Gwilym Kuiper
4bf3e0d597 Add tests for size_hint and ensure .iter() returns a better iterator 2022-10-02 19:10:50 +01:00
Gwilym Kuiper
78554862c8 Move the tests to a better location 2022-10-02 19:05:29 +01:00
Gwilym Kuiper
a44b8a4013 Add comment explaining the continue statement 2022-10-02 19:00:59 +01:00
Gwilym Kuiper
c658b6afe5 Add implementation of retain to HashMap 2022-10-02 18:55:21 +01:00
Gwilym Kuiper
2d23f0a36c Implement size_hint for the hashmap iterators 2022-10-02 18:44:48 +01:00
Gwilym Kuiper
ae5d8818b6 Fix test in release mode (don't know why this works :/ but is more correct) 2022-10-01 17:09:48 +01:00
Gwilym Kuiper
ffde16abd9 Remove crate::println! 2022-10-01 15:31:19 +01:00
Gwilym Kuiper
ccc3823085 Remove unused import 2022-10-01 15:30:46 +01:00
Gwilym Kuiper
cde3bca0ea Make the background rotate again 2022-10-01 15:30:37 +01:00
Gwilym Kuiper
dd2030d354 Use the fact that tris turn into integers nicely 2022-10-01 15:29:42 +01:00
Gwilym Kuiper
63b0fa63c6 packed(4) to ensure alignment 2022-10-01 15:28:53 +01:00
Gwilym Kuiper
83c28254a1 Update to be closer to the API I actually want but currently only works in release mode 2022-09-22 23:29:58 +01:00
Gwilym Kuiper
59673206b3 Make the example work the way I expect it to 2022-09-22 21:34:03 +01:00
Gwilym Kuiper
496b4a4953 repr packed 2022-09-22 21:33:59 +01:00
Gwilym Kuiper
84c87a8088 Merge remote-tracking branch 'origin/master' into affine 2022-09-22 20:13:23 +01:00
Alissa Rao
b920d94f83
Remove agb-tests in favor of putting the tests directly in agb. 2022-09-15 23:28:38 -07:00
Alissa Rao
8f3e438070
Final round of bugfixes, documentation fixes and clippy warning fixes. 2022-09-15 23:25:17 -07:00
Alissa Rao
821098dd26
Implement EEPROM save media.
Fix EEPROM implementation.
2022-09-15 23:25:16 -07:00
Alissa Rao
8dd0f4768a
Add support for flash save media. 2022-09-15 23:25:16 -07:00