diff options
| author | SammygoodTunes <sygamerz@gmail.com> | 2025-01-19 00:02:20 +0100 |
|---|---|---|
| committer | SammygoodTunes <sygamerz@gmail.com> | 2025-01-19 00:02:20 +0100 |
| commit | 2450e474eae8aaf4d814b49a380c0cb8c8d2fdf1 (patch) | |
| tree | 40ec39a66d378c476236347a34d3c51376fc028c /include | |
| parent | 11fcd1e4ea30212728c5646bec060c57fb0e0678 (diff) | |
Uncomment MapManager::func_ov00_0208210c
Uncomment most of MapManager::func_ov00_02082b3c
Improve MapManager::func_ov00_02083840
Improve MapManager::func_ov00_02083fb0
Uncomment most of MapManager::func_ov00_02086a84
Add Vec3p_Scale
Diffstat (limited to 'include')
| -rw-r--r-- | include/Map/MapManager.hpp | 4 | ||||
| -rw-r--r-- | include/lib/math.h | 4 |
2 files changed, 5 insertions, 3 deletions
diff --git a/include/Map/MapManager.hpp b/include/Map/MapManager.hpp index b1e42cd0..f67ac7bc 100644 --- a/include/Map/MapManager.hpp +++ b/include/Map/MapManager.hpp @@ -42,9 +42,9 @@ public: void GetCourseDungeonProgress(CourseProgress *param_2); void func_ov00_020820fc(s32 param_2, unk32 param_3, unk32 param_4); - unk8 func_ov00_0208210c(unk32 param_2, unk32 param_3); + unk8 func_ov00_0208210c(unk32 param_2, unk32 *param_3); void func_ov00_0208230c(s32 *param_2); - void func_ov00_02082348(unk32 param_2); + void func_ov00_02082348(unk32 *param_2); void func_ov00_020823a4(unk32 param_2); void func_ov00_020823b4(); bool func_ov00_020823c4(unk32 *param_2, s32 param_3); diff --git a/include/lib/math.h b/include/lib/math.h index f7204acc..b5a64150 100644 --- a/include/lib/math.h +++ b/include/lib/math.h @@ -48,9 +48,11 @@ extern "C" void Vec3p_Sub(Vec3p *a, Vec3p *b, Vec3p *out); extern "C" q20 Vec3p_Dot(Vec3p *a, Vec3p *b); extern "C" void Vec3p_Cross(Vec3p *a, Vec3p *b, Vec3p *out); extern "C" q20 Vec3p_Length(Vec3p *a); -extern "C" void Vec3p_Normalize(Vec3p *vec, Vec3p *out); +// extern "C" bool Vec3p_Normalize(Vec3p *vec); // 0x1fffb4c (this calls Vec3p_Normalize at 0x1ff9d4c) +extern "C" void Vec3p_Normalize(Vec3p *vec, Vec3p *out); // 0x1ff9d4c extern "C" void Vec3p_Axpy(q20 a, Vec3p *x, Vec3p *y, Vec3p *out); extern "C" q20 Vec3p_Distance(Vec3p *a, Vec3p *b); +extern "C" void Vec3p_Scale(Vec3p *vec, q20 scale); inline void Vec3p_Rotate(Vec3p *vec, q20 sin, q20 cos, Vec3p *out) { out->x += MUL_Q20(vec->z, sin); |
