Skip to content
6 changes: 3 additions & 3 deletions configure.py
Original file line number Diff line number Diff line change
Expand Up @@ -417,7 +417,7 @@ def MatchingFor(*versions):
Object(NonMatching, "SB/Core/x/xCollide.cpp", extra_cflags=["-sym on"]),
Object(Matching, "SB/Core/x/xCollideFast.cpp"),
Object(Matching, "SB/Core/x/xColor.cpp"),
Object(Matching, "SB/Core/x/xCounter.cpp"),
Object(Matching, "SB/Core/x/xCounter.cpp", extra_cflags=["-sym on"]),
Object(NonMatching, "SB/Core/x/xCutscene.cpp", extra_cflags=["-sym on"]),
Object(NonMatching, "SB/Core/x/xDebug.cpp", extra_cflags=["-sym on"]),
Object(Equivalent, "SB/Core/x/xEnt.cpp", extra_cflags=["-sym on"]),
Expand All @@ -435,7 +435,7 @@ def MatchingFor(*versions):
Object(NonMatching, "SB/Core/x/xHudFontMeter.cpp"),
Object(NonMatching, "SB/Core/x/xHudMeter.cpp"),
Object(Equivalent, "SB/Core/x/xHudModel.cpp", extra_cflags=["-sym on"]),
Object(NonMatching, "SB/Core/x/xHudUnitMeter.cpp"),
Object(NonMatching, "SB/Core/x/xHudUnitMeter.cpp", extra_cflags=["-sym on "]),
Object(Matching, "SB/Core/x/xIni.cpp"),
Object(NonMatching, "SB/Core/x/xMath.cpp"),
Object(Matching, "SB/Core/x/xMath2.cpp"),
Expand Down Expand Up @@ -498,7 +498,7 @@ def MatchingFor(*versions):
Object(NonMatching, "SB/Game/zLasso.cpp"),
Object(NonMatching, "SB/Game/zLight.cpp"),
Object(Matching, "SB/Game/zLightEffect.cpp"),
Object(NonMatching, "SB/Game/zLightning.cpp"),
Object(NonMatching, "SB/Game/zLightning.cpp", extra_cflags=["-sym on"]),
Object(NonMatching, "SB/Game/zLOD.cpp"),
Object(NonMatching, "SB/Game/zMain.cpp"),
Object(Equivalent, "SB/Game/zMenu.cpp"),
Expand Down
2 changes: 1 addition & 1 deletion src/SB/Core/x/xClimate.h
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@

#include <types.h>
#include "xVec3.h"
#include "zParEmitter.h"

struct xEnvAsset;
struct zParEmitter;

extern const float snow_life;

Expand Down
6 changes: 0 additions & 6 deletions src/SB/Core/x/xCounter.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -152,9 +152,3 @@ int xCounterEventCB(xBase*, xBase* to, U32 toEvent, const F32*, xBase*)

return 1;
}

// TODO: move to xDebug.cpp
inline void xDebugRemoveTweak(const char*)
{
return;
}
31 changes: 29 additions & 2 deletions src/SB/Core/x/xDebug.h
Original file line number Diff line number Diff line change
Expand Up @@ -95,9 +95,36 @@ void xDebugUpdate();
void xDebugExit();
void xDebugTimestampScreen();

void xDebugAddTweak(const char*, F32*, F32, F32, const tweak_callback*, void*, U32);
void xDebugRemoveTweak(const char*);
inline void xDebugRemoveTweak(const char*)
{
}

void xDebugUpdate();

inline void xDebugAddTweak(const char*, F32*, F32, F32, const tweak_callback*, void*, U32)
{
}

inline void xDebugAddTweak(const char*, S16*, S16, S16, const tweak_callback*, void*, U32)
{
}

inline void xDebugAddTweak(const char*, U8*, U8, U8, const tweak_callback*, void*, U32)
{
}

inline void xDebugAddTweak(const char*, const char*, const tweak_callback*, void*, U32)
{
}


inline void xDebugAddFlagTweak(const char*, U32*, U32, const tweak_callback*, void*, U32)
{
}

inline void xDebugAddSelectTweak(const char*, U32*, const char**, const U32*, U32, const tweak_callback*,
void*, U32)
{
}

#endif
3 changes: 2 additions & 1 deletion src/SB/Core/x/xFX.h
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,8 @@ void xFXStreakInit();
void xFXStreakUpdate(F32 dt);
void xFXStreakUpdate(U32 streakID, const xVec3*, const xVec3*);
void xFXStreakRender();
U32 xFXStreakStart(F32 frequency, F32 alphaFadeRate, F32 alphaStart, U32 textureID, const iColor_tag* edge_a, const iColor_tag* edge_b, S32 taper);
U32 xFXStreakStart(F32 frequency, F32 alphaFadeRate, F32 alphaStart, U32 textureID,
const iColor_tag* edge_a, const iColor_tag* edge_b, S32 taper);
void xFXStreakStop(U32);
void xFXShineInit();
void xFXShineUpdate(F32 dt);
Expand Down
5 changes: 0 additions & 5 deletions src/SB/Game/zFX.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -356,11 +356,6 @@ void zFXGooUpdate(F32 dt)
}
}

void xDebugAddTweak(const char* unk1, const char* unk2, const tweak_callback* unk3, void* unk4,
U32 unk5)
{
}

xVec3& xVec3::up_normalize()
{
return safe_normalize(xVec3::m_UnitAxisY);
Expand Down
3 changes: 0 additions & 3 deletions src/SB/Game/zFX.h
Original file line number Diff line number Diff line change
Expand Up @@ -84,9 +84,6 @@ void update_poppers(F32 dt);

void update_entrails(F32 dt);

void xDebugAddTweak(const char* unk1, const char* unk2, const tweak_callback* unk3, void* unk4,
U32 unk5);

xFXRing* zFXMuscleArmWave(const xVec3* pos);

void zFX_SpawnBubbleTrail(const xVec3*, unsigned int);
Expand Down
Loading