Commit graph

67 commits

Author SHA1 Message Date
Corwin 68e981f3c8
Objects, again, again (#402)
* A redesign of objects giving the option of a more managed and an
unmanaged system.
* Managed system features
    * Z ordering (should be efficient, based on a doubly linked list).
* More than 128 objects if some are disabled (not currently efficient).
* Unmanaged
    * Same sprite system as before.
    * You control how objects get put in to OAM with the unmanaged OAM.
    
TODO before this is mergable:
* [x] Docs pass, aim for everything to have docs as before.
* [x] Tests, some of these needs some run time testing.
* [x] Affine matrices, I'm not leaving this to die this time.
* [x] Some API redo, so the names make sense / are similar to before.

Future work:
* The Sprite loader should keep most recently used sprites around and
upon allocation of a new sprite try unloading the least recently used
sprite. (Performance wise this would be a disaster as it would be doing
dealloc and alloc in vblank, so really we want to "learn" how much
buffer we should maintain and try to get that during GC).

- [x] Changelog updated
2023-04-25 21:14:49 +01:00
Gwilym Inzani 9835f81b5f Maybe make the build faster by using the same settings for all crates 2023-04-25 20:22:44 +01:00
Corwin 3ec9bd2610
Merge remote-tracking branch 'upstream/master' into new-objects 2023-04-23 20:44:46 +01:00
Gwilym Inzani 0841759c8d Fix publish test 2023-04-23 17:58:59 +01:00
Corwin e26a9c2c24
Merge remote-tracking branch 'upstream/master' into new-objects 2023-04-22 00:46:41 +01:00
Gwilym Inzani 45343efe52 Update lockfiles 2023-04-13 22:33:59 +01:00
Gwilym Inzani f677ff1840 Fix clippy lints 2023-04-11 22:30:47 +01:00
Gwilym Inzani 63995995ac Make publishing a bit smarter 2023-04-11 22:29:23 +01:00
Gwilym Inzani 70979fc7da Publish gbafix 2023-04-11 21:54:48 +01:00
Corwin cdc2eed01d
unsafe arena added (may remove later) 2023-04-06 21:45:30 +01:00
renovate[bot] 24f34caf97
Update Rust crate toml_edit to 0.19 2023-03-23 23:14:02 +00:00
GBA bot e864eb6c03 Update lockfiles 2023-03-23 22:04:22 +00:00
Gwilym Kuiper 97dec32fa2 Fix all the clippy lints 2023-02-07 20:32:43 +00:00
GBA bot a76d44aeea Update lockfiles 2023-01-23 21:07:03 +00:00
renovate[bot] 28ce89ccc5
Update Rust crate toml_edit to 0.18 2023-01-23 21:06:03 +00:00
Gwilym Kuiper 832ad13e12
Update Rust crate toml_edit to 0.17 (#364)
[![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/ordian/toml_edit) | dependencies |
minor | `0.16` -> `0.17` |

---

### Release Notes

<details>
<summary>ordian/toml_edit</summary>

###
[`v0.17.1`](https://togithub.com/ordian/toml_edit/compare/v0.17.0...v0.17.1)

[Compare
Source](https://togithub.com/ordian/toml_edit/compare/v0.17.0...v0.17.1)

###
[`v0.17.0`](https://togithub.com/ordian/toml_edit/compare/v0.16.2...v0.17.0)

[Compare
Source](https://togithub.com/ordian/toml_edit/compare/v0.16.2...v0.17.0)

###
[`v0.16.2`](https://togithub.com/ordian/toml_edit/compare/v0.16.1...v0.16.2)

[Compare
Source](https://togithub.com/ordian/toml_edit/compare/v0.16.1...v0.16.2)

###
[`v0.16.1`](https://togithub.com/ordian/toml_edit/compare/v0.16.0...v0.16.1)

[Compare
Source](https://togithub.com/ordian/toml_edit/compare/v0.16.0...v0.16.1)

</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://app.renovatebot.com/dashboard#github/agbrs/agb).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNC43NC4yIiwidXBkYXRlZEluVmVyIjoiMzQuNzQuMiJ9-->
2023-01-09 11:14:28 +00:00
Corwin e2580219c8 fix warnings in tools 2023-01-06 18:27:02 +00:00
GBA bot 1ee8434525 Update lockfiles 2023-01-03 05:38:41 +00:00
renovate[bot] 8dabca735e
Update Rust crate toml_edit to 0.17 2023-01-03 05:37:49 +00:00
GBA bot 7a7f18844e Update lockfiles 2022-12-23 21:33:57 +00:00
renovate[bot] 60f3dc8796
Update Rust crate toml_edit to 0.16 2022-12-23 21:33:02 +00:00
Gwilym Kuiper 776cb5b5a3 Make it so that the release tag includes the entire release notes 2022-12-09 21:00:53 +00:00
Gwilym Kuiper 1aef441f1f Fix spelling error in release.sh 2022-11-17 21:25:34 +00:00
Gwilym Kuiper eb01e9206a Use now() instead of today() 2022-11-17 20:30:24 +00:00
GBA bot 789a88e242 Update lockfiles 2022-11-17 05:20:16 +00:00
GBA bot cce32c9ca1 Update lockfiles 2022-10-31 18:50:34 +00:00
GBA bot 06d1593600 Update lockfiles 2022-10-21 19:51:52 +00:00
renovate[bot] 3e20ca8b03
Update Rust crate toml_edit to 0.15 2022-10-21 19:50:17 +00:00
Gwilym Kuiper cb24100c02 Create the correct tag name 2022-10-11 23:30:49 +01:00
Gwilym Kuiper f8033ac0c0 Trim the git output 2022-10-11 23:14:44 +01:00
Gwilym Kuiper 0fd43b6dc2 cargo update isn't needed 2022-10-02 18:19:41 +01:00
Gwilym Kuiper 7a55f50adf Extract changelog text into the annotation 2022-10-02 18:19:14 +01:00
Gwilym Kuiper 030d43d68c Attempt to write something which updates the changelog for me 2022-10-02 18:13:31 +01:00
Gwilym Kuiper b79fd9e22b Fix cargo publish while I'm at it 2022-10-02 17:52:15 +01:00
Gwilym Kuiper 0c0e9e7165 Actually assert that things return successfully 2022-10-02 17:51:30 +01:00
Gwilym Kuiper 52adc63581 Run cargo update on all crates after updating the version number 2022-10-02 17:40:23 +01:00
Gwilym Kuiper 53aa9b5c10 Spawn doesn't wait for the command to finish 2022-10-01 22:01:36 +01:00
Gwilym Kuiper 0678752be0 Finish off the last bit 2022-10-01 21:58:57 +01:00
Gwilym Kuiper 62964428d8 Update the version 2022-10-01 21:55:45 +01:00
Gwilym Kuiper 2158091752 Attempt at modifying the cargo tomls with the correct version 2022-10-01 21:39:34 +01:00
Gwilym Kuiper 9af8b19859 Use .output() instead 2022-10-01 21:00:29 +01:00
Gwilym Kuiper 75cd2cd0e1 More functionality in release.rs 2022-10-01 20:57:41 +01:00
Gwilym Kuiper f2f0f771fb Extract utils 2022-10-01 20:36:42 +01:00
Gwilym Kuiper d8ca41ec3d Finish the argument parsing 2022-10-01 20:30:45 +01:00
Gwilym Kuiper 57772af416 Start the release script rewrite 2022-10-01 20:21:15 +01:00
GBA bot b24b4faeae Update lockfiles 2022-10-01 18:46:59 +00:00
Gwilym Kuiper b9e9bada9f Be less specific about the clap version 2022-10-01 19:45:28 +01:00
Gwilym Kuiper 5733d03877 Add verify_cli for main too 2022-10-01 19:44:21 +01:00
Gwilym Kuiper aecd4077da Add verify test 2022-10-01 19:42:39 +01:00
GBA bot 81d02db5fc Update lockfiles 2022-09-28 20:16:01 +00:00