Commit graph

180 commits

Author SHA1 Message Date
Corwin 5f12040752
the proper nice okay working text rendering 2023-07-01 23:36:58 +01:00
renovate[bot] b758ff1fe5
Update Rust crate asefile to 0.3.6 2023-07-01 14:21:18 +00:00
Corwin 37c30586c3
remove profiles from some projects
these projects are not tested or run on the gba or
are dependencies and therefore follow the binaries settings
2023-05-23 20:10:21 +01:00
Corwin e8479c093b
add macro to import a palette from a sprite 2023-05-06 22:44:43 +01:00
Corwin 26090499e7
fix image converter bug 2023-05-06 20:31:43 +01:00
Corwin 400abe5b31
Release v0.15.0 2023-04-25 21:51:29 +01:00
Gwilym Inzani 9835f81b5f Maybe make the build faster by using the same settings for all crates 2023-04-25 20:22:44 +01:00
Gwilym Inzani 8e152f05c9 Ensure mod tests is at the end 2023-04-25 20:06:52 +01:00
Gwilym Inzani bace62b8e3 Don't use nightly only function 2023-04-14 21:16:12 +01:00
GBA bot 753f59e0e0 Allow importing aseprite backgrounds directly 2023-04-13 22:33:26 +01:00
Gwilym Inzani 498236d064 Remove tile size 2023-04-13 22:18:13 +01:00
Gwilym Inzani 11891e574f Remove some features from syn 2023-04-13 22:15:53 +01:00
Gwilym Inzani 875a0fbb65 Remove unneeded stuff from image-converter 2023-04-13 22:14:44 +01:00
Gwilym Inzani eac350b391 Replace example usage with the new macro 2023-04-13 22:01:37 +01:00
Gwilym Inzani cb127c7924 New include_gfx macro 2023-04-13 21:53:13 +01:00
Corwin fc5ce97db4
Release v0.14.0 2023-04-11 21:28:22 +01:00
renovate[bot] e15b4d0357
Update Rust crate toml to 0.7 2023-03-23 23:12:15 +00:00
Gwilym Inzani aea8547f97
Ensure cargo fmt is run accross everything (#399)
I have fmt'd all the things!

- [x] Changelog updated / no changelog update needed
2023-03-23 23:11:19 +00:00
renovate[bot] 29c1661075
Update Rust crate syn to v2 2023-03-23 22:02:23 +00: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
Gwilym Kuiper 33dafd29c2 Update everything to 2021 2023-02-07 20:32:35 +00:00
Eievui 43279e72c3 Fix alpha not being considered when transparent_colour was absent 2023-01-21 14:12:56 -05:00
Gwilym Kuiper b76e7b9bf0 Release v0.13.0 2023-01-19 20:21:09 +00: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 70f22b9255 Release v0.12.2 2022-10-22 12:59:20 +01:00
Corwin d5a7954637 align tiles to a 2 byte boundary 2022-10-22 12:41:58 +01:00
Corwin 78f9fd2026 Release v0.12.1 2022-10-12 19:00:12 +01:00
Gwilym Kuiper fc45af262b Release v0.12.0 2022-10-11 23:34:13 +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 2e97fb2b24 Release v0.11.1 2022-08-02 23:52:43 +01:00
Corwin 43b256a9f3 Release v0.11.0 2022-08-02 23:45:44 +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 a7e038aa18 Release v0.10.0 2022-07-31 17:08:48 +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 6d1d3d2b9d Add repository to Cargo.toml files
Fixes #253
2022-07-14 21:49:53 +01:00
Gwilym Kuiper 8b063f8440 Add support for transparent sprites 2022-05-22 19:23:29 +01:00
Renovate Bot 0e0b74464b
Update Rust crate asefile to 0.3.5 2022-04-24 16:10:50 +00:00
Gwilym Kuiper 4f6f981ce7 Usage of group now requires 'full' 2022-04-23 15:56:07 +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 78dc3ac57f Release agb-image-converter v0.7.0 2022-03-28 22:21:45 +01:00
Gwilym Kuiper d4a12277eb Generate a bytestring for the image converter rather than the array 2022-03-21 22:41:11 +00:00
Renovate Bot 3755c68a0f
Update Rust crate asefile to 0.3.4 2022-03-21 19:51:58 +00:00
Corwin 9d0fa2f40e even less specific 2022-03-18 21:35:32 +00:00
Corwin aca82e7007 be less specific in version numbers 2022-03-18 21:34:39 +00:00
Renovate Bot 089dba8648
Update Rust crate syn to 1.0.88 2022-03-15 06:05:13 +00:00
Renovate Bot 6c771ca22f
Update Rust crate syn to 1.0.87 2022-03-14 09:58:05 +00:00
Gwilym Kuiper 50ce96ac82 Delete library cargo.locks 2022-03-12 23:39:58 +00:00
Corwin 6f064b0d99 update lock files 2022-03-06 13:45:16 +00:00
Corwin c55ff3f714 const fnify 2022-03-06 13:36:50 +00:00
Corwin 8a6f341421 update hat chooses wizard 2022-03-06 13:36:26 +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 e462d35feb lock file update 2022-03-06 13:31:36 +00:00
Corwin 9714b8a3ca types required for aseprite import 2022-03-06 13:31:36 +00:00
Gwilym Kuiper 39a8b5a64f Update lockfiles 2022-03-05 20:52:26 +00:00
GBA bot 03dfaf9d5f Update lockfiles 2022-03-01 20:07:25 +00:00
Renovate Bot 725fdb3e6b
Update Rust crate image to 0.24.1 2022-02-24 20:49:44 +00:00
GBA bot 5a7efa660a Update lockfiles 2022-02-24 20:37:17 +00:00
Renovate Bot 3cb4b6536f
Update Rust crate quote to 1.0.15 2022-01-22 01:56:33 +00:00
Renovate Bot 8fd94824dd Update Rust crate syn to 1.0.86 2022-01-20 23:00:36 +00:00
Gwilym Kuiper d44e0fc796 Update lockfiles 2022-01-12 23:05:02 +00:00
Renovate Bot 7aba5cba67
Update Rust crate syn to 1.0.85 2022-01-06 09:19:51 +00:00
GBA bot eb38e2b631 Make the generated module not public 2022-01-02 17:54:44 +00:00
Corwin 1aaa3886af
Merge pull request #143 from agbrs/renovate/syn-1.x
Update Rust crate syn to 1.0.84
2022-01-01 21:20:25 +00:00
Renovate Bot e0d23abcf2
Update Rust crate syn to 1.0.84 2022-01-01 21:17:51 +00:00
Renovate Bot 5215f36cdc
Update Rust crate quote to 1.0.14 2022-01-01 21:15:47 +00:00
Renovate Bot 7b93c65564
Update Rust crate proc-macro2 to 1.0.36 2022-01-01 21:02:51 +00:00
Gwilym Kuiper ad82fe291f Add suuport for 32x32 tiles 2021-10-30 18:22:09 +01:00
Gwilym Kuiper 4bd05718ee Release agb-image-converter v0.6.0 2021-08-01 21:40:49 +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