Commit graph

47 commits

Author SHA1 Message Date
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
Gwilym Kuiper bc46764e2f Fix clippy linter errors 2021-07-21 22:19:28 +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 383c5454ea Start work for new proc macro by generating a TileData 2021-07-21 20:27:04 +01:00
Gwilym Kuiper 7c02a8570f Fixup cli 2021-06-05 18:00:38 +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 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 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 4728f22806 Name crate correctly and add a simple test program 2021-04-20 00:58:03 +01:00
Gwilym Kuiper f92daa3fc3 Improve debug output 2021-04-20 00:57:47 +01:00
Gwilym Kuiper beff079880 Don't try to check the same colour repeatedly 2021-04-20 00:57:26 +01:00
Gwilym Kuiper 0fe4e23758 Add palette optimisation 2021-04-20 00:40:07 +01:00
Gwilym Kuiper 725543912a Add image loading 2021-04-19 23:15:03 +01:00
Gwilym Kuiper c8d0f82c34 Actually make a library and start sketching out the interface 2021-04-19 23:01:28 +01:00
Gwilym Kuiper 58d6876e17 Add hello world program 2021-04-19 22:51:41 +01:00