mirror of
https://github.com/zeldaret/botw
synced 2026-08-17 21:13:01 -04:00
ksys/phys: Start adding physics parameter structs
* SupportBoneParam * RagdollParam * ClothSetParam, ClothSubWindParam, ClothParam * EdgeRigidBodySetParam, EdgeRigidBody * ParamSet (only the header for now)
This commit is contained in:
@@ -0,0 +1,39 @@
|
||||
#pragma once
|
||||
|
||||
#include <agl/Utils/aglParameter.h>
|
||||
#include <agl/Utils/aglParameterList.h>
|
||||
#include <agl/Utils/aglParameterObj.h>
|
||||
#include <container/seadBuffer.h>
|
||||
|
||||
namespace ksys::phys {
|
||||
|
||||
struct RigidBodySetParam;
|
||||
struct CharacterControllerParam;
|
||||
struct ClothSetParam;
|
||||
struct RagdollParam;
|
||||
struct SupportBoneParam;
|
||||
struct ContactInfoParam;
|
||||
struct EdgeRigidBodySetParam;
|
||||
|
||||
struct ParamSet : public agl::utl::ParameterList {
|
||||
sead::Buffer<RigidBodySetParam> rigid_body_sets{};
|
||||
CharacterControllerParam* character_controller{};
|
||||
ClothSetParam* cloth_set{};
|
||||
RagdollParam* ragdoll{};
|
||||
SupportBoneParam* support_bone{};
|
||||
ContactInfoParam* contact_info{};
|
||||
EdgeRigidBodySetParam* edge_rigid_body_sets{};
|
||||
|
||||
agl::utl::ParameterObj obj;
|
||||
agl::utl::Parameter<int> use_rigid_body_set_num;
|
||||
agl::utl::Parameter<bool> use_character_controller;
|
||||
agl::utl::Parameter<bool> use_ragdoll;
|
||||
agl::utl::Parameter<bool> use_support_bone;
|
||||
agl::utl::Parameter<bool> use_cloth;
|
||||
agl::utl::Parameter<bool> use_contact_info;
|
||||
agl::utl::Parameter<bool> use_system_group_handler;
|
||||
agl::utl::Parameter<int> use_edge_rigid_body_num;
|
||||
int num_rigid_bodies_with_link_matrix = 0;
|
||||
};
|
||||
|
||||
} // namespace ksys::phys
|
||||
Reference in New Issue
Block a user