diff --git a/src/MSL/math_ppc.h b/src/MSL/math_ppc.h index 934c036eec..88f992b2d3 100644 --- a/src/MSL/math_ppc.h +++ b/src/MSL/math_ppc.h @@ -8,6 +8,9 @@ #pragma cplusplus on #endif +double log2(double x); +double exp2(double x); + extern inline float sqrtf(float x) { static const double _half = .5; diff --git a/src/melee/ft/chara/ftCommon/ftCo_Damage.c b/src/melee/ft/chara/ftCommon/ftCo_Damage.c index fe15e1a9e8..39643b7d16 100644 --- a/src/melee/ft/chara/ftCommon/ftCo_Damage.c +++ b/src/melee/ft/chara/ftCommon/ftCo_Damage.c @@ -47,6 +47,7 @@ #include #include +#include #include #include #include diff --git a/src/melee/ft/chara/ftCommon/ftCo_DownBound.c b/src/melee/ft/chara/ftCommon/ftCo_DownBound.c index ae95e56127..b4a9013410 100644 --- a/src/melee/ft/chara/ftCommon/ftCo_DownBound.c +++ b/src/melee/ft/chara/ftCommon/ftCo_DownBound.c @@ -27,6 +27,7 @@ #include #include +#include #include #include diff --git a/src/melee/ft/chara/ftCommon/ftCo_FlyReflect.c b/src/melee/ft/chara/ftCommon/ftCo_FlyReflect.c index 6bdb69a4f3..adb36e8a26 100644 --- a/src/melee/ft/chara/ftCommon/ftCo_FlyReflect.c +++ b/src/melee/ft/chara/ftCommon/ftCo_FlyReflect.c @@ -22,6 +22,7 @@ #include #include +#include #pragma force_active on diff --git a/src/melee/ft/chara/ftCommon/ftCo_Guard.c b/src/melee/ft/chara/ftCommon/ftCo_Guard.c index 7d8496892d..14195ed242 100644 --- a/src/melee/ft/chara/ftCommon/ftCo_Guard.c +++ b/src/melee/ft/chara/ftCommon/ftCo_Guard.c @@ -43,6 +43,7 @@ #include #include +#include #include #include #include diff --git a/src/melee/ft/chara/ftCommon/ftCo_ThrownKirby.c b/src/melee/ft/chara/ftCommon/ftCo_ThrownKirby.c index 9ef2961432..f5e4637964 100644 --- a/src/melee/ft/chara/ftCommon/ftCo_ThrownKirby.c +++ b/src/melee/ft/chara/ftCommon/ftCo_ThrownKirby.c @@ -21,6 +21,7 @@ #include #include +#include #include #include #include diff --git a/src/melee/ft/chara/ftMario/ftMr_SpecialN.c b/src/melee/ft/chara/ftMario/ftMr_SpecialN.c index a02ecdb4ba..5e365e8cd4 100644 --- a/src/melee/ft/chara/ftMario/ftMr_SpecialN.c +++ b/src/melee/ft/chara/ftMario/ftMr_SpecialN.c @@ -13,6 +13,7 @@ #include "ft/types.h" #include "ftCommon/ftCo_Wait.h" #include "ftMario/types.h" +#include "it/items/it_27CF.h" #include "it/items/itmariofireball.h" #include "lb/lb_00B0.h" @@ -112,7 +113,7 @@ void ftMr_SpecialN_ItemFireSpawn(HSD_GObj* gobj) lb_8000B1CC(fp->parts[ftParts_8007500C(fp, FtPart_L1stNb)].joint, NULL, &coords); if (fp->kind == FTKIND_MARIO) { - it_8029B6F8(gobj, &coords, FtPart_RThumbNa, fp->facing_dir); + it_8029B6F8(gobj, &coords, It_Kind_Mario_Fire, fp->facing_dir); efSync_Spawn(1146, gobj, fp->parts[ftParts_8007500C(fp, FtPart_L1stNb)].joint, &fp->facing_dir);