Commit graph

18 commits

Author SHA1 Message Date
Gwilym Inzani 62020e692f Use btrees to make everything more consistent 2024-09-25 13:13:51 +01:00
Gwilym Inzani 40987f8977 Slightly easier debugging 2024-09-25 12:13:28 +01:00
Gwilym Inzani edb628d0b2 Extract method for checking palette invariants 2024-09-25 11:44:16 +01:00
Gwilym Inzani c834e2907d Ensure that transparent colours always come first 2024-09-25 11:40:54 +01:00
Gwilym Inzani 7b6556b381 Use a better optimisation method 2024-09-25 11:33:51 +01:00
Gwilym Inzani db908bb2da Explain why this works 2024-09-25 10:53:25 +01:00
Gwilym Inzani fb186809a9 Add a really basic quickcheck 2024-09-25 10:47:17 +01:00
Corwin 26090499e7
fix image converter bug 2023-05-06 20:31:43 +01:00
Eievui 43279e72c3 Fix alpha not being considered when transparent_colour was absent 2023-01-21 14:12:56 -05:00
Gwilym Kuiper 89af366b7a Add transparent colour to the image itself 2022-10-08 16:43:25 +01:00
Gwilym Kuiper d26311e76b The transparent colour should always go first 2022-09-22 20:26:45 +01:00
Gwilym Kuiper 916a3d4b20 Start tracking the colours for a 256 colour image 2022-08-11 23:49:51 +01:00
Gwilym Kuiper 8b063f8440 Add support for transparent sprites 2022-05-22 19:23:29 +01:00
Corwin 3cc30a2bcd satisfy linter 2022-03-06 13:31:36 +00:00
Gwilym Kuiper 5234c7181e Fix all the clippy lints 2021-04-20 22:56:47 +01:00
Gwilym Kuiper 4daafdec20 Actually output some rust code 2021-04-20 20:41:41 +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