Library/Collision: Add more CollisionParts-members (#199)
Some checks are pending
Compile and verify functions / compile_verify (push) Waiting to run
Copy headers to separate repo / copy_headers (push) Waiting to run
lint / clang-format (push) Waiting to run
lint / custom-lint (push) Waiting to run
progress / publish_progress (push) Waiting to run
testcompile / test_compile (push) Waiting to run

This commit is contained in:
MonsterDruide1 2024-11-29 15:17:13 +01:00 committed by GitHub
parent d3bb972009
commit b82689a56d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1,5 +1,6 @@
#pragma once
#include <container/seadTList.h>
#include <math/seadMatrix.h>
#include <math/seadVector.h>
@ -29,18 +30,34 @@ public:
const HitSensor* getConnectedSensor() const { return mConnectedSensor; }
private:
void* _0[11];
void* unk[2];
CollisionParts* _10; // self-reference
sead::TList<CollisionParts*>* mPartsList;
sead::Matrix34f* mJointMtx;
sead::Matrix34f mSyncMtx;
sead::Matrix34f mBaseMtx;
sead::Matrix34f mBaseInvMtx;
sead::Matrix34f mPrevBaseMtx;
void* _88[9];
sead::Matrix34f mPrevBaseInvMtx;
sead::Vector3f mMtxScaleVec;
f32 mMtxScale;
f32 mInvMtxScale;
s32 mPriority;
KCollisionServer* mKCollisionServer;
HitSensor* mConnectedSensor = nullptr;
void* _140[3];
s32 _158;
s32 _15c = 0;
u8 _160[13];
bool mIsMoving = false;
HitSensor* mConnectedSensor;
const char* mSpecialPurpose;
const char* mOptionalPurpose;
sead::Vector3f _150; // same as mMtxScaleVec?
s32 _15c;
f32 mBoundingSphereRange;
f32 mBaseMtxScale;
bool mIsValidatedByUser;
bool mIsValidatedBySystem;
bool _16a;
bool _16b;
bool _16c;
bool mIsMoving;
bool _16e;
};
} // namespace al