Commit graph

2226 commits

Author SHA1 Message Date
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
Corwin 454bb872c9 resolve some unsoundness 2022-04-04 23:02:06 +01:00
Gwilym Kuiper c5cebb9520 Theory a font renderer 2022-04-04 22:06:08 +01:00
Gwilym Kuiper c3a64690cd
Merge pull request #207 from gwilymk/dynamic-tileset
Add a slightly crappy dynamic tiles API
2022-04-04 20:41:16 +01:00
Gwilym Kuiper 26d497a3b1
Merge pull request #208 from agbrs/renovate/jamesives-github-pages-deploy-action-4.x
Update JamesIves/github-pages-deploy-action action to v4.3.0
2022-04-04 20:40:58 +01:00
Corwin a4979ac847 better handling of sprites 2022-04-04 20:29:00 +01:00
GBA bot 919ddf06ad Update lockfiles 2022-04-04 15:18:00 +00:00
Renovate Bot ef354f446f
Update JamesIves/github-pages-deploy-action action to v4.3.0 2022-04-04 15:17:03 +00:00