[merc] Add merc extraction (#1356)

* docs for ee merc code

* wip

* more extraction stuff

* partial mat1 working

* mat1

* cleanup

* partial mat2 and mat3 support

* merc extraction seems to work
This commit is contained in:
water111
2022-05-11 22:53:53 -04:00
committed by GitHub
parent 84b2ba43be
commit be976d2e69
23 changed files with 4539 additions and 235 deletions
+2 -2
View File
@@ -444,10 +444,10 @@ goos::Object decompile_sparticle_sound_spec(const std::vector<LinkedWord>& /*wor
goos::Object decompile_sparticle_group_item(const TypeSpec& type,
const DecompilerLabel& label,
const std::vector<DecompilerLabel>& labels,
const std::vector<DecompilerLabel>& /*labels*/,
const std::vector<std::vector<LinkedWord>>& words,
const TypeSystem& ts,
const LinkedObjectFile* file) {
const LinkedObjectFile* /*file*/) {
// auto normal = decompile_structure(type, label, labels, words, ts, file, false);
// fmt::print("Doing: {}\n", normal.print());
auto uncast_type_info = ts.lookup_type(type);