grunt-lucas / porytiles

Overworld tileset compiler for Pokémon Generation 3 decompilation projects
MIT License
30 stars 3 forks source link

Add some way to dump or insert animation C code #35

Open grunt-lucas opened 5 months ago

grunt-lucas commented 5 months ago
mrgriffin commented 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 #included 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.

grunt-lucas commented 5 months ago

@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.

mrgriffin commented 5 months ago

Sorry if that spammed your email!

np! I like keeping up to date with what's going on in porytiles :)