Commit graph

2532 commits

Author SHA1 Message Date
Corwin b80f1e5a79
Merge pull request #321 from corwinkuiper/affine-matrix
Some fun affine matrix functions!
2022-10-08 23:55:08 +01:00
Corwin dead6652eb fix lint 2022-10-08 23:46:54 +01:00
Corwin 96401c2833 implement multiplication by scalar 2022-10-08 23:44:22 +01:00
Corwin 9ed5ee2295 change name of function to match the name of the transformation 2022-10-08 23:41:41 +01:00
Corwin a41e85302a add changelog entry 2022-10-08 23:40:12 +01:00
Corwin c33f99aaea add comment on what the matrix represents 2022-10-08 23:39:19 +01:00
Corwin 6927f84597 deny undocumented 2022-10-08 23:39:19 +01:00
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 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