Commit graph

842 commits

Author SHA1 Message Date
Corwin Kuiper 301e2c115a fix tile ids 2021-10-30 20:33:54 +01:00
Corwin Kuiper d0808cb7f2 added helpful functions 2021-10-30 18:38:57 +01:00
Gwilym Kuiper ad82fe291f Add suuport for 32x32 tiles 2021-10-30 18:22:09 +01:00
Gwilym Kuiper 6ed9b06b22 Ensure that the buffer size isn't actually the first instruction in add 2021-10-30 16:02:40 +01:00
Gwilym Kuiper 6ac3789d11 Export ChannelId 2021-10-30 15:38:59 +01:00
Corwin Kuiper b492f3d43d fix rect issue with touching 2021-10-30 12:24:43 +01:00
Corwin ac64d0a36f
Merge pull request #129 from corwinkuiper/touches-reference
add useful derives
2021-10-30 10:27:48 +01:00
Corwin Kuiper be44dbed3d add useful derives 2021-10-30 10:12:45 +01:00
Corwin 3734d01709
Merge pull request #128 from corwinkuiper/hadamard
add more maths
2021-10-29 19:08:02 +01:00
Corwin Kuiper 2838ea5f32 add more maths 2021-10-29 18:34:42 +01:00
Gwilym Kuiper 225689b13d
Merge pull request #127 from gwilymk/make-it-easier-to-configure-sound-frequencies
Make it easier to configure sound frequencies
2021-10-29 16:23:37 +01:00
Gwilym Kuiper c6e7827e34 Add support for 18157Hz 2021-10-29 15:51:05 +01:00
Gwilym Kuiper 26620e850e Have the constants only in one place 2021-10-29 15:51:05 +01:00
Gwilym Kuiper a514625122
Merge pull request #126 from gwilymk/fix-crash-when-looping-stereo
Fix crash when stereo sound loops
2021-10-29 15:50:43 +01:00
Gwilym Kuiper 46b40c8e5b channel.data.len() = 2 * channel.pos 2021-10-29 14:29:22 +01:00
Gwilym Kuiper 5266e7a40c Release agb v0.8.0 2021-10-28 22:28:45 +01:00
Gwilym Kuiper c49952eff9 Reduce the length of the examples 2021-10-28 22:27:08 +01:00
Gwilym Kuiper b75cf33957
Merge pull request #125 from gwilymk/remove-unused-background-size-field
Remove unused field
2021-10-28 22:19:46 +01:00
Gwilym Kuiper 0a68eee3f9 Remove unused field 2021-10-28 21:48:22 +01:00
Gwilym Kuiper e3a35a2eda Release agb-sound-converter v0.1.0 2021-10-28 21:39:33 +01:00
Corwin 2391acb68d
Merge pull request #116 from corwinkuiper/nice-objects
Sane Objects!
2021-10-27 18:32:08 +01:00
Corwin b7734726a6
Merge pull request #123 from gwilymk/stereo-sound
Stereo sound
2021-10-27 18:30:37 +01:00
Corwin 3f310b70a2
Merge pull request #119 from corwinkuiper/partial-backgrounds
possible iter for backgrounds
2021-10-27 18:30:25 +01:00
Gwilym Kuiper 1d38b75289 Reduce stereo mixing by 1 instruction 2021-10-26 23:09:50 +01:00
Gwilym Kuiper 9524b4b3c3 Loads of comments to explain what all the steps are doing 2021-10-26 22:25:35 +01:00
Gwilym Kuiper 050ee184b0 Add stereo sound example 2021-10-26 22:14:46 +01:00
Gwilym Kuiper 5bd656d8cb Add support for stereo sound 2021-10-26 22:14:34 +01:00
Gwilym Kuiper 8a0bb13dba Ensure that audio is always 32-bit aligned 2021-10-26 22:14:14 +01:00
Corwin Kuiper ec0d4431ad allow direct access to screen 2021-10-24 20:41:21 +01:00
Corwin Kuiper f2c4354c1b reduce to a byte array 2021-10-23 17:15:57 +01:00
Corwin Kuiper 713791b3fe satisfy linter 2021-10-23 17:15:57 +01:00
Corwin Kuiper 8d0c50b37a affines are referenced counted with the new RC arena(ish) implementation 2021-10-23 17:15:53 +01:00
Gwilym Kuiper 4f0b01b932 Add option to mark sound as stereo 2021-10-18 21:22:36 +01:00
Gwilym Kuiper e92383e29c
Merge pull request #121 from gwilymk/agb-sound-converter
Agb sound converter
2021-10-18 21:19:31 +01:00
Gwilym Kuiper 99de8c3a34 Be pickier with clippy 2021-10-18 21:15:11 +01:00
Gwilym Kuiper 2d948d894a Add clippy for sound-converter 2021-10-18 21:14:24 +01:00
Gwilym Kuiper 56241eb1f9
Merge pull request #122 from gwilymk/remove-pub-from-template
Fixup build error in template
2021-10-18 20:40:50 +01:00
Gwilym Kuiper 5fd345ff56 Fixup build error in template 2021-10-18 20:31:51 +01:00
Gwilym Kuiper 33e7106c00 Ensure agb-sound-converter tests pass too 2021-10-18 20:27:38 +01:00
Gwilym Kuiper ed5dbb5c0c Add release script and workflow for sound converter 2021-10-18 20:24:52 +01:00
Gwilym Kuiper 626e00bb56 Can avoid needing .ok() 2021-10-18 20:22:55 +01:00
Gwilym Kuiper 0687229a1a Only open the file if we're definitely writing 2021-10-18 20:22:21 +01:00
Gwilym Kuiper 8a109afee4 Use a cache of the changed file 2021-10-18 20:21:22 +01:00
Gwilym Kuiper eb26a21629 Attempt to make it so that the sound converter doesn't create too many tokens 2021-10-17 23:22:36 +01:00
Gwilym Kuiper 66e201ae39 Update example to use the new macro 2021-10-17 22:38:19 +01:00
Gwilym Kuiper 292c4fd20f Handle all the different wav formats correctly 2021-10-17 22:37:50 +01:00
Corwin 562dfb6fa0
Merge pull request #120 from corwinkuiper/clippy-fix
resolve some clippy lints
2021-10-17 22:26:50 +01:00
Corwin Kuiper d22e46f7e3 resolve some clippy lints 2021-10-17 22:08:33 +01:00
Gwilym Kuiper 58262bf0f5 First attempt at writing the generator for this 2021-10-17 22:01:41 +01:00
Corwin Kuiper 1541d514c9 possible iter for backgrounds 2021-10-17 21:59:57 +01:00