Commit graph

2806 commits

Author SHA1 Message Date
Gwilym Inzani 0a13b54e12 Pitch bending 2024-02-20 22:27:29 +00:00
Gwilym Inzani bf79b09e6a Avoid double panning correction 2024-02-20 22:27:29 +00:00
Gwilym Inzani 817ba12ea7 Format the let-else 2024-02-20 22:27:29 +00:00
Gwilym Inzani 9f60b61289 Changelog entry for midi tracker 2024-02-20 22:27:29 +00:00
Gwilym Inzani b82ec0ca1c Disable the MIDI feature in dungeon-puzzlers-lament 2024-02-20 22:27:29 +00:00
Gwilym Inzani 54ade5af2d Add a note about midi support being experimental 2024-02-20 22:27:29 +00:00
Gwilym Inzani cf50223dfc It seems to do better without the tune for some reason 2024-02-20 22:27:29 +00:00
Gwilym Inzani 0e685ce7e8 That's the longest out by one I've ever had to debug
Thanks Corwin for helping!
2024-02-20 22:27:29 +00:00
Gwilym Inzani 85e358874c HELP! 2024-02-20 22:27:29 +00:00
Gwilym Inzani 7f200a21ad This works better than before 2024-02-20 22:27:29 +00:00
Gwilym Inzani a55b106106 Better looping 2024-02-20 22:27:29 +00:00
Gwilym Inzani e103468b86 Vaguely get the correct beat and the patterns correct 2024-02-20 22:27:29 +00:00
Gwilym Inzani 64976deeb5 Export maybe something? 2024-02-20 22:27:29 +00:00
Gwilym Inzani 7868094f7e Maybe exporting something useful? 2024-02-20 22:27:29 +00:00
Gwilym Inzani 32aaaef4cd It actually builds now 2024-02-20 22:27:29 +00:00
Gwilym Inzani 5768b56028 Fix unused warning 2024-02-20 22:27:29 +00:00
Gwilym Inzani 797fc8394f Boilerplate for midi support 2024-02-20 22:27:29 +00:00
Gwilym Inzani 0975530e5c
Remove unnecessary imports (#567)
Fix for latest clippy / nightly upgrade

- [x] no changelog update needed
2024-02-20 22:27:00 +00:00
Gwilym Inzani 8e25f011b4 Remove unnecessary imports 2024-02-20 22:15:31 +00:00
Corwin f99da581da
Expose hflip, vflip, priority, position (#566)
This exposes expose the `hflip`, `vflip`, `priority` and `position`
object attribute to remove the need for storing them in separate
variables.
I think it might also be worth to update the pong tutorial and maybe
some of the examples to highlight this.

- [x] Changelog updated / no changelog update needed
2024-02-17 16:51:34 +00:00
Constantin 1d0a25bc43 Expose hflip, vflip, priority, position 2024-02-17 16:28:43 +01:00
Gwilym Inzani e610a1cbf6
Add priority set / get and set_visible / is_visible to maps (#563)
Adds `.priority()`, `.set_priority()` and `.is_visible()` and replace
`show` and `hide` with `.set_visible()` in `RegularMap`, `AffineMap` and
`InfiniteScrolledMap`.

- [x] Changelog updated / no changelog update needed
2024-02-16 21:07:01 +00:00
Gwilym Inzani 34b5b5f8f8 This should be hiding not showing 2024-02-16 20:56:57 +00:00
Constantin da84131de6 Add priority set / get and set_visible / is_visible to maps 2024-02-16 11:21:27 +01:00
Gwilym Inzani 77dba9f38e
Update Rust crate pkg-config to 0.3.30 (#562)
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| [pkg-config](https://togithub.com/rust-lang/pkg-config-rs) |
build-dependencies | patch | `0.3.29` -> `0.3.30` |

---

### Release Notes

<details>
<summary>rust-lang/pkg-config-rs (pkg-config)</summary>

###
[`v0.3.30`](https://togithub.com/rust-lang/pkg-config-rs/blob/HEAD/CHANGELOG.md#0330---2024-02-14)

##### Changed

- Update documentation for cross-compilation
([#&#8203;161](https://togithub.com/rust-lang/pkg-config-rs/issues/161)).

- Update GitHub Action CI
([#&#8203;160](https://togithub.com/rust-lang/pkg-config-rs/issues/160)).

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View
repository job log [here](https://developer.mend.io/github/agbrs/agb).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4xNzMuMCIsInVwZGF0ZWRJblZlciI6IjM3LjE3My4wIiwidGFyZ2V0QnJhbmNoIjoibWFzdGVyIn0=-->
2024-02-15 22:20:11 +00:00
Gwilym Inzani 0a35fa4629 Update lockfiles (again) 2024-02-15 22:12:04 +00:00
Gwilym Inzani c1a19888c3 Be less specific about the pkg-config version 2024-02-15 22:11:14 +00:00
GBA bot 2289a533de Update lockfiles 2024-02-14 11:02:19 +00:00
renovate[bot] 7e7b5f6a18
Update Rust crate pkg-config to 0.3.30 2024-02-14 11:01:49 +00:00
Corwin f3734f43c9
Changes the default runner to log to console (#557)
- [ x] Changelog updated / no changelog update needed

This closes issue #554 and allows the template project have logging to
console on by default when you run `cargo run`
2024-02-13 21:27:29 +00:00
Corwin f91a464a89
Cleanup allocators (#558)
Perform some cleanup of the allocators
2024-02-13 21:29:01 +00:00
Corwin fb33422039
run workflow on merge queue (#559) 2024-02-13 21:58:33 +00:00
Corwin 8ff80a6ac2 run workflow on merge queue 2024-02-13 21:49:35 +00:00
Corwin 90be23a192
remove block counting to no longer attempt to detect memory leaks
remove checking blocks

Signed-off-by: Corwin <corwin@kuiper.dev>
2024-02-13 21:18:14 +00:00
Corwin 844f3b29d3
Remove global alloc support from the bump allocator
Signed-off-by: Corwin <corwin@kuiper.dev>
2024-02-13 21:18:14 +00:00
Bailey Townsend d8fe616d90 Change default runner to log to console 2024-02-12 17:32:44 -06:00
Gwilym Inzani 5f0d86e2e3
Update ahash in the cargo.lock files. (#556)
Fixes #553 and allows building on latest nightly again.

- [x] no changelog update needed
2024-02-11 16:27:08 +00:00
Gwilym Inzani 7d6ea45670 Update ahash in the cargo.lock files.
Fixes #553 and allows building on latest nightly again.
2024-02-11 16:17:59 +00:00
Gwilym Inzani ee432d05a6
rustc-hash isn't needed in agb itself any more (#552)
- [x] no changelog update needed
2024-02-09 22:05:36 +00:00
Gwilym Inzani ff235a75f3 rustc_hash isn't needed in agb itself any more 2024-02-09 21:58:42 +00:00
Gwilym Inzani e73d864d07
px_offset_x and px_offset_y were unused (#551)
These methods were unused and breaking the build

- [x] Changelog updated / no changelog update needed
2024-02-09 21:49:21 +00:00
Gwilym Inzani bd4ae7d2fb px_offset_x and px_offset_y were unused 2024-02-09 21:38:43 +00:00
Gwilym Inzani c59a36b96e
Update Rust crate toml_edit to 0.22 (#549)
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| [toml_edit](https://togithub.com/toml-rs/toml) | dependencies | minor
| `0.21` -> `0.22` |

---

### Release Notes

<details>
<summary>toml-rs/toml (toml_edit)</summary>

###
[`v0.22.2`](https://togithub.com/toml-rs/toml/compare/v0.22.1...v0.22.2)

[Compare
Source](https://togithub.com/toml-rs/toml/compare/v0.22.1...v0.22.2)

###
[`v0.22.1`](https://togithub.com/toml-rs/toml/compare/v0.22.0...v0.22.1)

[Compare
Source](https://togithub.com/toml-rs/toml/compare/v0.22.0...v0.22.1)

###
[`v0.22.0`](https://togithub.com/toml-rs/toml/compare/v0.21.1...v0.22.0)

[Compare
Source](https://togithub.com/toml-rs/toml/compare/v0.21.1...v0.22.0)

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View
repository job log [here](https://developer.mend.io/github/agbrs/agb).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4xNzMuMCIsInVwZGF0ZWRJblZlciI6IjM3LjE3My4wIiwidGFyZ2V0QnJhbmNoIjoibWFzdGVyIn0=-->
2024-02-07 08:08:58 +00:00
GBA bot 5d82f96396 Update lockfiles 2024-02-06 22:49:04 +00:00
renovate[bot] 09295d9785
Update Rust crate toml_edit to 0.22 2024-02-06 22:48:37 +00:00
Gwilym Inzani 3f607b379a Release v0.18.1 2024-02-06 22:36:11 +00:00
Gwilym Inzani a87a4099d3
Pause channels (#548)
Requested here: https://github.com/agbrs/agb/discussions/547

Added methods to pause and resume playback of audio channels, and you
can use it with the mixer_basic example to prove it works.

- [x] Changelog updated / no changelog update needed
2024-02-03 22:18:08 +01:00
Gwilym Inzani e3c299c13a Add a changelog entry for pause and resume 2024-02-03 21:10:27 +00:00
Gwilym Inzani fec06e0c69 Include pause and resume in the example 2024-02-03 21:09:37 +00:00
Gwilym Inzani d8110243f4 Add pausing and resuming for sound channels 2024-02-03 21:09:37 +00:00