Skip to content

Commit

Permalink
'const char' Chicanery
Browse files Browse the repository at this point in the history
  • Loading branch information
TotallyNotMichael-GH committed Jul 10, 2024
1 parent 7ecadcf commit c85426c
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 34 deletions.
2 changes: 1 addition & 1 deletion src/SB/Game/zAssetTypes.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,6 @@ void* JSP_Read(void* param_1, U32 param_2, void* indata, U32 insize, U32* outsiz
return retjsp;
}

void Anim_Unload(void*, unsigned int)
void Anim_Unload(void*, U32)
{
}
2 changes: 1 addition & 1 deletion src/SB/Game/zEntDestructObj.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@

#include <types.h>

void zEntDestructObj_Move(zEntDestructObj*, xScene*, float, xEntFrame*)
void zEntDestructObj_Move(zEntDestructObj*, xScene*, F32, xEntFrame*)
{
}
2 changes: 1 addition & 1 deletion src/SB/Game/zFX.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ extern F32 lbl_803CD968; // 0.15f
extern F32 lbl_803CD96C; // 12.0f
extern F32 lbl_803CD970; // 2.0f

void xDrawSphere2(const xVec3*, float, unsigned int)
void xDrawSphere2(const xVec3*, F32, U32)
{
}

Expand Down
36 changes: 5 additions & 31 deletions src/SB/Game/zLightning.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -80,45 +80,19 @@ void zLightningKill(zLightning* l)
l->flags &= 0xfffffefe;
}

void xDebugAddTweak(char* name, U8* property, U8 param_3, U8 param_4, tweak_callback* callback,
void* param_6, U32 param_7)
void xDebugAddTweak(const char*, S16*, S16, S16, const tweak_callback*, void*, U32)
{
// Redacted. :}
}

void xDebugAddFlagTweak(char* name, U32* property, U32 param_3, tweak_callback* callback,
void* param_5, U32 param_6)
void xDebugAddTweak(const char*, U8*, U8, U8, const tweak_callback*, void*, U32)
{
// Redacted. :}
}

void xDebugAddSelectTweak(char* name, U32* param_2, char** param_3, U32* param_4, U32 param_5,
tweak_callback* callback, void* param_7, U32 param_8)
void xDebugAddFlagTweak(const char*, U32*, U32, const tweak_callback*, void*, U32)
{
// Redacted. :}
}

void xDebugAddTweak(char* name, S16* property, S16 param_3, S16 param_4, tweak_callback* callback,
void* param_6, U32 param_7)
{
// Redacted. :}
}

void xDebugAddTweak(const char*, short*, short, short, const tweak_callback*, void*, unsigned int)
{
}

void xDebugAddSelectTweak(const char*, unsigned int*, const char**, const unsigned int*,
unsigned int, const tweak_callback*, void*, unsigned int)
{
}

void xDebugAddFlagTweak(const char*, unsigned int*, unsigned int, const tweak_callback*, void*,
unsigned int)
{
}

void xDebugAddTweak(const char*, unsigned char*, unsigned char, unsigned char,
const tweak_callback*, void*, unsigned int)
void xDebugAddSelectTweak(const char*, U32*, const char**, const U32*, U32, const tweak_callback*,
void*, U32)
{
}

0 comments on commit c85426c

Please sign in to comment.