SSBM Decomp
Loading...
Searching...
No Matches
types.h File Reference

Go to the source code of this file.

Data Structures

struct  FighterPartsTable
 Table in PlCo.dat. More...
struct  FallCommon
struct  ftCommonData
struct  FtSFXArr
struct  FtSFX
struct  ftData_x44_t
struct  ftData_x8_x8
struct  FtPartsDesc
struct  ftData_x20
struct  ftData_x34
struct  ftData_x48_x4
 Jigglypuff's slot 1, with its costume part descriptor at +4. More...
union  ftData_Item
struct  ftData_x1C
struct  ftData_x30
struct  ThrowFlags
union  ThrowFlags::_ThrowFlags_x0
struct  ThrowFlags::_ThrowFlags_x0::_ThrowFlags_x0_x0
struct  ftCo_DatAttrs_xBC_t
struct  ftCo_DatAttrs
struct  Fighter_WaitAnimData
union  ftData_ExtAttr
 Fighter-specific attributes copied from ftData::ext_attr into Fighter::dat_attrs by LoadSpecialAttrs. More...
struct  WaitStruct
 A wait animation. More...
union  WaitStruct::WaitStruct_u
struct  WaitStruct::WaitStruct_u::WaitStruct_u_p
 Pointer view used by ftCo_8008A7A8. More...
struct  WaitStruct::WaitStruct_u::WaitStruct_u_i
struct  ftData
struct  ftData::ftData_x8
struct  FighterBone
union  FighterBone::FighterBone_x8
struct  FighterBone::FighterBone_x8::FighterBone_x8_x0
struct  FighterBone::FighterBone_x8::FighterBone_x8_x0_1
union  FighterBone::FighterBone_xC
struct  FighterBone::FighterBone_xC::FighterBone_xC_x0
struct  SmashAttr
struct  itPickup
struct  UnkCostumeStruct
struct  UnkCostumeList
struct  MotionState
union  MotionState::MotionState_x8
struct  MotionState::MotionState_x8::MotionState_x8_x0
struct  MotionState::MotionState_x8::MotionState_x8_x0::MotionState_x8_x0_x1
struct  Fighter_CostumeStrings
struct  Fighter_DemoStrings
union  Struct2070
struct  Struct2070::Struct2070_x0
struct  Struct207C
struct  Struct2074
union  Struct2074::Struct2074_x10
struct  Struct2074::Struct2074_x10::Struct2074_x10_x0
struct  ftDeviceUnk3
struct  ftDeviceUnk4
struct  ftDeviceUnk5
struct  Fighter_x1A88_xFC_t
struct  CpuFighter
struct  Fighter_x59C_t
struct  ft_800898B4_t
struct  Fighter_x1614_t
struct  Fighter_x8B0_t
struct  Fighter_x20B0_t
struct  Fighter_x2D0_t
struct  Fighter_x1670_t
struct  FtInputTimers
struct  ftSs_Fighter
union  ftSs_Fighter::Fighter_x594
struct  ftSs_Fighter::Fighter_x594::Fighter_x594_x0
struct  ftSs_Fighter::Fighter_x594::Fighter_x594_x0::Fighter_x594_x0_x596_bits
struct  ftSs_Fighter::Fighter_x594::Fighter_x594_x0_1
struct  ftSs_Fighter::Fighter_x5F4_arr
struct  ftSs_Fighter::Fighter_input
struct  ftSs_Fighter::dmg
struct  ftSs_Fighter::Fighter_ReflectAttr
struct  ftSs_Fighter::Fighter_AbsorbAttr
union  ftSs_Fighter::Fighter_x2210
struct  ftSs_Fighter::Fighter_x2210::Fighter_x2210_x0
struct  ftSs_Fighter::Fighter_x221B
union  ftSs_Fighter::Fighter_FighterVars
union  ftSs_Fighter::Fighter_MotionVars
struct  gmScriptEventDefault
struct  ftData_UnkCountStruct
struct  UnkFloat6_Camera
struct  ftData_UnkModelStruct
struct  ftData_80085FD4_ret
struct  ftDynamics
struct  ftDynamics::ftDynamics_x0
struct  KirbyHatStruct
struct  ftKbCopyHat
 Captain Falcon, Ganondorf. More...
struct  ftKbCopyHat_Item
 Mario, Samus, Luigi, Dr. Mario. More...
struct  ftKbCopyHat_Items
 Fox, Ness, Peach. More...
struct  ftKbCopyHat_ItemsDynamics
 Link, Sheik, Pikachu, Young Link, Pichu. More...
struct  ftKbCopyHat_ItemDynamics
 Bowser. More...
struct  ftKbCopyHat_Popo
 Ice Climbers. More...
struct  ftKbCopyHat_Dynamics
 Zelda. More...
struct  ftKbCopyHat_Sword
 Marth, Roy. More...
struct  ftKbCopyHat_Yoshi
 Yoshi. More...
struct  ftKbCopyParts
 Donkey Kong. More...
struct  ftKbCopyParts_Dynamics
 Jigglypuff. More...
struct  ftKbCopyParts_ItemDynamics
 Mewtwo. More...
struct  ftKbCopyParts_Items
 Falco. More...
struct  ftKbCopyParts_GameWatch
 Mr. Game & Watch. More...
struct  ft_80459B88_t
 Kirby's copy abilities, loaded from ftDataKirbyCopy* as he copies each fighter. More...
struct  IKState
struct  DmgLogEntry
union  DmgLogEntry::DmgLogEntry_xC
union  DmgLogEntry::DmgLogEntry_x10
struct  ftData_x58_t
struct  ftCo_803C6594_t

Macros

#define FTPART_INVALID   0xFF
#define DAT_MATCH_FTITEM
 An entry of #ftData::x48_items: mostly an Article, but some fighters keep joints or their own structs in certain slots.
#define DAT_MATCH_KBCOPY
 The item kind of each article of Kirby's copy abilities (by _index where there are two), as ftKb_SpecialN_800F16D0's callers pass them to it_8026B3F8.

Typedefs

typedef FtPartsVisLookup *FtPartsVisLookupList DAT_COUNT(FtPartsDesc::model_num)
 A visibility lookup for each model of FtPartsDesc.

Functions

 ASSERT_SIZE (struct FighterBone, 0x10)
 ASSERT_SIZE (struct ftDeviceUnk4, 0x8)
 ASSERT_SIZE (struct ftDeviceUnk5, 0xC)
 ASSERT_SIZE (struct Fighter_x1A88_xFC_t, 0x1C)
 ASSERT_SIZE (struct CpuFighter, 0x57C)
 ASSERT_SIZE (struct Fighter_x59C_t, 0x8000)
 ASSERT_SIZE (struct Fighter, 0x23EC)
 ASSERT_SIZE (struct ft_80459B88_t, 0x88)
 ASSERT_SIZE (struct DmgLogEntry, 0x28)

Variables

int x
int y

Macro Definition Documentation

◆ FTPART_INVALID

#define FTPART_INVALID   0xFF

◆ DAT_MATCH_FTITEM

#define DAT_MATCH_FTITEM

An entry of #ftData::x48_items: mostly an Article, but some fighters keep joints or their own structs in certain slots.

Those slots come first; #article is the catch-all for the rest. The item kind of each fighter's #ftData_Item::article, as its *_Init_OnLoad passes it to it_8026B3F8 (some from the fighter's attributes, whose values are written here).

◆ DAT_MATCH_KBCOPY

#define DAT_MATCH_KBCOPY
Value:
DAT_MATCH(Article::kind, (fighter_kind, _index), \
#define DAT_MATCH(name, values,...)
Bind name to the result of matching the tuple values against the remaining arguments: (pattern,...
Definition dat_macros.h:71
@ Ft_Kind_Popo
Definition forward.h:109
@ Ft_Kind_Samus
Definition forward.h:112
@ Ft_Kind_DrMario
Definition forward.h:120
@ Ft_Kind_Yoshi
Definition forward.h:113
@ Ft_Kind_GameWatch
Definition forward.h:123
@ Ft_Kind_Koopa
Definition forward.h:104
@ Ft_Kind_Pikachu
Definition forward.h:111
@ Ft_Kind_Link
Definition forward.h:105
@ Ft_Kind_Falco
Definition forward.h:121
@ Ft_Kind_Seak
Definition forward.h:106
@ Ft_Kind_Peach
Definition forward.h:108
@ Ft_Kind_Mario
Definition forward.h:99
@ Ft_Kind_Pichu
Definition forward.h:122
@ Ft_Kind_Luigi
Definition forward.h:116
@ Ft_Kind_CLink
Definition forward.h:119
@ Ft_Kind_Fox
Definition forward.h:100
@ Ft_Kind_Mewtwo
Definition forward.h:115
@ Ft_Kind_Ness
Definition forward.h:107
@ It_Kind_Kirby_LinkBow
Definition forward.h:290
@ It_Kind_Kirby_FoxLaser
Definition forward.h:284
@ It_Kind_Kirby_CLinkBow
Definition forward.h:291
@ It_Kind_Kirby_FoxBlaster
Definition forward.h:286
@ It_Kind_Kirby_DrMarioVitamin
Definition forward.h:279
@ It_Kind_Kirby_MewtwoShadowBall
Definition forward.h:292
@ It_Kind_Kirby_SeakNeedleThrow
Definition forward.h:300
@ It_Kind_Kirby_MarioFire
Definition forward.h:278
@ It_Kind_None
Definition forward.h:543
@ It_Kind_Kirby_PichuTJolt_Ground
Definition forward.h:297
@ It_Kind_Kirby_NessPKFlush
Definition forward.h:293
@ It_Kind_Kirby_SamusCharge
Definition forward.h:299
@ It_Kind_Kirby_PichuTJolt_Air
Definition forward.h:298
@ It_Kind_Kirby_FalcoBlaster
Definition forward.h:287
@ It_Kind_Kirby_IceClimberIce
Definition forward.h:281
@ It_Kind_Kirby_SeakNeedleHeld
Definition forward.h:301
@ It_Kind_Kirby_PikachuTJolt_Air
Definition forward.h:296
@ It_Kind_Kirby_PeachToad
Definition forward.h:282
@ It_Kind_Kirby_LuigiFire
Definition forward.h:280
@ It_Kind_Kirby_GameWatchChef
Definition forward.h:303
@ It_Kind_Kirby_NessPKFlush_Explode
Definition forward.h:294
@ It_Kind_Kirby_PikachuTJolt_Ground
Definition forward.h:295
@ It_Kind_Kirby_GameWatchChefPan
Definition forward.h:304
@ It_Kind_Kirby_FalcoLaser
Definition forward.h:285
@ It_Kind_Kirby_PeachToadSpore
Definition forward.h:283
@ It_Kind_Kirby_CLinkArrow
Definition forward.h:289
@ It_Kind_Kirby_YoshiEggLay
Definition forward.h:306
@ It_Kind_Kirby_LinkArrow
Definition forward.h:288
@ It_Kind_Kirby_KoopaFlame
Definition forward.h:302

The item kind of each article of Kirby's copy abilities (by _index where there are two), as ftKb_SpecialN_800F16D0's callers pass them to it_8026B3F8.

Typedef Documentation

◆ DAT_COUNT

typedef s32 *ftDynamicsBoneSet DAT_COUNT(ftDynamics::bones)

A visibility lookup for each model of FtPartsDesc.

A dynamic bone set: one per dynamic bone (0x100 for none).

Function Documentation

◆ ASSERT_SIZE() [1/9]

ASSERT_SIZE ( struct FighterBone ,
0x10  )

◆ ASSERT_SIZE() [2/9]

ASSERT_SIZE ( struct ftDeviceUnk4 ,
0x8  )

◆ ASSERT_SIZE() [3/9]

ASSERT_SIZE ( struct ftDeviceUnk5 ,
0xC  )

◆ ASSERT_SIZE() [4/9]

ASSERT_SIZE ( struct Fighter_x1A88_xFC_t ,
0x1C  )

◆ ASSERT_SIZE() [5/9]

ASSERT_SIZE ( struct CpuFighter ,
0x57C  )

◆ ASSERT_SIZE() [6/9]

ASSERT_SIZE ( struct Fighter_x59C_t ,
0x8000  )

◆ ASSERT_SIZE() [7/9]

ASSERT_SIZE ( struct Fighter ,
0x23EC  )

◆ ASSERT_SIZE() [8/9]

ASSERT_SIZE ( struct ft_80459B88_t ,
0x88  )

◆ ASSERT_SIZE() [9/9]

ASSERT_SIZE ( struct DmgLogEntry ,
0x28  )

Variable Documentation

◆ x

int x

◆ y

int y