@@ -795,7 +795,7 @@ void CollisionCheck_SpawnRedBlood(PlayState* play, Vec3f* v);
795795void CollisionCheck_SpawnWaterDroplets (PlayState * play , Vec3f * v );
796796void CollisionCheck_SpawnShieldParticles (PlayState * play , Vec3f * v );
797797void CollisionCheck_SpawnShieldParticlesMetal (PlayState * play , Vec3f * v );
798- void CollisionCheck_SpawnShieldParticlesMetalSound (PlayState * play , Vec3f * v , Vec3f * actorPos );
798+ void CollisionCheck_SpawnShieldParticlesMetalSound (PlayState * play , Vec3f * v , Vec3f * pos );
799799void CollisionCheck_SpawnShieldParticlesMetal2 (PlayState * play , Vec3f * v );
800800void CollisionCheck_SpawnShieldParticlesWood (PlayState * play , Vec3f * v , Vec3f * actorPos );
801801s32 CollisionCheck_CylSideVsLineSeg (f32 radius , f32 height , f32 offset , Vec3f * actorPos , Vec3f * itemPos ,
@@ -842,7 +842,7 @@ void func_8006D0EC(PlayState* play, Player* player);
842842void func_8006D684 (PlayState * play , Player * player );
843843void func_8006DC68 (PlayState * play , Player * player );
844844void func_8006DD9C (Actor * actor , Vec3f * arg1 , s16 arg2 );
845- s32 Jpeg_Decode (void * data , void * zbuffer , void * workBuff , u32 workSize );
845+ s32 Jpeg_Decode (void * data , void * zbuffer , void * work , u32 workSize );
846846void KaleidoSetup_Update (PlayState * play );
847847void KaleidoSetup_Init (PlayState * play );
848848void KaleidoSetup_Destroy (PlayState * play );
@@ -853,7 +853,7 @@ void Font_LoadOrderedFont(Font* font);
853853s32 Environment_ZBufValToFixedPoint (s32 zBufferVal );
854854u16 Environment_GetPixelDepth (s32 x , s32 y );
855855void Environment_GraphCallback (GraphicsContext * gfxCtx , void * param );
856- void Environment_Init (PlayState * play , EnvironmentContext * envCtx , s32 unused );
856+ void Environment_Init (PlayState * play2 , EnvironmentContext * envCtx , s32 unused );
857857u8 Environment_SmoothStepToU8 (u8 * pvalue , u8 target , u8 scale , u8 step , u8 minStep );
858858u8 Environment_SmoothStepToS8 (s8 * pvalue , s8 target , u8 scale , u8 step , u8 minStep );
859859f32 Environment_LerpWeight (u16 max , u16 min , u16 val );
@@ -986,8 +986,8 @@ VecSph* OLib_Vec3fToVecSph(VecSph* dest, Vec3f* vec);
986986VecSph * OLib_Vec3fToVecSphGeo (VecSph * dest , Vec3f * vec );
987987VecSph * OLib_Vec3fDiffToVecSphGeo (VecSph * dest , Vec3f * a , Vec3f * b );
988988Vec3f * OLib_Vec3fDiffRad (Vec3f * dest , Vec3f * a , Vec3f * b );
989- s16 OnePointCutscene_Init (PlayState * play , s16 csId , s16 timer , Actor * actor , s16 camId );
990- s16 OnePointCutscene_EndCutscene (PlayState * play , s16 camId );
989+ s16 OnePointCutscene_Init (PlayState * play , s16 csId , s16 timer , Actor * actor , s16 parentCamId );
990+ s16 OnePointCutscene_EndCutscene (PlayState * play , s16 subCamId );
991991s32 OnePointCutscene_Attention (PlayState * play , Actor * actor );
992992s32 OnePointCutscene_AttentionSetSfx (PlayState * play , Actor * actor , s32 sfxId );
993993void OnePointCutscene_EnableAttention (void );
@@ -1099,7 +1099,7 @@ s16 Quake_Callback4(QuakeRequest* req, ShakeInfo* shake);
10991099s16 Quake_Callback5 (QuakeRequest * req , ShakeInfo * shake );
11001100s16 Quake_Callback6 (QuakeRequest * req , ShakeInfo * shake );
11011101s16 Quake_GetFreeIndex (void );
1102- QuakeRequest * Quake_AddImpl (Camera * cam , u32 callbackIdx );
1102+ QuakeRequest * Quake_AddImpl (Camera * camera , u32 callbackIdx );
11031103void Quake_Remove (QuakeRequest * req );
11041104QuakeRequest * Quake_GetRequest (s16 idx );
11051105QuakeRequest * Quake_SetValue (s16 idx , s16 valueType , s16 value );
@@ -1109,7 +1109,7 @@ s16 Quake_GetCountdown(s16 idx);
11091109u32 Quake_SetQuakeValues (s16 idx , s16 y , s16 x , s16 zoom , s16 rotZ );
11101110u32 Quake_SetUnkValues (s16 idx , s16 arg1 , SubQuakeRequest14 arg2 );
11111111void Quake_Init (void );
1112- s16 Quake_Add (Camera * cam , u32 callbackIdx );
1112+ s16 Quake_Add (Camera * camera , u32 callbackIdx );
11131113u32 Quake_RemoveFromIdx (s16 idx );
11141114s16 Quake_Calc (Camera * camera , QuakeCamCalc * camData );
11151115Gfx * Gfx_SetFog (Gfx * gfx , s32 r , s32 g , s32 b , s32 a , s32 near , s32 far );
@@ -1289,7 +1289,7 @@ s32 Skin_ApplyAnimTransformations(Skin* skin, MtxF* limbMatrices, Actor* actor,
12891289void SkinMatrix_Vec3fMtxFMultXYZW (MtxF * mf , Vec3f * src , Vec3f * xyzDest , f32 * wDest );
12901290void SkinMatrix_Vec3fMtxFMultXYZ (MtxF * mf , Vec3f * src , Vec3f * dest );
12911291void SkinMatrix_MtxFMtxFMult (MtxF * mfA , MtxF * mfB , MtxF * dest );
1292- void SkinMatrix_GetClear (MtxF * * mf );
1292+ void SkinMatrix_GetClear (MtxF * * mfp );
12931293void SkinMatrix_MtxFCopy (MtxF * src , MtxF * dest );
12941294s32 SkinMatrix_Invert (MtxF * src , MtxF * dest );
12951295void SkinMatrix_SetScale (MtxF * mf , f32 x , f32 y , f32 z );
@@ -1305,10 +1305,10 @@ void Sram_InitNewSave(void);
13051305void Sram_InitDebugSave (void );
13061306void Sram_OpenSave (SramContext * sramCtx );
13071307void Sram_WriteSave (SramContext * sramCtx );
1308- void Sram_VerifyAndLoadAllSaves (FileChooseContext * fileChoose , SramContext * sramCtx );
1309- void Sram_InitSave (FileChooseContext * fileChoose , SramContext * sramCtx );
1310- void Sram_EraseSave (FileChooseContext * fileChoose , SramContext * sramCtx );
1311- void Sram_CopySave (FileChooseContext * fileChoose , SramContext * sramCtx );
1308+ void Sram_VerifyAndLoadAllSaves (FileChooseContext * fileChooseCtx , SramContext * sramCtx );
1309+ void Sram_InitSave (FileChooseContext * fileChooseCtx , SramContext * sramCtx );
1310+ void Sram_EraseSave (FileChooseContext * fileChooseCtx , SramContext * sramCtx );
1311+ void Sram_CopySave (FileChooseContext * fileChooseCtx , SramContext * sramCtx );
13121312void Sram_WriteSramHeader (SramContext * sramCtx );
13131313void Sram_InitSram (GameState * gameState , SramContext * sramCtx );
13141314void Sram_Alloc (GameState * gameState , SramContext * sramCtx );
@@ -1329,8 +1329,8 @@ void func_800AA178(u32);
13291329View * View_New (GraphicsContext * gfxCtx );
13301330void View_Free (View * view );
13311331void View_Init (View * , GraphicsContext * );
1332- void View_LookAt (View * view , Vec3f * eye , Vec3f * lookAt , Vec3f * up );
1333- void View_LookAtUnsafe (View * view , Vec3f * eye , Vec3f * lookAt , Vec3f * up );
1332+ void View_LookAt (View * view , Vec3f * eye , Vec3f * at , Vec3f * up );
1333+ void View_LookAtUnsafe (View * view , Vec3f * eye , Vec3f * at , Vec3f * up );
13341334void View_SetScale (View * view , f32 scale );
13351335void View_GetScale (View * view , f32 * scale );
13361336void View_SetPerspective (View * view , f32 fovy , f32 zNear , f32 zFar );
@@ -1350,9 +1350,9 @@ void View_Apply(View* view, s32 mask);
13501350s32 View_ApplyOrthoToOverlay (View * view );
13511351s32 View_ApplyPerspectiveToOverlay (View * view );
13521352s32 View_UpdateViewingMatrix (View * view );
1353- s32 View_ApplyTo (View * view , s32 mask , Gfx * * p );
1353+ s32 View_ApplyTo (View * view , s32 mask , Gfx * * gfxp );
13541354s32 View_ErrorCheckEyePosition (f32 eyeX , f32 eyeY , f32 eyeZ );
1355- void ViMode_LogPrint (OSViMode * viMode );
1355+ void ViMode_LogPrint (OSViMode * osViMode );
13561356void ViMode_Configure (ViMode * viMode , s32 mode , s32 type , s32 unk_70 , s32 unk_74 , s32 unk_78 , s32 unk_7C , s32 width ,
13571357 s32 height , s32 unk_left , s32 unk_right , s32 unk_top , s32 unk_bottom );
13581358void ViMode_Save (ViMode * viMode );
@@ -1382,22 +1382,22 @@ TransitionUnk* TransitionUnk_Init(TransitionUnk* this, s32 row, s32 col);
13821382void TransitionUnk_SetData (TransitionUnk * this );
13831383void TransitionUnk_Draw (TransitionUnk * this , Gfx * * );
13841384void func_800B23E8 (TransitionUnk * this );
1385- void TransitionTriforce_Start (void * this );
1386- void * TransitionTriforce_Init (void * this );
1387- void TransitionTriforce_Destroy (void * this );
1388- void TransitionTriforce_Update (void * this , s32 updateRate );
1389- void TransitionTriforce_SetColor (void * this , u32 color );
1390- void TransitionTriforce_SetType (void * this , s32 type );
1391- void TransitionTriforce_Draw (void * this , Gfx * * gfxP );
1392- s32 TransitionTriforce_IsDone (void * this );
1393- void TransitionWipe_Start (void * this );
1394- void * TransitionWipe_Init (void * this );
1395- void TransitionWipe_Destroy (void * this );
1396- void TransitionWipe_Update (void * this , s32 updateRate );
1397- void TransitionWipe_Draw (void * this , Gfx * * gfxP );
1398- s32 TransitionWipe_IsDone (void * this );
1399- void TransitionWipe_SetType (void * this , s32 type );
1400- void TransitionWipe_SetColor (void * this , u32 color );
1385+ void TransitionTriforce_Start (void * thisx );
1386+ void * TransitionTriforce_Init (void * thisx );
1387+ void TransitionTriforce_Destroy (void * thisx );
1388+ void TransitionTriforce_Update (void * thisx , s32 updateRate );
1389+ void TransitionTriforce_SetColor (void * thisx , u32 color );
1390+ void TransitionTriforce_SetType (void * thisx , s32 type );
1391+ void TransitionTriforce_Draw (void * thisx , Gfx * * gfxP );
1392+ s32 TransitionTriforce_IsDone (void * thisx );
1393+ void TransitionWipe_Start (void * thisx );
1394+ void * TransitionWipe_Init (void * thisx );
1395+ void TransitionWipe_Destroy (void * thisx );
1396+ void TransitionWipe_Update (void * thisx , s32 updateRate );
1397+ void TransitionWipe_Draw (void * thisx , Gfx * * gfxP );
1398+ s32 TransitionWipe_IsDone (void * thisx );
1399+ void TransitionWipe_SetType (void * thisx , s32 type );
1400+ void TransitionWipe_SetColor (void * thisx , u32 color );
14011401void TransitionCircle_Start (void * thisx );
14021402void * TransitionCircle_Init (void * thisx );
14031403void TransitionCircle_Destroy (void * thisx );
@@ -1406,15 +1406,15 @@ void TransitionCircle_Draw(void* thisx, Gfx** gfxP);
14061406s32 TransitionCircle_IsDone (void * thisx );
14071407void TransitionCircle_SetType (void * thisx , s32 type );
14081408void TransitionCircle_SetColor (void * thisx , u32 color );
1409- void TransitionCircle_SetUnkColor (void * thisx , u32 color );
1410- void TransitionFade_Start (void * this );
1411- void * TransitionFade_Init (void * this );
1412- void TransitionFade_Destroy (void * this );
1413- void TransitionFade_Update (void * this , s32 updateRate );
1414- void TransitionFade_Draw (void * this , Gfx * * gfxP );
1415- s32 TransitionFade_IsDone (void * this );
1416- void TransitionFade_SetColor (void * this , u32 color );
1417- void TransitionFade_SetType (void * this , s32 type );
1409+ void TransitionCircle_SetUnkColor (void * thisx , u32 unkColor );
1410+ void TransitionFade_Start (void * thisx );
1411+ void * TransitionFade_Init (void * thisx );
1412+ void TransitionFade_Destroy (void * thisx );
1413+ void TransitionFade_Update (void * thisx , s32 updateRate );
1414+ void TransitionFade_Draw (void * thisx , Gfx * * gfxP );
1415+ s32 TransitionFade_IsDone (void * thisx );
1416+ void TransitionFade_SetColor (void * thisx , u32 color );
1417+ void TransitionFade_SetType (void * thisx , s32 type );
14181418void ShrinkWindow_SetVal (s32 value );
14191419u32 ShrinkWindow_GetVal (void );
14201420void ShrinkWindow_SetCurrentVal (s32 currentVal );
@@ -1612,21 +1612,21 @@ void ListAlloc_Free(ListAlloc* this, void* data);
16121612void ListAlloc_FreeAll (ListAlloc * this );
16131613void Main_LogSystemHeap (void );
16141614void Main (void * arg );
1615- OSMesgQueue * PadMgr_LockSerialMesgQueue (PadMgr * padmgr );
1616- void PadMgr_UnlockSerialMesgQueue (PadMgr * padmgr , OSMesgQueue * serialEventQueue );
1617- void PadMgr_LockPadData (PadMgr * padmgr );
1618- void PadMgr_UnlockPadData (PadMgr * padmgr );
1619- void PadMgr_RumbleControl (PadMgr * padmgr );
1620- void PadMgr_RumbleStop (PadMgr * padmgr );
1621- void PadMgr_RumbleReset (PadMgr * padmgr );
1622- void PadMgr_RumbleSet (PadMgr * padmgr , u8 * ctrlrRumbles );
1623- void PadMgr_ProcessInputs (PadMgr * padmgr );
1624- void PadMgr_HandleRetraceMsg (PadMgr * padmgr );
1625- void PadMgr_HandlePreNMI (PadMgr * padmgr );
1615+ OSMesgQueue * PadMgr_LockSerialMesgQueue (PadMgr * padMgr );
1616+ void PadMgr_UnlockSerialMesgQueue (PadMgr * padMgr , OSMesgQueue * serialEventQueue );
1617+ void PadMgr_LockPadData (PadMgr * padMgr );
1618+ void PadMgr_UnlockPadData (PadMgr * padMgr );
1619+ void PadMgr_RumbleControl (PadMgr * padMgr );
1620+ void PadMgr_RumbleStop (PadMgr * padMgr );
1621+ void PadMgr_RumbleReset (PadMgr * padMgr );
1622+ void PadMgr_RumbleSet (PadMgr * padMgr , u8 * ctrlrRumbles );
1623+ void PadMgr_ProcessInputs (PadMgr * padMgr );
1624+ void PadMgr_HandleRetraceMsg (PadMgr * padMgr );
1625+ void PadMgr_HandlePreNMI (PadMgr * padMgr );
16261626// This function must remain commented out, because it is called incorrectly in
16271627// fault.c (actual bug in game), and the compiler notices and won't compile it
16281628// void PadMgr_RequestPadData(PadMgr* padmgr, Input* inputs, s32 mode);
1629- void PadMgr_Init (PadMgr * padmgr , OSMesgQueue * serialEventQueue , IrqMgr * irqMgr , OSId id , OSPri priority , void * stack );
1629+ void PadMgr_Init (PadMgr * padMgr , OSMesgQueue * serialEventQueue , IrqMgr * irqMgr , OSId id , OSPri priority , void * stack );
16301630void SpeedMeter_InitImpl (SpeedMeter * this , u32 arg1 , u32 y );
16311631void SpeedMeter_Init (SpeedMeter * this );
16321632void SpeedMeter_Destroy (SpeedMeter * this );
@@ -1875,7 +1875,7 @@ Note* Audio_AllocNote(SequenceLayer* layer);
18751875void Audio_NoteInitAll (void );
18761876void Audio_SequenceChannelProcessSound (SequenceChannel * channel , s32 recalculateVolume , s32 applyBend );
18771877void Audio_SequencePlayerProcessSound (SequencePlayer * seqPlayer );
1878- f32 Audio_GetPortamentoFreqScale (Portamento * p );
1878+ f32 Audio_GetPortamentoFreqScale (Portamento * portamento );
18791879s16 Audio_GetVibratoPitchChange (VibratoState * vib );
18801880f32 Audio_GetVibratoFreqScale (VibratoState * vib );
18811881void Audio_NoteVibratoUpdate (Note * note );
@@ -2019,7 +2019,7 @@ void* Overlay_AllocateAndLoad(uintptr_t vRomStart, uintptr_t vRomEnd, void* vRam
20192019void MtxConv_F2L (Mtx * m1 , MtxF * m2 );
20202020void MtxConv_L2F (MtxF * m1 , Mtx * m2 );
20212021void Overlay_Relocate (void * allocatedVRamAddress , OverlayRelocationSection * overlayInfo , void * vRamStart );
2022- s32 Overlay_Load (uintptr_t vRomStart , uintptr_t vRomEnd , void * vRamStart , void * vRamEnd , void * allocatedVRamAddress );
2022+ s32 Overlay_Load (uintptr_t vRomStart , uintptr_t vRomEnd , void * vRamStart , void * vRamEnd , void * allocatedVRamAddr );
20232023// ? func_800FC800(?);
20242024// ? func_800FC83C(?);
20252025// ? func_800FCAB4(?);
@@ -2195,7 +2195,7 @@ void guPositionF(f32 mf[4][4], f32 rot, f32 pitch, f32 yaw, f32 scale, f32 x, f3
21952195void guPosition (Mtx * , f32 , f32 , f32 , f32 , f32 , f32 , f32 );
21962196OSYieldResult osSpTaskYielded (OSTask * task );
21972197void guRotateF (f32 m [4 ][4 ], f32 a , f32 x , f32 y , f32 z );
2198- void guRotate (Mtx * , f32 angle , f32 x , f32 y , f32 z );
2198+ void guRotate (Mtx * , f32 a , f32 x , f32 y , f32 z );
21992199s32 osAiSetFrequency (u32 frequency );
22002200OSThread * __osGetActiveQueue (void );
22012201void guNormalize (f32 * x , f32 * y , f32 * z );
@@ -2207,7 +2207,7 @@ void guOrthoF(f32[4][4], f32, f32, f32, f32, f32, f32, f32);
22072207void guOrtho (Mtx * , f32 , f32 , f32 , f32 , f32 , f32 , f32 );
22082208f32 cosf (f32 );
22092209s16 coss (u16 );
2210- void osViSetEvent (OSMesgQueue * mq , OSMesg m , u32 retraceCount );
2210+ void osViSetEvent (OSMesgQueue * mq , OSMesg msg , u32 retraceCount );
22112211s32 osPfsIsPlug (OSMesgQueue * mq , u8 * pattern );
22122212void __osPfsRequestData (u8 poll );
22132213void __osPfsGetInitData (u8 * pattern , OSContStatus * contData );
0 commit comments