Open grunt-lucas opened 5 months ago
is it possible to generate the code and insert it automatically? This would be even better. Would need some kind of syntax tree parsing
A halfway house would be to generate a single .h
file which is expected to be #include
d in tileset_anims.c
. That way the user only has to insert that #include
once when adding porymap to their repo, and it'll "automatically" track any porytiles rebuilds.
@mrgriffin Hah! I just went on an issue-creation spree (I moved my Todo.md
items over to GitHub issues). Sorry if that spammed your email! Also, your idea above is very clever. That would be the way to go, I think. Would avoid thorny C-parsing issues.
Sorry if that spammed your email!
np! I like keeping up to date with what's going on in porytiles :)
.h
file which is expected to be#include
'd intileset_anims.c
src/data/tilesets/headers.h
?anim.cfg
file that allows users to customize the frame animation times, etc