Skip to content

include_aseprite! from OUT_DIR #544

Answered by gwilymk
screenshakes asked this question in Q&A
Discussion options

You must be logged in to vote

Sadly I think this is eager macro expansion which has a postponed RFC as discussed here Michael-F-Bryan/include_dir#86 (someone wanting to do a very similar thing).

In theory it could read $OUT_DIR/portrait_0.aseprite and expand the environment variables? I wouldn't be opposed to that if you want to create a PR for it :).

Would need handling here: https://github.com/agbrs/agb/blob/master/agb-image-converter/src/lib.rs#L45 for backgrounds and here: https://github.com/agbrs/agb/blob/master/agb-image-converter/src/lib.rs#L313 for sprites :)

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by screenshakes
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants