Skip to content

Commit

Permalink
Decomp anim note
Browse files Browse the repository at this point in the history
  • Loading branch information
grunt-lucas committed Sep 15, 2023
1 parent b2db41a commit faac7aa
Showing 1 changed file with 5 additions and 10 deletions.
15 changes: 5 additions & 10 deletions src/importer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -882,16 +882,11 @@ importCompiledTileset(PtContext &ctx, std::ifstream &metatiles, std::ifstream &a
tileset.assignments = importCompiledMetatiles(ctx, metatiles, attributesMap);
tileset.anims = importCompiledAnimations(ctx, compiledAnims);

// for (const auto &anim : tileset.anims) {
// std::cout << "Found anim:" << std::endl;
// std::cout << anim.animName << std::endl;
// for (const auto &frame : anim.frames) {
// std::cout << frame.frameName << std::endl;
// }
// std::cout << "----------------" << std::endl;
// }

// TODO : perform key frame inference here
/*
* TODO : perform key frame inference here. We have to determine the key frame in order to
* determine which palette each anim is actually using. If key frame inference fails, skip
* decompilation of this anim?
*/

return {tileset, attributesMap};
}
Expand Down

0 comments on commit faac7aa

Please sign in to comment.