Commit graph

38 commits

Author SHA1 Message Date
GBA bot 81aae96d18 Update lockfiles 2023-09-22 18:27:01 +00:00
GBA bot c7540a440d Update lockfiles 2023-09-13 13:17:49 +00:00
GBA bot ab07ed31db Update lockfiles 2023-09-04 12:36:38 +00:00
GBA bot c29ba6e9ec Update lockfiles 2023-08-13 10:36:46 +00:00
Gwilym Inzani 6607ea3f1f Update lockfiles 2023-08-06 21:06:12 +01:00
Gwilym Inzani f3a6bead13 Actually update the gbafix licence 2023-07-28 21:54:36 +01:00
GBA bot e08024ae5b Update lockfiles 2023-07-26 11:31:26 +01:00
Gwilym Inzani 61c4b03f7d Update the licence to be MPL since we have no GPL dependency any more 2023-07-26 10:23:34 +01:00
Gwilym Inzani d9fc333644 Implement the padding flag 2023-07-26 10:21:54 +01:00
Gwilym Inzani 9eee5a03f2 Implement our own gba header 2023-07-26 10:18:28 +01:00
Gwilym Inzani eb31a98f29 Extract write_gba_file to lib.rs 2023-07-26 09:53:32 +01:00
Corwin a7f9fdf011
Release v0.16.0 2023-07-18 18:55:12 +01:00
GBA bot 28683e701f Update lockfiles 2023-06-30 22:03:31 +01:00
Corwin 6b7088773e
remove codegen units 2023-05-23 20:12:42 +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 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
Gwilym Inzani 8af41a9b3c Add required fields for publishing 2023-04-09 18:40:33 +01:00
Gwilym Inzani 1c56de287a Do the padding correctly 2023-04-09 18:33:37 +01:00
Gwilym Inzani 2412ac4dc5 Add GPL 3.0 licence for gbafix as required by dependencies 2023-04-08 21:22:02 +01:00
Gwilym Inzani f70a280aea Don't create a dictionary here 2023-04-08 21:18:56 +01:00
Gwilym Inzani 7ec077e08a Implement makercode as expected 2023-04-08 21:18:27 +01:00
Gwilym Inzani 32d19debfb Add -p argument for compatibility with stock gbafix 2023-04-08 21:13:22 +01:00
Gwilym Inzani b13318f699 Autogenerate the title 2023-04-07 00:03:00 +01:00
Gwilym Inzani e87c90d7ad Remove cargo feature 2023-04-06 23:59:28 +01:00
Gwilym Inzani d81c28a0d0 Allow configuration of the header 2023-04-06 23:56:19 +01:00
Gwilym Inzani 8aa6e3182b Add a CLI 2023-04-06 23:43:57 +01:00
Gwilym Inzani 44e0d24f1b Pad the result 2023-04-06 23:35:44 +01:00
Gwilym Inzani b76781799a Use anyhow for errors 2023-04-06 23:16:38 +01:00
Gwilym Inzani d278d50528 Extract function 2023-04-06 23:13:42 +01:00
Gwilym Inzani 07318256e0 Generate correct 0 bytes 2023-04-06 23:09:19 +01:00
Gwilym Inzani a111a41deb Extract constant 2023-04-06 21:55:11 +01:00
Gwilym Inzani dce7a6726e Add the correct header 2023-04-06 21:54:26 +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