Commit graph

1354 commits

Author SHA1 Message Date
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
Gwilym Kuiper 6f804d884b Release agb v0.7.0 2021-10-04 23:43:18 +01:00
Gwilym Kuiper cc62ef72a7 Release agb-macros v0.1.0 2021-10-04 21:02:52 +01:00
Corwin cea4df395f
Merge pull request #115 from corwinkuiper/fix-clippy-for-backgrounds
fix clippy lints
2021-10-04 20:59:19 +01:00
Corwin Kuiper df98f58c0e fix clippy lints 2021-10-04 20:56:28 +01:00
Gwilym Kuiper 94309a2518
Merge pull request #113 from gwilymk/add-test-for-rust-bug
Add test that data_end is in the correct place
2021-10-04 20:38:54 +01:00
Gwilym Kuiper a1d44ed022
Merge pull request #114 from gwilymk/rename-publish-agb-entry-to-macros
Rename publish-agb-entry to publish-agb-macros
2021-10-04 20:37:50 +01:00
Corwin 3e94bd27ee
Merge pull request #101 from corwinkuiper/sane-backgrounds
Sane backgrounds
2021-10-04 20:34:12 +01:00
Gwilym Kuiper b7d9718960 Rename publish-agb-entry to publish-agb-macros 2021-10-04 20:34:04 +01:00
Gwilym Kuiper 38bba03431
Merge pull request #112 from gwilymk/special-case-simple-mixer
Special case simple mixer
2021-10-04 20:17:15 +01:00
Gwilym Kuiper a31efe7156 Add test that data_end is in the correct place 2021-10-04 20:15:34 +01:00
Gwilym Kuiper 25cca44b6b Cargo fmt 2021-10-03 23:26:02 +01:00
Gwilym Kuiper 871d90c889 Special case mixer without multiplication 2021-10-03 23:00:43 +01:00
Corwin Kuiper 9192722f5a fix build 2021-09-19 20:56:36 +01:00
Corwin Kuiper f7c2118a40 start work on separating out background sizes 2021-09-19 20:17:50 +01:00
Corwin Kuiper 1ae3c34877 begin work on affine regular compatability 2021-08-28 23:02:35 +01:00
Corwin f6f6f4d22e
Merge pull request #109 from corwinkuiper/free-list
free list allocator
2021-08-28 22:47:10 +01:00
Corwin Kuiper 3d269c98fd split blocks 2021-08-21 12:56:15 +01:00
Corwin Kuiper 63d880f083 no point checking if null and returning null 2021-08-21 12:03:30 +01:00
Corwin Kuiper 6523a3c6b8 free list allocator 2021-08-21 11:07:53 +01:00
Corwin e5f331587f
Merge pull request #108 from gwilymk/simple-alloc-implementation
Simple alloc implementation
2021-08-18 00:04:40 +01:00
Gwilym Kuiper 9350e837b7 Add alloc to the template's config.toml 2021-08-16 23:41:44 +01:00
Gwilym Kuiper 6d11302725 Fix clippy lint in the allocator 2021-08-16 23:40:16 +01:00
Gwilym Kuiper bec0cc6055 Make alloc an optional default feature 2021-08-16 23:32:31 +01:00
Gwilym Kuiper 469db77437 Add allocation example 2021-08-16 23:28:33 +01:00
Gwilym Kuiper 22189eb809 Add some more allocation tests 2021-08-16 23:20:51 +01:00
Gwilym Kuiper b30cc7715c Add really simple block reuse 2021-08-16 22:55:02 +01:00
Gwilym Kuiper e80ad601a3 Extract current alloc to a new_block function 2021-08-16 22:33:56 +01:00
Gwilym Kuiper d372ca74bf Use the block allocator by default now 2021-08-16 22:31:10 +01:00
Gwilym Kuiper 4b9e4ce42a Move tests to agb_alloc mod.rs 2021-08-16 22:28:41 +01:00
Gwilym Kuiper 7425e9973d Add a really basic block allocator 2021-08-16 22:25:08 +01:00
Gwilym Kuiper f2ce19c356 Switch to non-null 2021-08-16 22:24:32 +01:00
Gwilym Kuiper a7a1cb3ecd use super::*; 2021-08-16 21:20:52 +01:00
Gwilym Kuiper c8ac436b84 Use constants rather than hard coded stuff 2021-08-16 21:20:29 +01:00
Gwilym Kuiper 81e9789272 Correctly handle OOM 2021-08-16 21:19:51 +01:00
Gwilym Kuiper 94d5a71007 Split out bump_allocator 2021-08-16 21:14:28 +01:00
Gwilym Kuiper 8a0cb86eda Assert that it is actually in ewram 2021-08-16 21:11:40 +01:00
Gwilym Kuiper cd4718f8c5 Remove the need for this to be mut and write it in a more 'rusty' way 2021-08-16 21:08:39 +01:00
Gwilym Kuiper 22c6efa5fa Have a new() method 2021-08-16 21:07:25 +01:00