Commit graph

53 commits

Author SHA1 Message Date
Gwilym Inzani cb127c7924 New include_gfx macro 2023-04-13 21:53:13 +01:00
Gwilym Inzani ec3e43da56 cargo fmt everywhere 2023-03-23 21:59:49 +00:00
Gwilym Kuiper 97dec32fa2 Fix all the clippy lints 2023-02-07 20:32:43 +00:00
Eievui 43279e72c3 Fix alpha not being considered when transparent_colour was absent 2023-01-21 14:12:56 -05:00
Corwin c78b4e62f2 fix warnings in image converter 2023-01-06 18:26:03 +00:00
Gwilym Kuiper 6b149c1e31 Fix spelling errors in agb-image-converter 2022-11-17 21:18:54 +00:00
Corwin f17084d4f6 Merge remote-tracking branch 'upstream/master' into object-controller2 2022-10-08 23:36:59 +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 ea75823900 Use the correct transparent colour 2022-10-08 16:45:58 +01:00
Corwin 5d541631ae add dynamic sprite support 2022-10-02 19:34:38 +01:00
Gwilym Kuiper ff89f7f425 Get first example working 2022-08-11 23:49:51 +01:00
Gwilym Kuiper 916a3d4b20 Start tracking the colours for a 256 colour image 2022-08-11 23:49:51 +01:00
Gwilym Kuiper 702286979d Fix warning 2022-08-11 23:49:51 +01:00
Gwilym Kuiper e97061a5af Optimise all palettes together 2022-08-11 23:49:51 +01:00
Gwilym Kuiper c87a9ff077 Allow configuring backgrounds with a colour 2022-08-11 23:49:51 +01:00
lifning ee576597c2 Add rudimentary affine background layer support. 2022-08-11 23:49:51 +01:00
Corwin ca64a2bb78 perform check in proc macro for size
can give a better error message, pointing at the file that contains the bad sizes
2022-08-01 12:08:22 +01:00
Corwin 3fa5b4467f support sprites that are not square in include_aseprite 2022-08-01 01:38:17 +01:00
Corwin 1be10ba450 align sprite data to 2 byte boundaries 2022-07-16 13:36:33 +01:00
Corwin 8a55fc7f0e support larger sprites 2022-07-16 09:08:35 +01:00
Gwilym Kuiper 8b063f8440 Add support for transparent sprites 2022-05-22 19:23:29 +01:00
Gwilym Kuiper 1b71ef6473 Add test for font output 2022-04-23 15:33:57 +01:00
Gwilym Kuiper d18d2fcde8 Remove unused import 2022-04-05 22:44:51 +01:00
Gwilym Kuiper c5cebb9520 Theory a font renderer 2022-04-04 22:06:08 +01:00
Corwin c55ff3f714 const fnify 2022-03-06 13:36:50 +00:00
Corwin 6cc29ebec0 animation direction test 2022-03-06 13:31:56 +00:00
Corwin 84e6af5d2f load aseprite files directly with asefile 2022-03-06 13:31:56 +00:00
Corwin e67f1ff45f output to the correct location 2022-03-06 13:31:56 +00:00
Corwin 6e5cee1e3f support loading multiple 2022-03-06 13:31:56 +00:00
Corwin 73a8d86f6b sprite import proc macro mess 2022-03-06 13:31:56 +00:00
Corwin 9095daebd8 satisfy linter 2022-03-06 13:31:36 +00:00
Corwin 9714b8a3ca types required for aseprite import 2022-03-06 13:31:36 +00:00
GBA bot eb38e2b631 Make the generated module not public 2022-01-02 17:54:44 +00:00
Gwilym Kuiper ad82fe291f Add suuport for 32x32 tiles 2021-10-30 18:22:09 +01:00
Gwilym Kuiper fdff081c32 Switch entirely to using quote to generate the code 2021-07-26 23:27:16 +01:00
Gwilym Kuiper aa32be1a27 Move parsing 1 level up 2021-07-22 19:04:30 +01:00
Gwilym Kuiper d7a24d9659 Start switching to the quote crate for generating the code 2021-07-22 19:03:49 +01:00
Gwilym Kuiper 19e0a0527b Use syn crate rather than litrs 2021-07-22 18:43:27 +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 53952d8e34 Add support for reading config data from a toml file 2021-07-21 20:59:25 +01:00
Gwilym Kuiper 4516c8dfc0 Pass through a crate prefix 2021-06-05 17:47:13 +01:00
Gwilym Kuiper c6b1c4b824 Refactor to use a builder pattern 2021-06-05 17:45:21 +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 b4c3bd7356 Don't generate if source hasn't been modified 2021-04-20 21:07:57 +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
Gwilym Kuiper f92daa3fc3 Improve debug output 2021-04-20 00:57:47 +01:00