Commit graph

2851 commits

Author SHA1 Message Date
Gwilym Inzani 75320ed3e0
Fix the incorrect copying of map tiles issue (#576)
* A very old issue that meant you couldn't move more than one tile per
frame.
* This fixes the logic so we can move maps quickly.

- [x] Changelog updated
2024-03-06 14:30:21 +00:00
Gwilym Inzani f8e24a3ee3 Add changelog entry 2024-03-06 14:24:58 +00:00
Corwin 78146bc963
fix the incorrect copying of map tiles issue 2024-03-06 12:40:53 +00:00
Corwin 20a74fe319
introduce vector and rect abs 2024-03-06 12:40:53 +00:00
Gwilym Inzani 66ec762855 Release v0.19.0 2024-03-06 09:33:58 +00:00
Gwilym Inzani ec2bbb3eca Changelog should say 'changed' 2024-03-06 09:26:47 +00:00
Gwilym Inzani 5bdc782e78
Add an into_inner() function on infinite scrolled map (#575)
Adds a useful into_inner function which we need at the moment.

Will add a changelog and documentation later

- [x] Changelog updated
2024-03-06 09:11:08 +00:00
Gwilym Inzani 90fe94424f Add a doc entry for into_inner 2024-03-06 09:02:40 +00:00
Gwilym Inzani 98d9c133c7 Add a changelog entry for into_inner 2024-03-06 09:00:28 +00:00
Gwilym Inzani 569a1c0425 Add an into_inner() function on infinite scrolled map 2024-03-06 08:59:29 +00:00
Corwin 0e7716b4ee
Bump asefile version (#573) 2024-03-03 16:23:53 +00:00
Corwin 7a84eb3cd5
update lockfiles 2024-03-03 15:59:15 +00:00
Corwin 7515a192f4
remove unused import 2024-03-03 15:59:06 +00:00
Corwin c4d06b6e7f
bump asefile version 2024-03-03 15:58:59 +00:00
Gwilym Inzani 2c8cb646ac
Default implementations (#571)
Add some implementations of `Default` for classes with empty new
constructors

- [x] Changelog updated
2024-02-28 10:17:03 +00:00
Gwilym Inzani 42eadde631 Also add default implementation for InitOnce 2024-02-28 10:09:12 +00:00
Gwilym Inzani 0f19093465
Update extractions/setup-just action to v2 (#570)
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| [extractions/setup-just](https://togithub.com/extractions/setup-just)
| action | major | `v1` -> `v2` |

---

### Release Notes

<details>
<summary>extractions/setup-just (extractions/setup-just)</summary>

### [`v2`](https://togithub.com/extractions/setup-just/compare/v1...v2)

[Compare
Source](https://togithub.com/extractions/setup-just/compare/v1...v2)

</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:eyJjcmVhdGVkSW5WZXIiOiIzNy4yMTIuMCIsInVwZGF0ZWRJblZlciI6IjM3LjIxMi4wIiwidGFyZ2V0QnJhbmNoIjoibWFzdGVyIn0=-->
2024-02-28 09:58:18 +00:00
Gwilym Inzani 661eb7155f Add changelog entry for default implementations 2024-02-28 09:56:23 +00:00
Gwilym Inzani 941eb4ade1 Add missing default implementations 2024-02-28 09:55:55 +00:00
GBA bot 6dbf946ca3 Update lockfiles 2024-02-27 22:05:08 +00:00
renovate[bot] dbaea5a341
Update extractions/setup-just action to v2 2024-02-27 22:04:35 +00:00
Gwilym Inzani b5c97afe61
Manually copy the first value when you set up hblank (#569)
Fixes the weird lines on the hblank demos

- [x] No changelog update needed
2024-02-27 20:50:14 +00:00
Gwilym Inzani 4ebab07d47 Manually copy the value when you set up hblank 2024-02-27 20:40:20 +00:00
Gwilym Inzani cdafc3c139
DMA abstraction (#491)
It would be nice to have an easy way to add DMA effects to games.

- [x] Changelog updated
2024-02-21 14:44:41 +00:00
Gwilym Inzani 2fa33ede16
Implement num traits for fixnum (#568)
from_str_radix is implemented incredibly lazily, but should hopefully be
okay since you shouldn't be putting that in the critical path anyway :)

- [x] Changelog updated
2024-02-21 14:37:29 +00:00
Gwilym Inzani 3e47a49198 Make the changelog entry more accurate 2024-02-21 14:36:45 +00:00
Gwilym Inzani 23550e579a More .into() 2024-02-21 14:27:48 +00:00
Gwilym Inzani d6319ed409 Add a changelog entry for implementing num 2024-02-21 13:59:53 +00:00
Gwilym Inzani cfd3135d76 Implement num::Num for fixnum::Num 2024-02-21 13:58:27 +00:00
Gwilym Inzani b357acbba8 Don't need this .into() either 2024-02-21 13:01:03 +00:00
Gwilym Inzani 74451f819c More impl Into<Vector2D<_>> and fix compile errors 2024-02-21 12:59:02 +00:00
Gwilym Inzani f96b0e772b Add a changelog entry for dma effects 2024-02-21 12:40:50 +00:00
Gwilym Inzani 4ef08a1273 Add an example of doing circular windows 2024-02-21 12:39:03 +00:00
Gwilym Inzani a0700b3a51 Move the id storage to the window itself 2024-02-21 12:13:00 +00:00
Gwilym Inzani a3f772c7a3 Split the examples into 2 different ones 2024-02-21 12:03:46 +00:00
Gwilym Inzani de0c4ca4f4 Allow recolouring of the background using DMA 2024-02-21 11:56:49 +00:00
Gwilym Inzani edcd37c203 transfer should have a lifetime on the item you're passing in 2024-02-21 11:33:09 +00:00
Gwilym Inzani de15538d42 Add basic dma effect stuff 2024-02-21 11:28:20 +00:00
Gwilym Inzani 43718773d7 Don't use DMA outside of the eeprom case 2024-02-21 11:28:20 +00:00
Gwilym Inzani eaf5a83076
Midi support (#516)
Start working on MIDI file support for agb-tracker. Far from complete,
but at least it is a start :).

- [x] Changelog updated / no changelog update needed
2024-02-20 22:35:38 +00:00
Gwilym Inzani 6a0f0a30c4 Should be 0.18.1 2024-02-20 22:27:29 +00:00
Gwilym Inzani ff9f336be3 Do pitch bend correctly 2024-02-20 22:27:29 +00:00
Gwilym Inzani a36b06b35c Correctly handle no sample set 2024-02-20 22:27:29 +00:00
Gwilym Inzani b583ba22a9 Use Default::default which is nicer 2024-02-20 22:27:29 +00:00
Gwilym Inzani 2e453e8e0f Envelopes for MIDI 2024-02-20 22:27:29 +00:00
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