Commit graph

2389 commits

Author SHA1 Message Date
Corwin 002d409db8 this is not valid because we don't track the lower right entry
for rotation and translation this remains as 1, but it should change for scaling
2022-10-09 00:56:34 +01:00
Corwin 963fbc8c23 should be a multiply 2022-10-09 00:53:48 +01:00
Corwin b43408e6e1 reimplement default 2022-10-09 00:50:41 +01:00
Corwin c02454ef16 remove repr guarentee 2022-10-09 00:42:21 +01:00
Corwin 3497f7a720 switch to using new affine matrix 2022-10-09 00:42:14 +01:00
Corwin 588c762311
Merge pull request #317 from corwinkuiper/object-controller2
Dynamic Objects
2022-10-09 00:28:51 +01:00
Corwin d2f5a5333a Merge remote-tracking branch 'upstream/master' into object-controller2 2022-10-09 00:19:44 +01:00
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