Commit graph

210 commits

Author SHA1 Message Date
Gwilym Inzani 78bad29f88 Add codegen-units=1 to prevent miscompiles 2023-05-21 16:37:35 +01:00
Gwilym Inzani 5ab0176ddb Entirely remove the need for binutils 2023-05-21 16:37:34 +01:00
Gwilym Inzani 644e94f8ed Use bilge rather than modular-bitfield 2023-05-17 15:01:22 +01:00
Corwin 400abe5b31
Release v0.15.0 2023-04-25 21:51:29 +01:00
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
Corwin 14c7028aa0
reverse change of name 2023-04-23 18:55:23 +01:00
Gwilym Inzani 7029b66c62 Update lockfiles 2023-04-23 18:00:31 +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 875a0fbb65 Remove unneeded stuff from image-converter 2023-04-13 22:14:44 +01:00
Corwin fc5ce97db4
Release v0.14.0 2023-04-11 21:28:22 +01:00
Corwin c84e81299b
improve the migration 2023-04-06 21:45:32 +01:00
Corwin cdc2eed01d
unsafe arena added (may remove later) 2023-04-06 21:45:30 +01:00
Corwin e7caff3776
use new names in games 2023-04-06 21:45:03 +01:00
Corwin 660adbe961
fix games 2023-04-06 21:45:00 +01:00
Corwin af168f709b
update lock files 2023-04-06 17:17:12 +01:00
Gwilym Inzani 9d621f9b6a Add shstrtab section for lld 2023-04-02 20:39:38 +01: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
GBA bot 09ec6c25b0 Update lockfiles 2023-03-23 22:30:47 +00:00
Gwilym Inzani 8a3660733d Add rustfmt as a component to rust-toolchain 2023-03-23 22:17:02 +00:00
GBA bot e864eb6c03 Update lockfiles 2023-03-23 22:04:22 +00:00
Gwilym Inzani 4c6fbac41f Fix remaining issues with the new API usage 2023-02-25 18:10:54 +00:00
Gwilym Inzani 54311727ec Fix build errors 2023-02-24 08:55:02 +00:00
Gwilym Kuiper b90a5829b8 Fix the games 2023-02-23 21:18:29 +00:00
Gwilym Kuiper 97dec32fa2 Fix all the clippy lints 2023-02-07 20:32:43 +00:00
Gwilym Kuiper 33dafd29c2 Update everything to 2021 2023-02-07 20:32:35 +00:00
GBA bot a76d44aeea Update lockfiles 2023-01-23 21:07:03 +00:00
Gwilym Kuiper b76e7b9bf0 Release v0.13.0 2023-01-19 20:21:09 +00:00
Gwilym Kuiper 5b813c10d1 Derive default as now required by clippy 2023-01-15 20:49:30 +00:00
Gwilym Kuiper 1cd4cc6a9e Merge remote-tracking branch 'origin/master' into remove-option-to-manage-your-own-interrupts-in-the-mixer 2023-01-12 22:30:32 +00:00
GBA bot 1ee8434525 Update lockfiles 2023-01-03 05:38:41 +00:00
GBA bot 7a7f18844e Update lockfiles 2022-12-23 21:33:57 +00:00
Gwilym Kuiper 0f5ce17f75 Fix the examples and the games 2022-12-09 23:00:28 +00:00
Corwin d65ca26bd8
Combo game rom (#355)
Adds a rom that is all the examples compiled together!

- [ ] Changelog updated / no changelog update needed
2022-12-09 20:51:07 +00:00
Gwilym Kuiper 3e8090e153 Fix clippy lint for inline format args 2022-12-09 20:36:09 +00:00
Corwin d2daf695a6 add combo rom 2022-12-01 17:16:53 +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
Corwin 70f22b9255 Release v0.12.2 2022-10-22 12:59:20 +01:00
GBA bot 06d1593600 Update lockfiles 2022-10-21 19:51:52 +00:00
Corwin 78f9fd2026 Release v0.12.1 2022-10-12 19:00:12 +01:00
Gwilym Kuiper fc45af262b Release v0.12.0 2022-10-11 23:34:13 +01:00
Gwilym Kuiper ea6086e998 Hide objects at the end of hat chooses the wizard 2022-10-11 22:54:35 +01:00
Gwilym Kuiper 982cb42b38 Fix now unused import 2022-10-11 22:36:14 +01:00
Gwilym Kuiper f5f73e89f5
Merge branch 'master' into affine 2022-10-08 23:03:42 +01:00
Gwilym Kuiper 1e759dbeca Move the palettes to a single constant rather than being repeated 2022-10-08 23:02:54 +01:00
Gwilym Kuiper cc66b65847 Update the docs 2022-10-08 21:39:48 +01:00
Gwilym Kuiper e63e830a9c Merge remote-tracking branch 'origin/master' into affine 2022-10-08 17:05:00 +01:00
Gwilym Kuiper c5f6e10889 Update all toml files to the new transparent requirement 2022-10-08 16:59:40 +01:00
GBA bot b24b4faeae Update lockfiles 2022-10-01 18:46:59 +00:00
Gwilym Kuiper 12ed911f16 Fix build errors 2022-10-01 16:52:23 +01:00
GBA bot 81d02db5fc Update lockfiles 2022-09-28 20:16:01 +00:00
Gwilym Kuiper 84c87a8088 Merge remote-tracking branch 'origin/master' into affine 2022-09-22 20:13:23 +01:00
Gwilym Kuiper 68fb9c7e02 Remove reference to the testing feature 2022-09-15 22:39:44 +01:00
GBA bot bcac002a7a Update lockfiles 2022-09-15 20:33:28 +00:00
GBA bot 490e3492fa Update lockfiles 2022-08-16 19:07:17 +00:00
GBA bot 2cbbab3305 Update lockfiles 2022-08-12 14:49:01 +00:00
lifning ee576597c2 Add rudimentary affine background layer support. 2022-08-11 23:49:51 +01:00
Corwin 2e97fb2b24 Release v0.11.1 2022-08-02 23:52:43 +01:00
Corwin 43b256a9f3 Release v0.11.0 2022-08-02 23:45:44 +01:00
Corwin 8a9ce6fd8b modify all other configs to be able to compile with arm 2022-08-01 17:36:41 +01:00
Corwin a7e038aa18 Release v0.10.0 2022-07-31 17:08:48 +01:00
Corwin cd000ca767 use the end of all assigned iwram data 2022-07-30 17:21:46 +01:00
Gwilym Kuiper 0f9d83887f This should now always be included 2022-07-25 22:52:05 +01:00
Gwilym Kuiper 2e505f9684 Remove the need for a special test implementation 2022-07-25 22:49:17 +01:00
Gwilym Kuiper 553a625c91 Mkae it possible to run tests in target crates (and add a basic tests in hat-wizard) 2022-07-25 22:49:17 +01:00
GBA bot ecdf1d4471 Update lockfiles 2022-07-13 06:00:40 +00:00
GBA bot 9e42a53eaa Update lockfiles 2022-06-26 16:32:08 +00:00
Corwin ccec26706e cause vram gc to run before enabling mixer
this avoids the harsh sounds at the start of the game
2022-06-21 02:08:24 +01:00
Corwin dc722d5199 flip wizard sprite to match direction regardless of hat state 2022-06-21 02:07:38 +01:00
Gwilym Kuiper fb8bcbfc0d Update all the other linker scripts 2022-06-17 00:43:51 +01:00
Gwilym Kuiper 28513335fb Update all the gba.ld files 2022-06-16 23:33:09 +01:00
Corwin 05adfabca8 get it working 2022-06-16 23:22:27 +01:00
Corwin 3a66aacc0c modify linker scripts 2022-06-16 22:59:17 +01:00
Gwilym Kuiper 0a9a3fdf1d Remove timer field to mixer 2022-06-11 12:57:59 +01:00
GBA bot 8df97c8ce8 Update lockfiles 2022-06-05 20:17:42 +00:00
GBA bot b8ef39220d Update lockfiles 2022-05-31 10:15:10 +00:00
Gwilym Kuiper e81503e0bc Make hat-chooses-wizard sprites transparent 2022-05-22 19:29:49 +01:00
Gwilym Kuiper 1a73ecf870 Remove 'c 2022-05-12 20:38:34 +01:00
Gwilym Kuiper 2853d34b30 Correctly render different sized backgrounds and make HTTW have
pointlessly different sized backgrounds to test it properly
2022-05-03 23:42:11 +01:00
Gwilym Kuiper be650779e6 Correctly allocate screenblocks 2022-05-03 23:23:25 +01:00
Gwilym Kuiper 39b37e7506 Fix example games 2022-05-03 22:51:01 +01:00
Gwilym Kuiper b49eff2460
Merge pull request #221 from gwilymk/only-fail-ci-builds-on-warning
Only fail ci builds on warning
2022-04-24 17:36:46 +01:00
GBA bot e168638a3b Update lockfiles 2022-04-24 16:12:05 +00:00
Gwilym Kuiper 61ed2b905d Allow warnings when developing, but still fail CI 2022-04-24 17:07:43 +01:00
Gwilym Kuiper d51f61a6fb
Merge pull request #219 from gwilymk/stop-freeing-still-in-use-tiles
Stop freeing still in use tiles
2022-04-23 23:34:00 +01:00
GBA bot 71788e1f0a Update lockfiles 2022-04-23 22:14:08 +00:00
Gwilym Kuiper 178db91072 Add gc step for tiles 2022-04-23 23:03:02 +01:00
GBA bot d394c43d4f Update lockfiles 2022-04-11 11:55:44 +00:00
Corwin f7ef25f3f0
Merge pull request #209 from corwinkuiper/z-ordered-sprites
Z ordered sprites
2022-04-07 22:46:26 +01:00
Gwilym Kuiper e3e29ab21b Update lockfiles with new font rendering stuff 2022-04-05 23:43:58 +01:00
Corwin a4979ac847 better handling of sprites 2022-04-04 20:29:00 +01:00
GBA bot 919ddf06ad Update lockfiles 2022-04-04 15:18:00 +00:00
Corwin 3e3039a7f6 update games 2022-04-03 21:20:20 +01:00
GBA bot da7844a6c5 Update lockfiles 2022-03-30 10:54:21 +00:00
Gwilym Kuiper f6ae4f731b Release agb v0.9.2 2022-03-28 22:50:36 +01:00
Gwilym Kuiper 394c02f704 Release agb v0.9.1 2022-03-28 22:44:33 +01:00