Commit graph

71 commits

Author SHA1 Message Date
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 d5a7954637 align tiles to a 2 byte boundary 2022-10-22 12:41:58 +01: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
Gwilym Kuiper 1a51b3b502 Remove the definition of transparent colour from image 2022-10-08 16:44:26 +01:00
Gwilym Kuiper 89af366b7a Add transparent colour to the image itself 2022-10-08 16:43:25 +01:00
Corwin 5d541631ae add dynamic sprite support 2022-10-02 19:34:38 +01:00
Gwilym Kuiper d26311e76b The transparent colour should always go first 2022-09-22 20:26:45 +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 fb197d3e79 Store font data more compressed 2022-04-23 15:42:08 +01:00
Gwilym Kuiper 1b71ef6473 Add test for font output 2022-04-23 15:33:57 +01:00
Gwilym Kuiper 45e18d5cc7 Use a better example font which isn't monospace 2022-04-05 23:35:18 +01:00
Gwilym Kuiper d18d2fcde8 Remove unused import 2022-04-05 22:44:51 +01:00
Gwilym Kuiper 2c2931fa97 Handle the height of letters correctly 2022-04-05 22:44:32 +01:00
Gwilym Kuiper a6f5cc9ec1 Render some text 2022-04-05 22:32:11 +01:00
Gwilym Kuiper c5cebb9520 Theory a font renderer 2022-04-04 22:06:08 +01:00
Gwilym Kuiper d4a12277eb Generate a bytestring for the image converter rather than the array 2022-03-21 22:41:11 +00: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 3cc30a2bcd 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 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 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