Commit graph

1547 commits

Author SHA1 Message Date
Corwin
433fad15a1 mark function as pub crate so it's not used outside agb 2022-07-30 16:52:41 +01:00
Corwin
002ccc64dd implement allocator api so we can allocate to (ew/iw)ram 2022-07-30 16:40:48 +01:00
Gwilym Kuiper
97c4115973
Merge pull request #246 from gwilymk/add-ability-for-subcrates-to-test
Make it possible to run tests in target crates (and add a basic tests in hat-wizard)
2022-07-25 23:00:17 +01:00
Gwilym Kuiper
b951c38638 Do this in the correct place (made a mistake when rebasing) 2022-07-25 22:53:03 +01:00
Gwilym Kuiper
ecf43f738b Only download mgba if it doesn't exist 2022-07-25 22:52:05 +01:00
Gwilym Kuiper
8d08f18349 Fix shellcheck issues 2022-07-25 22:52:05 +01:00
Gwilym Kuiper
0b6af6dbd2 Can't do this as it breaks agb 2022-07-25 22:52:05 +01:00
Gwilym Kuiper
0f9d83887f This should now always be included 2022-07-25 22:52:05 +01:00
Gwilym Kuiper
8cfcda9b54 Make it harder to use #entry incorrectly 2022-07-25 22:52:05 +01:00
Gwilym Kuiper
c15d24ad45 Template agb version needs updating twice now 2022-07-25 22:51:53 +01:00
Gwilym Kuiper
208104d036 Update the template to have testing available 2022-07-25 22:49:18 +01:00
Gwilym Kuiper
0111ec43bb agb_start_tests can now be doc(hidden) 2022-07-25 22:49:18 +01:00
Gwilym Kuiper
20aebd349a Provide an empty #[entry] in lib.rs 2022-07-25 22:49:17 +01:00
Gwilym Kuiper
2e505f9684 Remove the need for a special test implementation 2022-07-25 22:49:17 +01:00
Gwilym Kuiper
9231d16071 Add some documentation for the test runner 2022-07-25 22:49:17 +01:00
Gwilym Kuiper
553a625c91 Mkae it possible to run tests in target crates (and add a basic tests in hat-wizard) 2022-07-25 22:49:17 +01:00
Corwin
79e78b7fc3
Merge pull request #261 from corwinkuiper/hyperspace-roll
Introduce Hyperspace Roll to examples
2022-07-25 21:34:35 +01:00
Corwin
9209cbf199 add build hyperspace 2022-07-25 20:25:56 +01:00
Corwin
2539d1ef43 cleanup hyperspace roll directory 2022-07-25 20:25:56 +01:00
Corwin
8bb2094e34 jam version of hyperspace roll 2022-07-25 20:25:56 +01:00
Corwin
2df0481519
Merge pull request #260 from corwinkuiper/fix-sprite-example
Fix sprite example
2022-07-24 21:42:20 +01:00
Corwin
29c74f6286 move commit 2022-07-24 21:30:45 +01:00
Corwin
cdba323b39
Merge pull request #258 from agbrs/gmtk22
Changes made for Gmtk22
2022-07-21 20:53:11 +01:00
Gwilym Kuiper
8df9f4b5c4 Go back to using DMA for sprites 2022-07-21 20:52:07 +01:00
Gwilym Kuiper
c2a4845a2e Add a must_use to pos 2022-07-21 20:34:26 +01:00
Gwilym Kuiper
3de22df7a2 Add get and set position on sound channels 2022-07-17 10:32:01 +01:00
Gwilym Kuiper
a5e0e145d2 Attempt to support changing the volume of stereo sound 2022-07-16 18:47:39 +01:00
Gwilym Kuiper
3d579390c8 Make the num macro work if you don't depend on agb_macros yourself 2022-07-16 18:02:55 +01:00
Corwin
1be10ba450 align sprite data to 2 byte boundaries 2022-07-16 13:36:33 +01:00
Gwilym Kuiper
2026e49569 Start the tile ram one tile in to prevent overwriting the transparent tile 2022-07-16 09:12:15 +01:00
Corwin
8a55fc7f0e support larger sprites 2022-07-16 09:08:35 +01:00
Corwin
ebc4e15f3d constify sprite function 2022-07-15 21:59:36 +01:00
Gwilym Kuiper
3b6ce1b2bd
Merge pull request #257 from gwilymk/use-more-generic-versions-in-actions
Use more generic versions to stop renovate from triggering so often
2022-07-14 22:58:55 +01:00
Gwilym Kuiper
1c82c56dd2 Use more generic versions to stop renovate from triggering so often 2022-07-14 22:58:32 +01:00
Gwilym Kuiper
bb0a88973f
Merge pull request #256 from gwilymk/update-agbabi
Update agbabi's memcpy
2022-07-14 22:54:52 +01:00
Gwilym Kuiper
8a77388776
Merge pull request #255 from gwilymk/check-crate-has-published-before-continuing
Check crate has published before continuing
2022-07-14 22:44:22 +01:00
Gwilym Kuiper
a9da4a65f9 Update agbabi's memcpy 2022-07-14 22:43:41 +01:00
Gwilym Kuiper
5ee771bd0f Print attempt number 2022-07-14 22:33:39 +01:00
Gwilym Kuiper
94688d517b Check that the crate has finished publishing 2022-07-14 22:32:58 +01:00
Gwilym Kuiper
322fff7e3d fixnum depends on macros, so macros must go first 2022-07-14 22:16:02 +01:00
Gwilym Kuiper
6a8aeeb3e8
Merge pull request #249 from gwilymk/release-all-subcrates-at-the-same-time
Release all subcrates at the same time
2022-07-14 22:15:18 +01:00
Gwilym Kuiper
141fb58836
Merge pull request #252 from agbrs/renovate/actions-cache-3.x
Update actions/cache action to v3.0.5
2022-07-14 22:10:53 +01:00
Gwilym Kuiper
04f0bb381a
Merge pull request #254 from gwilymk/add-repository-key
Add repository to Cargo.toml files
2022-07-14 22:06:40 +01:00
Gwilym Kuiper
6d1d3d2b9d Add repository to Cargo.toml files
Fixes #253
2022-07-14 21:49:53 +01:00
GBA bot
ecdf1d4471 Update lockfiles 2022-07-13 06:00:40 +00:00
renovate[bot]
38c7c2c232
Update actions/cache action to v3.0.5 2022-07-13 05:59:29 +00:00
Gwilym Kuiper
241e8b369e
Merge pull request #251 from gwilymk/let-doctests-run
Let doctests run
2022-07-12 15:18:49 +01:00
Gwilym Kuiper
65258ac575 Add running the doctests to the ci 2022-07-12 15:07:59 +01:00
Gwilym Kuiper
4a6b093f6d Update mixer doctests 2022-07-12 15:07:28 +01:00
Gwilym Kuiper
70b227d471 Get doctests working for mixer/mod.rs 2022-07-12 15:00:52 +01:00