Commit graph

29 commits

Author SHA1 Message Date
Corwin 184b11ed81
use static rather than const 2024-03-29 14:41:08 +00:00
Gwilym Inzani 77445b304f Custom assembly as thumb 2023-09-06 00:23:01 +01:00
Gwilym Inzani 5cfa64030a Generate the tileset directly 2023-08-30 16:08:43 +01:00
Gwilym Inzani 6d56e72d66 Fix palette assignment 2023-08-29 14:39:41 +01:00
Gwilym Inzani 3d7d3f25a2 Update agb repo 2023-08-29 14:13:40 +01:00
Gwilym Inzani b5af3a3aff Generate tile settings instead of palette assignments 2023-08-29 14:07:19 +01:00
Gwilym Inzani 682a63b055 Fix issue with 16x16 sprites with more than 15 colours 2023-07-12 11:52:59 +01:00
Gwilym Inzani 498236d064 Remove tile size 2023-04-13 22:18:13 +01:00
Corwin c78b4e62f2 fix warnings in image converter 2023-01-06 18:26:03 +00:00
Corwin d5a7954637 align tiles to a 2 byte boundary 2022-10-22 12:41:58 +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 ff89f7f425 Get first example working 2022-08-11 23:49:51 +01:00
Gwilym Kuiper e97061a5af Optimise all palettes together 2022-08-11 23:49:51 +01:00
lifning ee576597c2 Add rudimentary affine background layer support. 2022-08-11 23:49:51 +01:00
Gwilym Kuiper 8b063f8440 Add support for transparent sprites 2022-05-22 19:23:29 +01:00
Gwilym Kuiper d4a12277eb Generate a bytestring for the image converter rather than the array 2022-03-21 22:41:11 +00:00
Gwilym Kuiper 0796247a2e Finalize the code generation 2021-07-26 23:38:22 +01:00
Gwilym Kuiper 3626e2cb18 Feels cleaner with a bunch of for loops 2021-07-26 23:30:46 +01:00
Gwilym Kuiper fdff081c32 Switch entirely to using quote to generate the code 2021-07-26 23:27:16 +01:00
Gwilym Kuiper 061b8be368 Run rustfmt 2021-07-21 22:46:22 +01:00
Gwilym Kuiper 8713f514be Switch to a proc macro for generating the image data 2021-07-21 22:07:29 +01:00
Gwilym Kuiper 47c5c0f86e Extract variable for output_variable_name 2021-07-21 21:01:24 +01:00
Gwilym Kuiper 383c5454ea Start work for new proc macro by generating a TileData 2021-07-21 20:27:04 +01:00
Gwilym Kuiper 4516c8dfc0 Pass through a crate prefix 2021-06-05 17:47:13 +01:00
Gwilym Kuiper 8575f7d3d6 No need to put static 2021-04-20 23:04:32 +01:00
Gwilym Kuiper 5234c7181e Fix all the clippy lints 2021-04-20 22:56:47 +01:00
Gwilym Kuiper 62e0c346c5 End-to-end logo working 2021-04-20 22:52:23 +01:00
Gwilym Kuiper d1412fb709 Actually write to a file and also include palette assignments 2021-04-20 20:51:49 +01:00
Gwilym Kuiper 4daafdec20 Actually output some rust code 2021-04-20 20:41:41 +01:00