Commit graph

3479 commits

Author SHA1 Message Date
Gwilym Inzani 06bd8d950c
Update Rust crate xmrs to v0.8.0 (#779)
This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| [xmrs](https://codeberg.org/sbechet/xmrs) | dependencies | minor |
`0.7` -> `0.8` |
| [xmrs](https://codeberg.org/sbechet/xmrs) | dependencies | minor |
`0.7.2` -> `0.8.0` |

---

### 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 these
updates again.

---

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

---

This PR was generated by [Mend Renovate](https://mend.io/renovate/).
View the [repository job
log](https://developer.mend.io/github/agbrs/agb).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOC45Ny4wIiwidXBkYXRlZEluVmVyIjoiMzguOTcuMCIsInRhcmdldEJyYW5jaCI6Im1hc3RlciIsImxhYmVscyI6W119-->
2024-10-05 22:55:54 +01:00
Gwilym Inzani 4c44bbedd7 Add new import feature to xmrs 2024-10-05 22:48:38 +01:00
renovate[bot] 61634e143d
Update Rust crate xmrs to v0.8.0 2024-10-05 21:24:59 +00:00
Gwilym Inzani ebfe851287
Clippy wants us to elide lifetimes (#780)
Fixed with cargo clippy --fix

- [x] no changelog update needed
2024-10-05 22:24:01 +01:00
Gwilym Inzani d109f019eb More lifetimes elided 2024-10-05 22:13:38 +01:00
Gwilym Inzani 33c19c18fe For some reason cargo clippy --fix couldn't fix this one 2024-10-05 22:07:24 +01:00
Gwilym Inzani 9648d3e22a Fix clippy lints in games too 2024-10-05 22:02:10 +01:00
Gwilym Inzani 828339779b More clippy fixes 2024-10-05 21:50:46 +01:00
Gwilym Inzani 1972c83fc9 cargo clippy --fix 2024-10-05 21:48:44 +01:00
Gwilym Inzani 04e44ebac9 Release v0.21.1 2024-10-02 23:08:04 +01:00
Corwin 173a9aef03
Update Javascript packages (non-major) (#775) 2024-10-02 17:13:43 +01:00
renovate[bot] a15f462e97
Update Javascript packages (non-major) 2024-10-02 16:04:36 +00:00
Gwilym Inzani bfe3a02a50
Don't use ok_or_else for a copy value (#778)
Needed to fix today's clippy linting error

- [x]  no changelog update needed
2024-10-02 17:03:53 +01:00
Gwilym Inzani b7250f45e5 Don't use ok_or_else for a copy value 2024-10-02 16:56:12 +01:00
Corwin 93dabdb8ca
Improve web emulator audio quality (#776)
- [x] no changelog update needed
2024-10-01 20:06:28 +01:00
Corwin 10ee738f88
we now handle the frame timing in C, audio for me is now VERY stable 2024-10-01 18:44:12 +01:00
Gwilym Inzani 1faa1766a1
Fix build issue due to atomic u128s (#774)
Add fallback feature for portable-atomic.

This is needed since without it, we don't get anything that the platform
doesn't natively support, which is only up to 32 bits.

We newly need to change this because once_cell no longer imports with
default features.

- [x] no changelog update needed
2024-09-30 21:49:32 +01:00
Gwilym Inzani 2ab7e35630
Update dependency ubuntu to v24 (#772)
This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| [ubuntu](https://redirect.github.com/actions/runner-images) |
github-runner | major | `22.04` -> `24.04` |

---

### 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 was generated by [Mend Renovate](https://mend.io/renovate/).
View the [repository job
log](https://developer.mend.io/github/agbrs/agb).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOC45Ny4wIiwidXBkYXRlZEluVmVyIjoiMzguOTcuMCIsInRhcmdldEJyYW5jaCI6Im1hc3RlciIsImxhYmVscyI6W119-->
2024-09-30 21:43:08 +01:00
Gwilym Inzani 7bb9d951c6 Add fallback feature
This is needed since without it, we don't get anything that the platform
doesn't natively support, which is only up to 32 bits.

We newly need to change this because once_cell no longer imports with
default features.
2024-09-30 21:41:23 +01:00
Corwin 1a9d5901cc
add dungeon tactics and khieras quest (#773)
- [x]  no changelog update needed
2024-09-27 00:42:51 +01:00
Corwin 90ddf45a57
add dungeon tactics and khieras quest 2024-09-27 00:35:15 +01:00
renovate[bot] c3418bfa49
Update dependency ubuntu to v24 2024-09-26 22:51:07 +00:00
Corwin f3d5590aff
remove empty lines (#771)
- [x] no changelog update needed
2024-09-26 19:10:11 +01:00
Corwin a49317442f
remove empty lines 2024-09-26 19:02:30 +01:00
Gwilym Inzani a2a00aa94f
Add hashset (#770)
There have been at least 2 times we wanted a HashSet. So here is one.

- [x] Changelog updated
2024-09-25 16:17:20 +01:00
Gwilym Inzani 42beac5574 Add changelog entry for hashset 2024-09-25 15:22:24 +01:00
Gwilym Inzani d459f6d0b9 Add an implementation of HashSet 2024-09-25 15:18:25 +01:00
Gwilym Inzani c97f75a593
Add quickcheck tests for agb_hashmap (#769)
Thought I'd add a quick property test for the hashmap. Inspired by
Jonhoo's most recent stream

- [x] no changelog update needed
2024-09-25 13:52:32 +01:00
Gwilym Inzani d17c14c7d3 Add quickcheck tests for agb_hashmap 2024-09-25 13:44:47 +01:00
Gwilym Inzani 7202fc0119
Improve palette optimiser (#768)
Make the whole thing more consistent and better at creating optimal
palettes.

- [x] Changelog updated / no changelog update needed
2024-09-25 13:31:29 +01:00
Gwilym Inzani 62020e692f Use btrees to make everything more consistent 2024-09-25 13:13:51 +01:00
Gwilym Inzani afa9d47f0c Add a changelog entry for changing how palettes are optimised 2024-09-25 13:05:52 +01:00
Gwilym Inzani 40987f8977 Slightly easier debugging 2024-09-25 12:13:28 +01:00
Gwilym Inzani edb628d0b2 Extract method for checking palette invariants 2024-09-25 11:44:16 +01:00
Gwilym Inzani c834e2907d Ensure that transparent colours always come first 2024-09-25 11:40:54 +01:00
Gwilym Inzani 7b6556b381 Use a better optimisation method 2024-09-25 11:33:51 +01:00
Gwilym Inzani db908bb2da Explain why this works 2024-09-25 10:53:25 +01:00
Gwilym Inzani fb186809a9 Add a really basic quickcheck 2024-09-25 10:47:17 +01:00
Gwilym Inzani d6bc6f49b4
Upgrade xmrs which gives us s3m and mod file support (#767)
Closes #742

Turns out XMRS will do the conversion for us, which means we can 'just
support' s3m and mod file formats for free which is nice.

- [x] Changelog updated / no changelog update needed
2024-09-25 10:33:37 +01:00
Gwilym Inzani 282e070216 Use version 0.7.2 2024-09-24 21:04:51 +01:00
Gwilym Inzani 89eb11d5ef Add changelog entry for s3m and mod format 2024-09-24 21:03:09 +01:00
Gwilym Inzani 40fd424205 Export the include_s3m and include_mod macros 2024-09-24 21:02:37 +01:00
Gwilym Inzani a7e7455c57 Add macros for include_s3m and include_mod 2024-09-24 21:02:37 +01:00
Gwilym Inzani 2d69b2a7a4 Make agb_xm_core generic on parsing 2024-09-24 21:02:37 +01:00
Gwilym Inzani 5b9332556d Add s3m and mod support to the desktop player 2024-09-24 21:02:36 +01:00
renovate[bot] 05b5b3e882 Update Rust crate xmrs to v0.7.2 2024-09-24 21:02:05 +01:00
Corwin d07970a7c0
Release v0.21.0 2024-09-24 20:38:33 +01:00
Corwin dd5ab9b475
Fix release script (#766)
Causes the release script to update build-dependencies and the desktop
tracker

- [x] no changelog update needed
2024-09-24 20:37:12 +01:00
Corwin 1f6c7157be
also update build-dependencies 2024-09-24 20:27:15 +01:00
Corwin 49ad674d93
Update dependency @types/react to v18.3.9 (#765) 2024-09-24 19:56:54 +01:00