Commit graph

2733 commits

Author SHA1 Message Date
Gwilym Kuiper 97e3948f32 Fix warnings and remove debug logs 2022-08-11 23:49:51 +01:00
Gwilym Kuiper ff89f7f425 Get first example working 2022-08-11 23:49:51 +01:00
Gwilym Kuiper 916a3d4b20 Start tracking the colours for a 256 colour image 2022-08-11 23:49:51 +01:00
Gwilym Kuiper 702286979d Fix warning 2022-08-11 23:49:51 +01:00
Gwilym Kuiper e97061a5af Optimise all palettes together 2022-08-11 23:49:51 +01:00
Gwilym Kuiper c87a9ff077 Allow configuring backgrounds with a colour 2022-08-11 23:49:51 +01:00
Gwilym Kuiper 9a5ecc5cda Assert replace tile is passed two tiles of the same size 2022-08-11 23:49:51 +01:00
Gwilym Kuiper d106b0a82b Simplify map.rs 2022-08-11 23:49:51 +01:00
Gwilym Kuiper affea47a32 Remove const and rustfmt::skip 2022-08-11 23:49:51 +01:00
Gwilym Kuiper 31f85cf6b9 Simplify tiled0-2 2022-08-11 23:49:51 +01:00
Gwilym Kuiper d59e2672c0 Remove features 2022-08-11 23:49:51 +01:00
lifning ee576597c2 Add rudimentary affine background layer support. 2022-08-11 23:49:51 +01:00
Corwin 0a991af2e9
Merge pull request #289 from corwinkuiper/blend
Add blending support
2022-08-11 20:38:14 +01:00
Corwin d5c9312dc4 add convenience functions for performing multiple actions on one layer 2022-08-09 19:16:12 +01:00
Corwin 2cc5602731 add changelog entry 2022-08-09 19:16:12 +01:00
Corwin afa9ef9109 add docs for blend 2022-08-09 19:16:12 +01:00
Corwin 921c26f7c2 add blending to the window example 2022-08-09 19:16:12 +01:00
Corwin ff5a1fbbba add an example to the new number function 2022-08-09 19:16:12 +01:00
Corwin 7ad160e30f use struct newtypes 2022-08-09 19:16:12 +01:00
Corwin cae71ff249 add blend to distributor 2022-08-09 19:16:12 +01:00
Corwin 41ccd56919 new function for blend 2022-08-09 19:16:12 +01:00
Corwin d0b3d9e7b3 add blend abstraction 2022-08-09 19:16:12 +01:00
Corwin 5d2161c318 add function to attempt to change base 2022-08-09 19:16:12 +01:00
Corwin ca9c898c14 add general set bits 2022-08-09 19:16:12 +01:00
Corwin 3dda6fb0da
Merge pull request #292 from corwinkuiper/fix-fast-normalise
take absolute values of the x, y coordinate
2022-08-08 19:45:22 +01:00
Corwin a1ea317b43 update the changelog to note this fix 2022-08-08 18:57:46 +01:00
Corwin 102b4f6c2d take absolute values of the x, y coordinate 2022-08-08 18:56:30 +01:00
Corwin 522140e1fa add a workspace to load all agb projects
this works well with rust-analyzer! Can use it across all our crates.
2022-08-08 18:55:19 +01:00
Corwin 4a5f77ddd6 fix doc comment to link correctly 2022-08-06 21:16:11 +01:00
Corwin 319cb7da6f
Merge pull request #283 from agbrs/windows
Windows
2022-08-06 14:10:12 +01:00
Corwin 12d4a8cd81 add module level docs 2022-08-06 12:51:59 +01:00
Corwin fc94f833f7 update changelog with windows 2022-08-06 12:36:50 +01:00
Corwin e1448f7d81 write docs for windows 2022-08-06 12:36:28 +01:00
Corwin 78ff4011c7 merge imports 2022-08-06 12:36:28 +01:00
Corwin dbbd7a3d34 add some inlines to small functions 2022-08-06 12:36:28 +01:00
Corwin e318898197 add example for window 2022-08-06 12:36:28 +01:00
Corwin 2b4a95a4a9 clamp the position before converting to u8 2022-08-06 12:36:28 +01:00
Corwin 648ce375d5 enabling and disabling windows 2022-08-06 12:36:28 +01:00
Corwin f9d9220ead function to reset the window 2022-08-06 12:36:28 +01:00
Corwin 44fd7d0027 use a name matching rust conventions 2022-08-06 12:36:28 +01:00
Corwin 7735baecc9 use a more sensible ordering of numbers 2022-08-06 12:36:28 +01:00
Corwin a188e7ba66 add abstraction over windows 2022-08-06 12:36:28 +01:00
Corwin 10423d0752 background id exposed 2022-08-06 12:36:28 +01:00
Corwin 15cfc5196b
Merge pull request #286 from corwinkuiper/sound-converter-out_dir
Emit sound as a single token, no longer require OUT_DIR hacks that Cargo doesn't intend
2022-08-04 23:28:54 +01:00
Gwilym Kuiper 66e4e3759b
Merge pull request #285 from gwilymk/rewrite-shell-scripts-in-rust
Write release script in rust
2022-08-04 23:03:50 +01:00
Gwilym Kuiper 0e1eb41852 No longer hardcode the crates to publish 2022-08-04 22:57:24 +01:00
Corwin d0a238da9e emit sound directly as a single token 2022-08-04 22:53:25 +01:00
Gwilym Kuiper c74c231863 Deny clippy::all 2022-08-04 22:24:25 +01:00
Gwilym Kuiper 4bc5df458a Lint and test the tools in CI 2022-08-04 22:23:49 +01:00
Gwilym Kuiper 604395ec26 Release as much at once as possible 2022-08-04 22:17:54 +01:00