mirror of
https://github.com/zeldaret/oot
synced 2026-05-25 15:25:21 -04:00
Fix misc 7 (#1149)
* Fixup `Math3D_LineClosestToPoint` * `gDodongosCavernBossLavaFloorTex` is 32x64 * Name empty-dlist-making functions `_EmptyDList` * Fix typos * transitionRate -> morphFrames * Compare `xyzDistToPlayerSq` to squared values * Fix hookshot target/post collision header names being swapped * Fix description of `z_bg_mizu_movebg.c` * Add scene command comment to `func_80098508` to match other scene command handlers * Some fixup in `Camera_Demo5` * `1` -> `ALLOCTYPE_ABSOLUTE` in comment on `ActorContext.absoluteSpace`
This commit is contained in:
+1
-1
@@ -1684,7 +1684,7 @@ f32 Math_CosF(f32 angle);
|
||||
s32 Math3D_PlaneVsLineSegClosestPoint(f32 planeAA, f32 planeAB, f32 planeAC, f32 planeADist, f32 planeBA, f32 planeBB,
|
||||
f32 planeBC, f32 planeBDist, Vec3f* linePointA, Vec3f* linePointB,
|
||||
Vec3f* closestPoint);
|
||||
void Math3D_LineClosestToPoint(Linef* line, Vec3f* pos, Vec3f* closestPoint);
|
||||
void Math3D_LineClosestToPoint(InfiniteLine* line, Vec3f* pos, Vec3f* closestPoint);
|
||||
s32 Math3D_PlaneVsPlaneVsLineClosestPoint(f32 planeAA, f32 planeAB, f32 planeAC, f32 planeADist, f32 planeBA,
|
||||
f32 planeBB, f32 planeBC, f32 planeBDist, Vec3f* point, Vec3f* closestPoint);
|
||||
void Math3D_LineSplitRatio(Vec3f* v0, Vec3f* v1, f32 ratio, Vec3f* ret);
|
||||
|
||||
+1
-1
@@ -263,7 +263,7 @@ typedef struct {
|
||||
} flags;
|
||||
/* 0x0128 */ TitleCardContext titleCtx;
|
||||
/* 0x0138 */ char unk_138[0x04];
|
||||
/* 0x013C */ void* absoluteSpace; // Space used to allocate actor overlays of alloc type 1
|
||||
/* 0x013C */ void* absoluteSpace; // Space used to allocate actor overlays with alloc type ALLOCTYPE_ABSOLUTE
|
||||
} ActorContext; // size = 0x140
|
||||
|
||||
typedef struct {
|
||||
|
||||
+2
-2
@@ -789,7 +789,7 @@ typedef struct {
|
||||
{ flags, CAM_DATA_FLAGS }
|
||||
|
||||
typedef struct {
|
||||
/* 0x00 */ Linef unk_00;
|
||||
/* 0x00 */ InfiniteLine unk_00;
|
||||
/* 0x18 */ f32 unk_18;
|
||||
/* 0x1C */ f32 unk_1C;
|
||||
/* 0x20 */ f32 unk_20;
|
||||
@@ -913,7 +913,7 @@ typedef struct {
|
||||
typedef struct {
|
||||
/* 0x00 */ Vec3f initalPos;
|
||||
/* 0x0C */ s16 animTimer;
|
||||
/* 0x10 */ Linef sceneCamPosPlayerLine;
|
||||
/* 0x10 */ InfiniteLine sceneCamPosPlayerLine;
|
||||
} Unique0Anim; // size = 0x28
|
||||
|
||||
typedef struct {
|
||||
|
||||
Reference in New Issue
Block a user