mirror of
https://github.com/open-goal/jak-project.git
synced 2024-10-20 00:57:44 -04:00
1979f94e45
Added a new `rip_collision` flag to the decompiler config and wired it up. Cleaned up the comments around these fields in the JSON too for clarity Also refactored a bunch of the related extract functions to read from `config` object rather than pass down a bunch of booleans
23 lines
858 B
C++
23 lines
858 B
C++
#pragma once
|
|
|
|
#include "BspHeader.h"
|
|
|
|
#include "common/custom_data/Tfrag3Data.h"
|
|
|
|
namespace decompiler {
|
|
|
|
void extract_collide_frags(const level_tools::DrawableTreeCollideFragment* tree,
|
|
const std::vector<const level_tools::DrawableTreeInstanceTie*>& ties,
|
|
const Config& config,
|
|
const std::string& debug_name,
|
|
tfrag3::Level& out);
|
|
|
|
void extract_collide_frags(const level_tools::CollideHash& chash,
|
|
const std::vector<const level_tools::DrawableTreeInstanceTie*>& ties,
|
|
const Config& config,
|
|
const std::string& debug_name,
|
|
const decompiler::DecompilerTypeSystem& dts,
|
|
tfrag3::Level& out);
|
|
|
|
} // namespace decompiler
|