agb/book/games/pong
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
..
.cargo modify all other configs to be able to compile with arm 2022-08-01 17:36:41 +01:00
gfx reorder sprites 2022-08-01 23:02:23 +01:00
src improve the migration 2023-04-06 21:45:32 +01:00
.gitignore Start the pong example for the book 2022-01-01 22:37:39 +00:00
Cargo.lock Merge remote-tracking branch 'upstream/master' into new-objects 2023-04-23 20:44:46 +01:00
Cargo.toml Maybe make the build faster by using the same settings for all crates 2023-04-25 20:22:44 +01:00
gba.ld Add shstrtab section for lld 2023-04-02 20:39:38 +01:00
gba_mb.ld Add shstrtab section for lld 2023-04-02 20:39:38 +01:00
rust-toolchain.toml Add rustfmt as a component to rust-toolchain 2023-03-23 22:17:02 +00:00