SSBM Decomp
|
#include <platform.h>
#include "ftCommon/forward.h"
#include <dolphin/gx/forward.h>
#include "ft/fighter.h"
#include "ft_07C1.h"
#include "ft_07C6.h"
#include "ft_0819.h"
#include "ft_081B.h"
#include "ft_0852.h"
#include "ft_0877.h"
#include "ftaction.h"
#include "ftanim.h"
#include "ftcamera.h"
#include "ftcoll.h"
#include "ftcommon.h"
#include "ftdrawcommon.h"
#include "ftdynamics.h"
#include "ftlib.h"
#include "ftparts.h"
#include "cm/camera.h"
#include "db/db_2253.h"
#include "ef/efasync.h"
#include "ft/ft_0881.h"
#include "ft/ft_0892.h"
#include "ft/ft_0C31.h"
#include "ft/ft_0C88.h"
#include "ft/ft_0D14.h"
#include "ft/ftafterimage.h"
#include "ft/ftchangeparam.h"
#include "ft/ftcolanim.h"
#include "ft/ftdata.h"
#include "ft/ftdevice.h"
#include "ft/ftmaterial.h"
#include "ft/ftmetal.h"
#include "ft/types.h"
#include "ftCommon/ftCo_09F4.h"
#include "ftCommon/ftCo_0A01.h"
#include "ftCommon/ftCo_0C35.h"
#include "ftCommon/ftCo_Bury.h"
#include "ftCommon/ftCo_Damage.h"
#include "ftCommon/ftCo_DamageFall.h"
#include "ftCommon/ftCo_FallSpecial.h"
#include "ftCommon/ftCo_HammerWait.h"
#include "ftCommon/ftCo_ItemThrow.h"
#include "ftCommon/ftCo_Rebound.h"
#include "ftCommon/ftCo_ShieldBreakFly.h"
#include "ftCommon/ftCo_SpecialS.h"
#include "ftCrazyHand/ftCh_Init.h"
#include "ftKirby/ftKb_Init.h"
#include "ftMasterHand/ftMh_Wait1_0.h"
#include "ftPeach/types.h"
#include "gm/gm_1601.h"
#include "gm/gm_1A36.h"
#include "gr/stage.h"
#include "gr/types.h"
#include "if/ifmagnify.h"
#include "it/it_26B1.h"
#include "it/it_2725.h"
#include "it/item.h"
#include "lb/lb_00B0.h"
#include "lb/lb_00CE.h"
#include "lb/lbarchive.h"
#include "lb/lbmthp.h"
#include "lb/lbshadow.h"
#include "lb/types.h"
#include "mp/mpcoll.h"
#include "mp/mplib.h"
#include "pl/pl_0371.h"
#include "pl/player.h"
#include "un/un_2FC9.h"
#include <common_structs.h>
#include <dolphin/gx/types.h>
#include <dolphin/mtx.h>
#include <dolphin/mtx/vec.h>
#include <dolphin/os/OSError.h>
#include <baselib/controller.h>
#include <baselib/debug.h>
#include <baselib/gobj.h>
#include <baselib/gobjgxlink.h>
#include <baselib/gobjobject.h>
#include <baselib/gobjproc.h>
#include <baselib/gobjuserdata.h>
#include <baselib/jobj.h>
#include <baselib/lobj.h>
#include <baselib/mtx.h>
#include <baselib/random.h>
#include <MSL/math.h>
#include <MSL/math_ppc.h>
#include <MSL/trigf.h>
Macros | |
#define | g_spawnNumCounter Fighter_804D64F8 |
#define | SET_STICKS(stickXPtr, stickYPtr, x, y) |
#define | VEC_CLEAR(vec) |
Functions | |
void | Fighter_800679B0 (void) |
void | Fighter_FirstInitialize_80067A84 (void) |
void | Fighter_LoadCommonData (void) |
void | Fighter_UpdateModelScale (Fighter_GObj *gobj) |
void | Fighter_UnkInitReset_80067C98 (Fighter *fp) |
void | Fighter_UnkProcessDeath_80068354 (Fighter_GObj *gobj) |
void | Fighter_UnkUpdateCostumeJoint_800686E4 (Fighter_GObj *gobj) |
void | Fighter_UnkUpdateVecFromBones_8006876C (Fighter *fp) |
void | Fighter_ResetInputData_80068854 (Fighter_GObj *gobj) |
static void | Fighter_UnkInitLoad_80068914_Inner1 (Fighter_GObj *gobj) |
void | Fighter_UnkInitLoad_80068914 (Fighter_GObj *gobj, struct S_TEMP1 *argdata) |
u32 | Fighter_NewSpawn_80068E40 (void) |
void | Fighter_80068E64 (Fighter_GObj *gobj) |
static void | Fighter_Create_Inline2 (Fighter_GObj *gobj) |
Fighter_GObj * | Fighter_Create (struct S_TEMP1 *input) |
void | Fighter_ChangeMotionState (Fighter_GObj *gobj, FtMotionId msid, MotionFlags flags, float anim_start, float anim_speed, float anim_blend, Fighter_GObj *arg3) |
void | Fighter_8006A1BC (Fighter_GObj *gobj) |
void | Fighter_8006A360 (Fighter_GObj *gobj) |
void | Fighter_8006ABA0 (Fighter_GObj *gobj) |
void | Fighter_UnkIncrementCounters_8006ABEC (Fighter_GObj *gobj) |
static void | Fighter_Spaghetti_8006AD10_Inner1 (Fighter *fp) |
void | Fighter_Spaghetti_8006AD10 (Fighter_GObj *gobj) |
void | Fighter_procUpdate (Fighter_GObj *gobj) |
void | Fighter_UnkApplyTransformation_8006C0F0 (Fighter_GObj *gobj) |
static float | Fighter_GetPosX (Fighter *fp) |
static float | Fighter_GetPosY (Fighter *fp) |
void | Fighter_8006C27C (Fighter_GObj *gobj) |
void | Fighter_8006C5F4 (Fighter_GObj *gobj) |
void | Fighter_CallAcessoryCallbacks_8006C624 (Fighter_GObj *gobj) |
void | Fighter_8006C80C (Fighter_GObj *gobj) |
void | Fighter_UnkProcessGrab_8006CA5C (Fighter_GObj *gobj) |
void | Fighter_8006CB94 (Fighter_GObj *gobj) |
void | Fighter_UnkTakeDamage_8006CC30 (Fighter *fp, float arg0) |
void | Fighter_TakeDamage_8006CC7C (Fighter *fp, float damage_amount) |
void | Fighter_8006CDA4 (Fighter *fp, s32 arg1, s32 arg2) |
https://decomp.me/scratch/9QvFG | |
void | Fighter_8006CF5C (Fighter *fp, s32 arg1) |
void | Fighter_UnkSetFlag_8006CFBC (Fighter_GObj *gobj) |
void | Fighter_8006CFE0 (Fighter_GObj *gobj) |
void | setBit (Fighter_GObj *gobj) |
void | Fighter_UnkRecursiveFunc_8006D044 (Fighter_GObj *gobj) |
static void | Fighter_8006D10C_Inline2 (Fighter *fp) |
static void | Fighter_8006D10C_Inline1 (Fighter_GObj *gobj) |
void | Fighter_8006D10C (Fighter_GObj *gobj) |
void | Fighter_UnkProcessShieldHit_8006D1EC (Fighter_GObj *gobj) |
void | Fighter_8006D9AC (Fighter_GObj *gobj) |
void | Fighter_UnkCallCameraCallback_8006D9EC (Fighter_GObj *gobj) |
void | Fighter_8006DA4C (Fighter_GObj *gobj) |
void | Fighter_Unload_8006DABC (void *user_data) |
#define g_spawnNumCounter Fighter_804D64F8 |
#define SET_STICKS | ( | stickXPtr, | |
stickYPtr, | |||
x, | |||
y | |||
) |
#define VEC_CLEAR | ( | vec | ) |
void Fighter_800679B0 | ( | void | ) |
void Fighter_FirstInitialize_80067A84 | ( | void | ) |
void Fighter_LoadCommonData | ( | void | ) |
void Fighter_UpdateModelScale | ( | Fighter_GObj * | gobj | ) |
void Fighter_UnkInitReset_80067C98 | ( | Fighter * | fp | ) |
void Fighter_UnkProcessDeath_80068354 | ( | Fighter_GObj * | gobj | ) |
void Fighter_UnkUpdateCostumeJoint_800686E4 | ( | Fighter_GObj * | gobj | ) |
void Fighter_UnkUpdateVecFromBones_8006876C | ( | Fighter * | fp | ) |
void Fighter_ResetInputData_80068854 | ( | Fighter_GObj * | gobj | ) |
|
static |
void Fighter_UnkInitLoad_80068914 | ( | Fighter_GObj * | gobj, |
struct S_TEMP1 * | argdata | ||
) |
u32 Fighter_NewSpawn_80068E40 | ( | void | ) |
void Fighter_80068E64 | ( | Fighter_GObj * | gobj | ) |
|
static |
Fighter_GObj * Fighter_Create | ( | struct S_TEMP1 * | input | ) |
void Fighter_ChangeMotionState | ( | Fighter_GObj * | gobj, |
FtMotionId | msid, | ||
MotionFlags | flags, | ||
float | anim_start, | ||
float | anim_speed, | ||
float | anim_blend, | ||
Fighter_GObj * | arg3 | ||
) |
void Fighter_8006A1BC | ( | Fighter_GObj * | gobj | ) |
void Fighter_8006A360 | ( | Fighter_GObj * | gobj | ) |
void Fighter_8006ABA0 | ( | Fighter_GObj * | gobj | ) |
void Fighter_UnkIncrementCounters_8006ABEC | ( | Fighter_GObj * | gobj | ) |
|
static |
void Fighter_Spaghetti_8006AD10 | ( | Fighter_GObj * | gobj | ) |
void Fighter_procUpdate | ( | Fighter_GObj * | gobj | ) |
void Fighter_UnkApplyTransformation_8006C0F0 | ( | Fighter_GObj * | gobj | ) |
|
inlinestatic |
|
inlinestatic |
void Fighter_8006C27C | ( | Fighter_GObj * | gobj | ) |
void Fighter_8006C5F4 | ( | Fighter_GObj * | gobj | ) |
void Fighter_CallAcessoryCallbacks_8006C624 | ( | Fighter_GObj * | gobj | ) |
void Fighter_8006C80C | ( | Fighter_GObj * | gobj | ) |
void Fighter_UnkProcessGrab_8006CA5C | ( | Fighter_GObj * | gobj | ) |
void Fighter_8006CB94 | ( | Fighter_GObj * | gobj | ) |
void Fighter_UnkTakeDamage_8006CC30 | ( | Fighter * | fp, |
float | arg0 | ||
) |
void Fighter_TakeDamage_8006CC7C | ( | Fighter * | fp, |
float | damage_amount | ||
) |
void Fighter_UnkSetFlag_8006CFBC | ( | Fighter_GObj * | gobj | ) |
void Fighter_8006CFE0 | ( | Fighter_GObj * | gobj | ) |
|
inline |
void Fighter_UnkRecursiveFunc_8006D044 | ( | Fighter_GObj * | gobj | ) |
|
static |
|
static |
void Fighter_8006D10C | ( | Fighter_GObj * | gobj | ) |
void Fighter_UnkProcessShieldHit_8006D1EC | ( | Fighter_GObj * | gobj | ) |
this function is called when shield is broken
void Fighter_8006D9AC | ( | Fighter_GObj * | gobj | ) |
void Fighter_UnkCallCameraCallback_8006D9EC | ( | Fighter_GObj * | gobj | ) |
void Fighter_8006DA4C | ( | Fighter_GObj * | gobj | ) |
void Fighter_Unload_8006DABC | ( | void * | user_data | ) |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
const Vec3 Fighter_803B7488 = { 0.0f, 0.0f, 0.0f } |
const Vec3 vec3_803B7494 = { 0.0f, 0.0f, 0.0f } |
HSD_ObjAllocData fighter_alloc_data |
HSD_ObjAllocData Fighter_80458FFC |
HSD_ObjAllocData fighter_bones_alloc_data |
HSD_ObjAllocData Fighter_80459054 |
HSD_ObjAllocData Fighter_80459080 |
HSD_ObjAllocData Fighter_804590AC |
u32 Fighter_804D64F8 = 0 |
int* Fighter_804D650C = NULL |
float* Fighter_804D6524 = NULL |
struct Fighter_804D653C_t* Fighter_804D6538 = NULL |
struct Fighter_804D653C_t* Fighter_804D653C = NULL |
int** Fighter_804D6540 = NULL |
FighterPartsTable** ftPartsTable = NULL |
int** Fighter_804D6550 = NULL |
ftCommonData* p_ftCommonData |