diff options
| author | Aetias <aetias@outlook.com> | 2024-02-17 00:27:54 +0100 |
|---|---|---|
| committer | Aetias <aetias@outlook.com> | 2024-02-17 00:27:54 +0100 |
| commit | 89b20bc2da98b82174d3bbc0d6c7421fa48a876d (patch) | |
| tree | 34770b7dd1d74e4adaa0961129adb9f4cb8536b1 /include/lib | |
| parent | b24f0a3a90314277f03b595e72472e4ebcb3d0c4 (diff) | |
Decomp `ItemManager::EquipItem_vfunc_3c`
Diffstat (limited to 'include/lib')
| -rw-r--r-- | include/lib/math.h | 15 |
1 files changed, 13 insertions, 2 deletions
diff --git a/include/lib/math.h b/include/lib/math.h index 1b27fe54..d3379e7f 100644 --- a/include/lib/math.h +++ b/include/lib/math.h @@ -3,8 +3,6 @@ #include "types.h" -extern "C" u32 FastDivide(u32 a, u32 b); - // 20.12 fixed point number typedef u32 p32; @@ -15,4 +13,17 @@ typedef struct { /* c */ } Vec3p; +typedef struct { + /* 00 */ p32 x; + /* 04 */ p32 y; + /* 08 */ p32 z; + /* 0c */ p32 w; + /* 10 */ +} Vec4p; + +extern "C" u32 FastDivide(u32 a, u32 b); +extern "C" bool Approach(unk32 *src, unk32 dest, unk32 step); +extern "C" bool Approach_thunk(unk32 *src, unk32 dest, unk32 step); +extern "C" bool func_01ffec34(Vec4p *param1, Vec4p *param2); + #endif |
