|
SSBM Decomp
|
#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 "ft_0D31.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 <platform.h>#include "cm/camera.h"#include "db/db.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_0C8C.h"#include "ftCommon/ftCo_Attack100.h"#include "ft/ft_0DF0.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/forward.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_Jump.h"#include "ftCommon/ftCo_KinokoGiantEnd.h"#include "ftCommon/ftCo_KinokoGiantStart.h"#include "ftCommon/ftCo_KinokoSmallEnd.h"#include "ftCommon/ftCo_KinokoSmallStart.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_unsplit.h"#include "gr/stage.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/lbanim.h"#include "lb/lbarchive.h"#include "lb/lbshadow.h"#include "lb/types.h"#include "mp/mpcoll.h"#include "mp/mplib.h"#include "pl/pl_040D.h"#include "pl/player.h"#include "pl/plbonuslib.h"#include "pl/pltrick.h"#include "vi/vi1202.h"#include <common_structs.h>#include <dolphin/gx.h>#include <dolphin/mtx.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 plAllocInfo *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 plAllocInfo *input) |
| void | Fighter_ChangeMotionState (Fighter_GObj *gobj, FtMotionId msid, MotionFlags flags, f32 anim_start, f32 anim_speed, f32 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_ProcessHit_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 plAllocInfo * | argdata | ||
| ) |
| u32 Fighter_NewSpawn_80068E40 | ( | void | ) |
| void Fighter_80068E64 | ( | Fighter_GObj * | gobj | ) |
|
static |
| Fighter_GObj * Fighter_Create | ( | struct plAllocInfo * | input | ) |
| void Fighter_ChangeMotionState | ( | Fighter_GObj * | gobj, |
| FtMotionId | msid, | ||
| MotionFlags | flags, | ||
| f32 | anim_start, | ||
| f32 | anim_speed, | ||
| f32 | 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_8006CDA4 | ( | Fighter * | fp, |
| s32 | arg1, | ||
| s32 | arg2 | ||
| ) |
| void Fighter_8006CF5C | ( | Fighter * | fp, |
| s32 | arg1 | ||
| ) |
| 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_ProcessHit_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_dat_attrs_alloc_data |
| HSD_ObjAllocData fighter_parts_alloc_data |
| HSD_ObjAllocData fighter_dobj_list_alloc_data |
| HSD_ObjAllocData fighter_x2040_alloc_data |
| HSD_ObjAllocData fighter_x59C_alloc_data |
| u32 Fighter_804D64F8 = 0 |
| struct Fighter_804D64FC_t* Fighter_804D64FC = NULL |
| u8* Fighter_804D6508 = NULL |
| u8* Fighter_804D650C = NULL |
| struct Fighter_804D6518_t* Fighter_804D6518 = NULL |
| struct Fighter_804D651C_t* Fighter_804D651C = NULL |
| struct Fighter_804D6520_t* Fighter_804D6520 = NULL |
| struct Fighter_804D6524_t* Fighter_804D6524 = NULL |
| struct Fighter_804D6528_t* Fighter_804D6528 = NULL |
| Vec2** Fighter_804D6530 = NULL |
| struct Fighter_804D653C_t* Fighter_804D6538 = NULL |
| struct Fighter_804D653C_t* Fighter_804D653C = NULL |
| struct Fighter_804D6540_t** Fighter_804D6540 = NULL |
| FighterPartsTable** ftPartsTable = NULL |
| float* Fighter_804D6548 = NULL |
| float(* Fighter_804D654C)[5] = NULL |
| int** Fighter_804D6550 = NULL |
| ftCommonData* p_ftCommonData |