Commit graph

2074 commits

Author SHA1 Message Date
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 0a715c347c write changelog 2022-10-08 23:38:58 +01:00
Corwin f17084d4f6 Merge remote-tracking branch 'upstream/master' into object-controller2 2022-10-08 23:36:59 +01:00
Gwilym Kuiper c833989808
Merge pull request #294 from gwilymk/affine
Add affine background support
2022-10-08 23:28:54 +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 a5c86e8ce8 Add changelog entries 2022-10-08 22:44:37 +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 f125025409 Add changelog entry for removing frequency features 2022-10-08 21:24:47 +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 829a28af2b Add the book to the workspace 2022-10-08 17:02:09 +01:00
Gwilym Kuiper c5f6e10889 Update all toml files to the new transparent requirement 2022-10-08 16:59:40 +01:00
Gwilym Kuiper b2e15c8e7b Fix hyperspace roll using the wrong palette assignments 2022-10-08 16:54:55 +01:00
Gwilym Kuiper ea75823900 Use the correct transparent colour 2022-10-08 16:45:58 +01:00
Gwilym Kuiper 1a51b3b502 Remove the definition of transparent colour from image 2022-10-08 16:44:26 +01:00
Gwilym Kuiper 89af366b7a Add transparent colour to the image itself 2022-10-08 16:43:25 +01:00
Corwin b9b08780ff
Merge pull request #322 from corwinkuiper/clippy-fixes
Clippy autofix
2022-10-08 12:20:02 +01:00
Corwin 467ebb0240 cargo clippy fixes in examples 2022-10-08 11:48:11 +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
Gwilym Kuiper e01a3c41b6
Merge pull request #319 from gwilymk/add-some-readme-badges
Add some readme badges
2022-10-02 20:32:17 +01:00
Gwilym Kuiper 5bb1c3b162 Use the correct way to specify the branch 2022-10-02 20:10:46 +01:00
Corwin 5e0795ae14 add garbage collection using hashmap retain 2022-10-02 20:05:13 +01:00
Gwilym Kuiper cdad8afe70 Add some badges to the readme 2022-10-02 19:59:21 +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 e9520ff82d
Merge pull request #318 from gwilymk/add-hashmap-retain-method
Add implementation of `HashMap.retain` method
2022-10-02 19:33:09 +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 01862901c2 Mention the size_hint implementation in the changelog 2022-10-02 18:57:39 +01:00
Gwilym Kuiper 9534ccc59c Add changelog entry 2022-10-02 18:55:57 +01:00