Commit graph

2491 commits

Author SHA1 Message Date
GBA bot 8df97c8ce8 Update lockfiles 2022-06-05 20:17:42 +00:00
Renovate Bot 6090d97928
Update Rust crate bindgen to 0.60 2022-06-05 20:16:20 +00:00
Gwilym Kuiper fa482ef9b2
Merge pull request #229 from agbrs/renovate/actions-cache-3.x
Update actions/cache action to v3.0.3
2022-06-01 22:04:36 +01:00
GBA bot b8ef39220d Update lockfiles 2022-05-31 10:15:10 +00:00
Renovate Bot 9a384b0e78
Update actions/cache action to v3.0.3 2022-05-31 10:13:46 +00:00
Gwilym Kuiper 7187d89bdd
Merge pull request #228 from gwilymk/support-transparent-sprites
Support transparent sprites
2022-05-22 19:51:07 +01:00
Gwilym Kuiper 11cdfb0001 Make purple night sprites transparent 2022-05-22 19:30:22 +01:00
Gwilym Kuiper e81503e0bc Make hat-chooses-wizard sprites transparent 2022-05-22 19:29:49 +01:00
Gwilym Kuiper 8b063f8440 Add support for transparent sprites 2022-05-22 19:23:29 +01:00
Gwilym Kuiper ece73dd975
Merge pull request #227 from gwilymk/fix-new-clippy-lint
Remove pointless 'a
2022-05-12 20:54:23 +01:00
Gwilym Kuiper 1a73ecf870 Remove 'c 2022-05-12 20:38:34 +01:00
Gwilym Kuiper b7bc27403e Remove pointless 'a 2022-05-12 20:28:10 +01:00
Gwilym Kuiper 93ed4b87e8
Merge pull request #226 from gwilymk/another-audio-performance-improvement
Another audio performance improvement
2022-05-04 21:05:55 +01:00
Gwilym Kuiper 5c76961506
Merge pull request #225 from gwilymk/allow-setting-size-of-backgrounds
Allow setting size of backgrounds
2022-05-04 21:00:07 +01:00
Gwilym Kuiper 4d2ad8859b Add a comment explaining the improvement 2022-05-04 20:56:39 +01:00
Gwilym Kuiper 4a06acba6b Allow volumes to be a lot higher and check that clipping is handled 2022-05-04 20:42:32 +01:00
Gwilym Kuiper abfbf6a454 Use the renamed register names 2022-05-04 20:36:06 +01:00
Gwilym Kuiper 0ec3c499cb Just use range push and pop 2022-05-04 20:27:41 +01:00
Gwilym Kuiper a0b28176c6 Use .rept rather than defining a macro 2022-05-04 20:25:55 +01:00
Gwilym Kuiper 863abe1d42 Only load SWAP_SIGN once 2022-05-04 18:08:15 +01:00
Gwilym Kuiper 8ec839f181 Be more consistent with instruction use 2022-05-04 18:07:01 +01:00
Gwilym Kuiper b02cdd9233 Calculate 127 + sample earlier 2022-05-04 18:06:11 +01:00
Gwilym Kuiper 3fea9aada0 Somehow reduce clamp_s8 by 1 instruction 2022-05-04 17:58:24 +01:00
Gwilym Kuiper 0229b95d7c Move macro definition 2022-05-04 16:59:17 +01:00
Gwilym Kuiper 73b8530240 Reduce register usage 2022-05-04 16:58:46 +01:00
Gwilym Kuiper 3b9909ad5b Add comment about how silly the implementation of gba_offset is 2022-05-03 23:43:08 +01:00
Gwilym Kuiper 2853d34b30 Correctly render different sized backgrounds and make HTTW have
pointlessly different sized backgrounds to test it properly
2022-05-03 23:42:11 +01:00
Gwilym Kuiper 5211781429 Rename rem_euclid functions 2022-05-03 23:23:55 +01:00
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