2022-05-11 22:53:53 -04:00
|
|
|
#pragma once
|
|
|
|
#include "common/common_types.h"
|
2023-10-14 16:49:23 -04:00
|
|
|
#include "common/math/Vector.h"
|
2022-05-11 22:53:53 -04:00
|
|
|
|
|
|
|
namespace level_tools {
|
|
|
|
|
|
|
|
// levels may remap textures if they provide one that should be shared
|
|
|
|
struct TextureRemap {
|
|
|
|
u32 original_texid;
|
|
|
|
u32 new_texid;
|
|
|
|
};
|
2023-10-14 16:49:23 -04:00
|
|
|
|
|
|
|
struct Joint {
|
|
|
|
std::string name;
|
|
|
|
int parent_idx = -1; // -1 for magic ROOT joint.
|
|
|
|
math::Matrix4f bind_pose_T_w;
|
|
|
|
};
|
|
|
|
|
|
|
|
/*!
|
|
|
|
* Data extracted from art groups that is not needed for .FR3, but is potentially needed for other
|
|
|
|
* stuff (skeleton export).
|
|
|
|
*/
|
|
|
|
struct ArtData {
|
|
|
|
std::string art_group_name;
|
|
|
|
std::string art_name;
|
|
|
|
std::vector<Joint> joint_group;
|
|
|
|
};
|
|
|
|
|
2022-05-11 22:53:53 -04:00
|
|
|
} // namespace level_tools
|