Commit graph

2763 commits

Author SHA1 Message Date
Gwilym Kuiper be650779e6 Correctly allocate screenblocks 2022-05-03 23:23:25 +01:00
Gwilym Kuiper ae65af4ca2 Make rem_euclid_* return a u16 2022-05-03 23:03:23 +01:00
Gwilym Kuiper 817e1e305e Add rem_euclid_*_px for pixel calculations 2022-05-03 23:00:31 +01:00
Gwilym Kuiper 4d3d2acd3b This should always be 32 2022-05-03 22:55:50 +01:00
Gwilym Kuiper 39b37e7506 Fix example games 2022-05-03 22:51:01 +01:00
Gwilym Kuiper 5513c8566f Replace calls to rem_euclid with unknown denominator with simple & 2022-05-03 22:46:01 +01:00
Gwilym Kuiper fae71bfbca Fix all the examples 2022-05-03 22:29:51 +01:00
Gwilym Kuiper 4f2eddb367 Actually set the correct flag 2022-05-03 21:51:00 +01:00
Gwilym Kuiper cc57dcf649 Fix compile errors 2022-05-03 21:48:08 +01:00
Gwilym Kuiper 384a5bc887 Remove a bunch of hard coded widths and heights 2022-05-03 21:46:32 +01:00
Gwilym Kuiper d514aafad4 Pass through the size 2022-05-03 21:34:41 +01:00
Gwilym Kuiper 5dd0c61808 Derive normal stuff on an enum 2022-05-03 21:30:32 +01:00
Gwilym Kuiper 288fa0c85e Add an enum for tracking background size of regular tiles 2022-05-03 21:28:32 +01:00
Gwilym Kuiper 06f701af75
Merge pull request #224 from gwilymk/print-warnings-for-assembler
Print warnings for assembler
2022-04-26 22:27:31 +01:00
Gwilym Kuiper 9cd3d7440d
Merge pull request #223 from gwilymk/tiny-audio-optimisation
Tiny audio optimisation
2022-04-26 22:18:57 +01:00
Gwilym Kuiper 0e7fb41501
Merge pull request #222 from agbrs/renovate/jamesives-github-pages-deploy-action-4.x
Update JamesIves/github-pages-deploy-action action to v4.3.3
2022-04-26 22:17:55 +01:00
Gwilym Kuiper 94f66f74b1 Fix warning in assembly 2022-04-26 22:16:56 +01:00
Gwilym Kuiper c3bfe83f6b Collect warnings to print them 2022-04-26 22:15:32 +01:00
Gwilym Kuiper 0761132779 Range of a signed byte is -128 - 127... 2022-04-26 21:22:50 +01:00
Gwilym Kuiper 921e2e9adf Calculate 32-bits at a time, since we're storing into IWRAM 2022-04-26 21:17:07 +01:00
Gwilym Kuiper 245cafa599 Calculate 2 samples per loop 2022-04-26 21:08:22 +01:00
Gwilym Kuiper 260f664c36 Extract to macro 2022-04-26 21:04:33 +01:00
Renovate Bot cd92a728c2
Update JamesIves/github-pages-deploy-action action to v4.3.3 2022-04-26 04:20:42 +00:00
Gwilym Kuiper b49eff2460
Merge pull request #221 from gwilymk/only-fail-ci-builds-on-warning
Only fail ci builds on warning
2022-04-24 17:36:46 +01:00
Gwilym Kuiper 11a715f715
Merge pull request #220 from agbrs/renovate/asefile-0.x
Update Rust crate asefile to 0.3.5
2022-04-24 17:22:15 +01:00
GBA bot e168638a3b Update lockfiles 2022-04-24 16:12:05 +00:00
Renovate Bot 0e0b74464b
Update Rust crate asefile to 0.3.5 2022-04-24 16:10:50 +00:00
Gwilym Kuiper 61ed2b905d Allow warnings when developing, but still fail CI 2022-04-24 17:07:43 +01:00
Gwilym Kuiper d51f61a6fb
Merge pull request #219 from gwilymk/stop-freeing-still-in-use-tiles
Stop freeing still in use tiles
2022-04-23 23:34:00 +01:00
Gwilym Kuiper 814a058313
Merge pull request #218 from agbrs/renovate/jamesives-github-pages-deploy-action-4.x
Update JamesIves/github-pages-deploy-action action to v4.3.2
2022-04-23 23:28:17 +01:00
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