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
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
Corwin
fc5ce97db4
Release v0.14.0
2023-04-11 21:28:22 +01:00
Corwin
fd79611dc3
update lock files
2023-04-11 21:27:09 +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
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 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
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
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
GBA bot
b24b4faeae
Update lockfiles
2022-10-01 18:46:59 +00:00
GBA bot
81d02db5fc
Update lockfiles
2022-09-28 20:16:01 +00: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
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
d43ec79064
increase optimisation
2022-08-02 22:48:19 +01:00
Corwin
7e2787384d
reorder sprites
2022-08-01 23:02:23 +01:00
Corwin
f4bd6e330d
satisfy linter
2022-08-01 22:50:37 +01:00
Corwin
553a4bea08
update the sprites page of the book
2022-08-01 22:26:32 +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
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
Gwilym Kuiper
64fbf13cc3
Update gba_mb with the new requried references
2022-06-17 00:48:32 +01:00
Gwilym Kuiper
fb8bcbfc0d
Update all the other linker scripts
2022-06-17 00:43:51 +01:00
Corwin
bd3f2f4d59
update all other gba_mb.ld
2022-06-16 23:38:47 +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
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
8b063f8440
Add support for transparent sprites
2022-05-22 19:23:29 +01:00
GBA bot
e168638a3b
Update lockfiles
2022-04-24 16:12:05 +00:00
GBA bot
71788e1f0a
Update lockfiles
2022-04-23 22:14:08 +00: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
810726ea79
fix book example
2022-04-05 21:30:26 +01:00
GBA bot
919ddf06ad
Update lockfiles
2022-04-04 15:18:00 +00: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
Gwilym Kuiper
a97dcb2d2e
Release agb v0.9.0
2022-03-28 22:33:22 +01:00
Gwilym Kuiper
8eb4b99045
Release agb-fixnum v0.2.1
2022-03-28 22:30:51 +01:00
Gwilym Kuiper
021fdda997
Release agb-fixnum v0.2.0
2022-03-28 22:27:19 +01:00
Gwilym Kuiper
c1cfb9910a
Release agb-sound-converter v0.2.0
2022-03-28 22:24:07 +01:00
Gwilym Kuiper
78dc3ac57f
Release agb-image-converter v0.7.0
2022-03-28 22:21:45 +01:00
Gwilym Kuiper
942da6ebf7
Release agb-macros v0.2.0
2022-03-28 22:18:22 +01:00
Gwilym Kuiper
3e34509049
Rename get_object to object
2022-03-23 20:34:55 +00:00
Gwilym Kuiper
5791d033ef
Rename get_sprite and get_animation_sprite to remove get_ prefix
2022-03-23 20:32:29 +00:00
GBA bot
129e4161a2
Update lockfiles
2022-03-21 11:39:07 +00:00
Gwilym Kuiper
9f6797f4ed
Update lockfiles
2022-03-19 23:09:21 +00:00
GBA bot
4ee540aecf
Update lockfiles
2022-03-15 06:06:15 +00:00
GBA bot
b43baf43cf
Update lockfiles
2022-03-14 09:59:03 +00:00
Corwin
44c7a93fa3
use new api
2022-03-12 17:36:38 +00:00
Corwin
8d20e02a4a
fix pong example to use new system
...
TODO: fix transparency
2022-03-07 22:04:02 +00:00
Gwilym Kuiper
39a8b5a64f
Update lockfiles
2022-03-05 20:52:26 +00:00
GBA bot
03dfaf9d5f
Update lockfiles
2022-03-01 20:07:25 +00:00
Gwilym Kuiper
4b7e825403
Update lockfiles
2022-02-24 22:26:08 +00:00
Gwilym Kuiper
9feab2b689
Update the big examples too
2022-01-16 21:44:17 +00:00
Gwilym Kuiper
17867da596
Merge pull request #155 from agbrs/renovate/syn-1.x
...
Update Rust crate syn to 1.0.85
2022-01-12 23:18:16 +00:00
Gwilym Kuiper
d44e0fc796
Update lockfiles
2022-01-12 23:05:02 +00:00
Gwilym Kuiper
19f071fd5a
Use agb::fixnum rather than agb::number
2022-01-12 22:09:57 +00:00
GBA bot
60e78768a4
You don't need extern crate agb; any more
2022-01-04 00:16:25 +00:00
GBA bot
026f057b8d
Finish off section about bouncing a ball around the screen
2022-01-02 18:46:00 +00:00
GBA bot
a39d5cfd69
Add some more documentation
2022-01-02 11:27:26 +00:00
GBA bot
b5ff4991fa
Use builder style for ObjectStandard
2022-01-02 11:14:18 +00:00
GBA bot
cd1c71fc5e
Put a ball on screen
2022-01-02 00:40:34 +00:00
GBA bot
26400c97e8
Extract a function for loading the sprite data
2022-01-02 00:28:14 +00:00
GBA bot
acee6a3c51
Import the sprites in the pong code
2022-01-02 00:21:59 +00:00
GBA bot
e02fda5fc9
Start the sprites chapter
2022-01-02 00:11:07 +00:00
GBA bot
b6b3cf2491
Update the pong example to have the same comments as there are now in the template
2022-01-01 23:38:13 +00:00
GBA bot
70e91e496c
Update all the example lock files
2022-01-01 22:47:25 +00:00
GBA bot
df1d016235
Use the local copy of agb rather than the version from crates.io
2022-01-01 22:47:01 +00:00
GBA bot
129138e388
Update the name of the pong game crate
2022-01-01 22:38:56 +00:00
GBA bot
a363dfc757
Start the pong example for the book
2022-01-01 22:37:39 +00:00