Commit graph

3257 commits

Author SHA1 Message Date
Corwin e7caff3776
use new names in games 2023-04-06 21:45:03 +01:00
Corwin d6006c7808
rename parts of objects 2023-04-06 21:45:03 +01:00
Corwin d183b8373d
pull out where to write 2023-04-06 21:45:03 +01:00
Corwin 875d53c040
add rotation to sprite example 2023-04-06 21:45:03 +01:00
Corwin 7265576e2a
fix affine matrix copying 2023-04-06 21:45:03 +01:00
Corwin 0e9910c517
copy affine matricies at copy time 2023-04-06 21:45:03 +01:00
Corwin 354cf7addc
keep and drain affine matricies 2023-04-06 21:45:03 +01:00
Corwin 63088f2907
affine matricies! 2023-04-06 21:45:03 +01:00
Corwin 8d23af010f
remove unused import 2023-04-06 21:45:03 +01:00
Corwin 26b9a50e4e
manage sprites better 2023-04-06 21:45:03 +01:00
Corwin 63e87b046b
correctly initialise before iteration 2023-04-06 21:45:03 +01:00
Corwin e6937bbb61
be able to clear sprite 0 on drop 2023-04-06 21:45:03 +01:00
Corwin e0af614cac
correctly initialise as not visible 2023-04-06 21:45:03 +01:00
Corwin 6007b95926
deallocate palettes 2023-04-06 21:45:03 +01:00
Corwin 57f24acdf9
use drop of iterator to clear rest of objects 2023-04-06 21:45:03 +01:00
Corwin d8f0d78d4b
unsafe is unsafe 2023-04-06 21:45:03 +01:00
Corwin 82b68fc335
mark function that can be used unsafely unsafe 2023-04-06 21:45:03 +01:00
Corwin f86bf9c07a
woah there, that shouldn't be public! 2023-04-06 21:45:03 +01:00
Corwin 660adbe961
fix games 2023-04-06 21:45:00 +01:00
Corwin c03c1664cb
move static sprite loader into managed oam 2023-04-06 21:43:49 +01:00
Corwin ab082c59a1
a mad redo of how objects work 2023-04-06 21:43:49 +01:00
Corwin 686ded4377
fix doc example 2023-04-06 21:28:52 +01:00
Corwin 96a321504c
correct doc sections 2023-04-06 21:17:33 +01:00
Corwin dffda47985
resolve interrupts unsoundness 2023-04-06 21:16:13 +01:00
Gwilym Inzani aa77255720 Correct error message 2023-04-06 21:10:03 +01:00
Gwilym Inzani 16c3395524 Really basic elf parser 2023-04-06 21:09:44 +01:00
Corwin d3834ed2ff
allocator unsound to use in interrupt 2023-04-06 20:48:04 +01:00
Corwin 3e2c57f838
Allocator growth (#407)
Adds growth to the block allocator.

- [x] No changelog update needed
2023-04-06 20:30:20 +01:00
Corwin 182bae100c
remove unused function 2023-04-06 19:23:55 +01:00
Corwin 46faff254f
add grow to block allocator 2023-04-06 19:23:42 +01:00
Corwin 7030d65d9f
extract mutable and staticable parts 2023-04-06 17:31:02 +01:00
Corwin af168f709b
update lock files 2023-04-06 17:17:12 +01:00
Gwilym Inzani 812e99cef5
Reduce codegen units to 1 to ensure build works (#406)
Workaround for #393 

- [x] Changelog updated / no changelog update needed
2023-04-05 17:20:42 +01:00
Gwilym Inzani 6c4f1bcc11 Add changelog entry for codegen-units=1 2023-04-05 17:07:50 +01:00
Gwilym Inzani e07a080aad Reduce codegen units to 1 to ensure build works 2023-04-05 17:06:56 +01:00
Gwilym Inzani 33620aaf09
Add shstrtab section for lld (#403)
Now required since you can use lld as the linker. However, still have
the 'cannot represent a difference across sections' error :(.

- [x] Changelog updated / no changelog update needed
2023-04-03 19:10:39 +01:00
Gwilym Inzani 64620afa10 Add changelog entry 2023-04-02 20:40:41 +01:00
Gwilym Inzani 9d621f9b6a Add shstrtab section for lld 2023-04-02 20:39:38 +01:00
Gwilym Inzani 7c4445b521
Update Rust crate toml_edit to 0.19 (#382)
[![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.18` -> `0.19` |

---

### Release Notes

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

[Compare
Source](https://togithub.com/ordian/toml_edit/compare/v0.18.0...v0.18.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:eyJjcmVhdGVkSW5WZXIiOiIzNC4xMTEuMSIsInVwZGF0ZWRJblZlciI6IjM1LjE3LjEifQ==-->
2023-03-23 23:26:43 +00:00
Gwilym Inzani ee823418a0
Better error message for #[agb::entry] errors (#400)
Generates compile error calls when something goes wrong.

- [x] Changelog updated / no changelog update needed
2023-03-23 23:24:06 +00:00
renovate[bot] 24f34caf97
Update Rust crate toml_edit to 0.19 2023-03-23 23:14:02 +00:00
Gwilym Inzani b1e8b2babb
Update Rust crate toml to 0.7 (#378)
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

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

---

### Release Notes

<details>
<summary>toml-rs/toml</summary>

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

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

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

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

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

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

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

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

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

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

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

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

</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:eyJjcmVhdGVkSW5WZXIiOiIzNC4xMDkuMSIsInVwZGF0ZWRJblZlciI6IjM1LjE3LjEifQ==-->
2023-03-23 23:13:10 +00:00
renovate[bot] e15b4d0357
Update Rust crate toml to 0.7 2023-03-23 23:12:15 +00:00
Gwilym Inzani 353707cc74 Add changelog entry for new agb::entry macro changes 2023-03-23 23:12:08 +00:00
Corwin bf79fc89fb
Update Rust crate bitflags to v2 (#395) 2023-03-23 23:11:42 +00:00
Gwilym Inzani aea8547f97
Ensure cargo fmt is run accross everything (#399)
I have fmt'd all the things!

- [x] Changelog updated / no changelog update needed
2023-03-23 23:11:19 +00:00
Gwilym Inzani 52e9e3eb32 Better error message for #[agb::entry] errors 2023-03-23 23:10:50 +00:00
Corwin 8eac033650
derive some traits on bitflags 2023-03-23 22:47:04 +00:00
GBA bot 09ec6c25b0 Update lockfiles 2023-03-23 22:30:47 +00:00
renovate[bot] 044261a2ff
Update Rust crate bitflags to v2 2023-03-23 22:28:28 +00:00