Commit graph

2183 commits

Author SHA1 Message Date
Gwilym Kuiper 563138937e Fix set_background_palette (not sure why dma wasn't working) 2022-04-23 23:26:47 +01:00
GBA bot 71788e1f0a Update lockfiles 2022-04-23 22:14:08 +00:00
Renovate Bot 82310b1b95
Update JamesIves/github-pages-deploy-action action to v4.3.2 2022-04-23 22:12:55 +00:00
Gwilym Kuiper 178db91072 Add gc step for tiles 2022-04-23 23:03:02 +01:00
Gwilym Kuiper 7688316034 Add a gc step in commit 2022-04-23 22:58:25 +01:00
Gwilym Kuiper a562a4f600 Print frame which shows issue 2022-04-23 22:48:05 +01:00
Gwilym Kuiper b78b888ce3
Merge pull request #217 from gwilymk/run-clippy-on-examples-and-tests
Run clippy on examples and tests
2022-04-23 21:08:16 +01:00
Gwilym Kuiper 85c3287680 Run clippy on examples and tests 2022-04-23 21:03:37 +01:00
Gwilym Kuiper fba087f2ee
Merge pull request #216 from gwilymk/deny-warnings
Deny warnings and try to make the build a bit faster
2022-04-23 17:34:05 +01:00
Gwilym Kuiper 98a55b3ce2 Reduce what gets built quite a lot more 2022-04-23 17:24:55 +01:00
Gwilym Kuiper 1593c0e8b6 Move clippy deny to config.toml and fix warnings 2022-04-23 17:10:29 +01:00
Gwilym Kuiper 3143d89359 Fiddle around with the build script to try and speed it up 2022-04-23 17:10:17 +01:00
Gwilym Kuiper a32bb2125b Remove deny clippy::all from lib.rs to ensure it always builds for users 2022-04-23 16:26:42 +01:00
Gwilym Kuiper 4eb31cda34 Add deny warnings and clippy::all to build script 2022-04-23 16:26:27 +01:00
Gwilym Kuiper 4cf92fa18a
Merge pull request #215 from gwilymk/optimise-font-rendering
Optimise font rendering
2022-04-23 16:23:37 +01:00
Gwilym Kuiper 4f6f981ce7 Usage of group now requires 'full' 2022-04-23 15:56:07 +01:00
Gwilym Kuiper fb197d3e79 Store font data more compressed 2022-04-23 15:42:08 +01:00
Gwilym Kuiper 1b71ef6473 Add test for font output 2022-04-23 15:33:57 +01:00
Gwilym Kuiper 6485cc895a Extract method 2022-04-23 14:34:34 +01:00
Gwilym Kuiper fec4015978 Remove hash map lookup for every pixel rendered 2022-04-23 14:30:46 +01:00
Gwilym Kuiper 6d0f95c21b
Merge pull request #214 from gwilymk/random-number-generator
Random number generator
2022-04-11 22:20:16 +01:00
Gwilym Kuiper dc62ba4467 Rename rng::next to rng::gen 2022-04-11 22:07:31 +01:00
Gwilym Kuiper 592543ee7b
Merge pull request #213 from gwilymk/use-unsigned-abs
Use unsigned_abs to satisfy clippy
2022-04-11 21:32:23 +01:00
Gwilym Kuiper 88ce5a5f28
Merge pull request #212 from agbrs/renovate/actions-cache-3.x
Update actions/cache action to v3.0.2
2022-04-11 21:21:52 +01:00
Gwilym Kuiper f304412053 Use unsigned_abs to satisfy clippy 2022-04-11 21:15:17 +01:00
GBA bot d394c43d4f Update lockfiles 2022-04-11 11:55:44 +00:00
Renovate Bot 5d41f7c0d1
Update actions/cache action to v3.0.2 2022-04-11 11:54:38 +00:00
Gwilym Kuiper 0bb364f333
Merge pull request #211 from gwilymk/avoid-overwriting-text-on-line-above
Avoid overwriting text on line above
2022-04-09 12:25:50 +01:00
Gwilym Kuiper d56e4d5888 Correctly remove dynamic tiles if not committing a text renderer 2022-04-07 23:07:58 +01:00
Gwilym Kuiper dc4ccee451 Add a commit method for text_render 2022-04-07 23:01:01 +01:00
Gwilym Kuiper 5701667f53 Avoid overwriting text on the line above 2022-04-07 22:56:28 +01:00
Corwin f7ef25f3f0
Merge pull request #209 from corwinkuiper/z-ordered-sprites
Z ordered sprites
2022-04-07 22:46:26 +01:00
Corwin 859029a7a9 delete sprites during commit 2022-04-06 23:55:13 +01:00
Gwilym Kuiper b76cc1f4fc
Merge pull request #210 from gwilymk/font-rendering
Text rendering
2022-04-06 21:30:46 +01:00
Gwilym Kuiper 82c5ebf426 Use a core::fmt::Write instead 2022-04-06 21:13:57 +01:00
Gwilym Kuiper e3e29ab21b Update lockfiles with new font rendering stuff 2022-04-05 23:43:58 +01:00
Gwilym Kuiper a0013096cc Remove argument 2022-04-05 23:43:35 +01:00
Gwilym Kuiper f3c467c2f1 set_background_palette seems inconsistent between release and debug mode :/ 2022-04-05 23:39:06 +01:00
Gwilym Kuiper 45e18d5cc7 Use a better example font which isn't monospace 2022-04-05 23:35:18 +01:00
Gwilym Kuiper 5c24e4089a Minimise generated dynamic tiles by using a hashmap 2022-04-05 23:11:32 +01:00
Gwilym Kuiper 22f89ed9e2 Return the bounding box 2022-04-05 23:03:56 +01:00
Gwilym Kuiper 1f65f94ee3 Support rendering multiple lines 2022-04-05 23:03:10 +01:00
Gwilym Kuiper 8a1a433f99 Replace returning number of lines printed to x width 2022-04-05 22:49:34 +01:00
Gwilym Kuiper 6bea61bb7a Update the dynamic tiles example 2022-04-05 22:48:03 +01:00
Gwilym Kuiper d18d2fcde8 Remove unused import 2022-04-05 22:44:51 +01:00
Gwilym Kuiper 2c2931fa97 Handle the height of letters correctly 2022-04-05 22:44:32 +01:00
Gwilym Kuiper e7e35f8ad8 Take xmin into account 2022-04-05 22:35:45 +01:00
Gwilym Kuiper a6f5cc9ec1 Render some text 2022-04-05 22:32:11 +01:00
Corwin 845076d0b4 add a test exploring some usage 2022-04-05 21:30:38 +01:00
Corwin 810726ea79 fix book example 2022-04-05 21:30:26 +01:00