From 0127ac20640a01121a4accb5b214eb1d915272a4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?L=C3=A9o=20Lam?= Date: Thu, 7 Apr 2022 01:47:28 +0200 Subject: [PATCH] gsys: Add more Model fields --- lib/gsys/include/gsys/gsysModel.h | 18 ++++++++++++++++-- 1 file changed, 16 insertions(+), 2 deletions(-) diff --git a/lib/gsys/include/gsys/gsysModel.h b/lib/gsys/include/gsys/gsysModel.h index b666b159..7195a65a 100644 --- a/lib/gsys/include/gsys/gsysModel.h +++ b/lib/gsys/include/gsys/gsysModel.h @@ -2,9 +2,12 @@ #include #include +#include #include #include #include +#include +#include #include namespace gsys { @@ -45,9 +48,20 @@ private: sead::Buffer mUnitPool; /// Indices into this array are called "model unit access indices". sead::PtrArray mUnitAccess; - u8 _48[0x140 - 0x48]; + sead::PtrArray _48; + sead::Matrix34f mMatrix = sead::Matrix34f::ident; + sead::Vector3f _88 = sead::Vector3f::ones; + sead::Vector3f _94 = sead::Vector3f::ones; + bool _a0 = true; + bool _a1 = false; + bool _a2 = true; + bool _a3 = false; + u16 mNumModels = 0; + u8 _a6[0x140 - 0xa6]; mutable sead::CriticalSection mCS; - u8 _180[0x2b8 - 0x180]; + sead::OffsetList mHandleList; + sead::FixedSafeString<256> mName{"名称未設定"}; + u8 _2b0[0x2b8 - 0x2b0]; }; } // namespace gsys