SSBM Decomp
Loading...
Searching...
No Matches
forward.h File Reference
#include "ft/forward.h"
#include <baselib/forward.h>

Go to the source code of this file.

Typedefs

typedef struct UnkItemArticles3 UnkItemArticles3
 
typedef HSD_GObj Item_GObj
 
typedef void(* ItCmd) (Item_GObj *gobj, FtCmdState *cmd)
 

Enumerations

enum  Item_StateChangeFlags {
  ITEM_UNK_0x1 = (1 << 0) ,
  ITEM_ANIM_UPDATE = (1 << 1) ,
  ITEM_DROP_UPDATE = (1 << 2) ,
  ITEM_MODEL_UPDATE = (1 << 3) ,
  ITEM_HIT_PRESERVE = (1 << 4) ,
  ITEM_SFX_PRESERVE = (1 << 5) ,
  ITEM_COLANIM_PRESERVE = (1 << 6) ,
  ITEM_UNK_UPDATE = (1 << 7) ,
  ITEM_CMD_UPDATE = (1 << 8)
}
 
enum  Item_UnkKinds {
  ITEM_UNK_MATO = 4 ,
  ITEM_UNK_LOCKON ,
  ITEM_UNK_ENEMY ,
  ITEM_UNK_7
}
 
enum  ItemKind {
  It_Kind_Capsule ,
  It_Kind_Box ,
  It_Kind_Taru ,
  It_Kind_Egg ,
  It_Kind_Kusudama ,
  It_Kind_TaruCann ,
  It_Kind_BombHei ,
  It_Kind_Dosei ,
  It_Kind_Heart ,
  It_Kind_Tomato ,
  It_Kind_Star ,
  It_Kind_Bat ,
  It_Kind_Sword ,
  It_Kind_Parasol ,
  It_Kind_G_Shell ,
  It_Kind_R_Shell ,
  It_Kind_L_Gun ,
  It_Kind_Freeze ,
  It_Kind_Foods ,
  It_Kind_MSBomb ,
  It_Kind_Flipper ,
  It_Kind_S_Scope ,
  It_Kind_StarRod ,
  It_Kind_LipStick ,
  It_Kind_Harisen ,
  It_Kind_F_Flower ,
  It_Kind_Kinoko ,
  It_Kind_DKinoko ,
  It_Kind_Hammer ,
  It_Kind_WStar ,
  It_Kind_ScBall ,
  It_Kind_RabbitC ,
  It_Kind_MetalB ,
  It_Kind_Spycloak ,
  It_Kind_M_Ball ,
  It_Kind_L_Gun_Ray ,
  It_Kind_StarRod_Star ,
  It_Kind_LipStick_Spore ,
  It_Kind_S_Scope_Beam ,
  It_Kind_L_Gun_Beam ,
  It_Kind_Hammer_Head ,
  It_Kind_F_Flower_Flame ,
  It_Kind_EvYoshiEgg ,
  It_Kind_Kuriboh ,
  It_Kind_Leadead ,
  It_Kind_Octarock ,
  It_Kind_Ottosea ,
  It_Kind_Octarock_Stone ,
  It_Kind_Mario_Fire ,
  It_Kind_DrMario_Vitamin ,
  It_Kind_Kirby_CBeam ,
  It_Kind_Kirby_Hammer ,
  It_Kind_Unk1 ,
  It_Kind_Unk2 ,
  It_Kind_Fox_Laser ,
  It_Kind_Falco_Laser ,
  It_Kind_Fox_Illusion ,
  It_Kind_Falco_Phantasm ,
  It_Kind_Link_Bomb ,
  It_Kind_CLink_Bomb ,
  It_Kind_Link_Boomerang ,
  It_Kind_CLink_Boomerang ,
  It_Kind_Link_HShot ,
  It_Kind_CLink_HShot ,
  It_Kind_Link_Arrow ,
  It_Kind_CLink_Arrow ,
  It_Kind_Ness_PKFire ,
  It_Kind_Ness_PKFire_Flame ,
  It_Kind_Ness_PKFlush ,
  It_Kind_Ness_PKThunder ,
  It_Kind_Ness_PKThunder1 ,
  It_Kind_Ness_PKThunder2 ,
  It_Kind_Ness_PKThunder3 ,
  It_Kind_Ness_PKThunder4 ,
  It_Kind_Fox_Blaster ,
  It_Kind_Falco_Blaster ,
  It_Kind_Link_Bow ,
  It_Kind_CLink_Bow ,
  It_Kind_Ness_PKFlush_Explode ,
  It_Kind_Seak_NeedleThrow ,
  It_Kind_Seak_NeedleHeld ,
  It_Kind_Pikachu_Thunder ,
  It_Kind_Pichu_Thunder ,
  It_Kind_Mario_Cape ,
  It_Kind_DrMario_Sheet ,
  It_Kind_Seak_Vanish ,
  It_Kind_Yoshi_EggThrow ,
  It_Kind_Yoshi_EggLay ,
  It_Kind_Yoshi_Star ,
  It_Kind_Pikachu_TJolt_Ground ,
  It_Kind_Pikachu_TJolt_Air ,
  It_Kind_Pichu_TJolt_Ground ,
  It_Kind_Pichu_TJolt_Air ,
  It_Kind_Samus_Bomb ,
  It_Kind_Samus_Charge ,
  It_Kind_Samus_Missile ,
  It_Kind_Samus_GBeam ,
  It_Kind_Seak_Chain ,
  It_Kind_Peach_Explode ,
  It_Kind_Peach_Turnip ,
  It_Kind_Koopa_Flame ,
  It_Kind_Ness_Bat ,
  It_Kind_Ness_Yoyo ,
  It_Kind_Peach_Parasol ,
  It_Kind_Peach_Toad ,
  It_Kind_Luigi_Fire ,
  It_Kind_IceClimber_Ice ,
  It_Kind_IceClimber_Blizzard ,
  It_Kind_Zelda_DinFire ,
  It_Kind_Zelda_DinFire_Explode ,
  It_Kind_Mewtwo_Disable ,
  It_Kind_Peach_ToadSpore ,
  It_Kind_Mewtwo_ShadowBall ,
  It_Kind_IceClimber_GumStrings ,
  It_Kind_GameWatch_Greenhouse ,
  It_Kind_GameWatch_Manhole ,
  It_Kind_GameWatch_Fire ,
  It_Kind_GameWatch_Parachute ,
  It_Kind_GameWatch_Turtle ,
  It_Kind_GameWatch_Breath ,
  It_Kind_GameWatch_Judge ,
  It_Kind_GameWatch_Panic ,
  It_Kind_GameWatch_Chef ,
  It_Kind_CLink_Milk ,
  It_Kind_GameWatch_Rescue ,
  It_Kind_MasterHand_Laser ,
  It_Kind_MasterHand_Bullet ,
  It_Kind_CrazyHand_Laser ,
  It_Kind_CrazyHand_Bullet ,
  It_Kind_CrazyHand_Bomb ,
  It_Kind_Kirby_MarioFire ,
  It_Kind_Kirby_DrMarioVitamin ,
  It_Kind_Kirby_LuigiFire ,
  It_Kind_Kirby_IceClimberIce ,
  It_Kind_Kirby_PeachToad ,
  It_Kind_Kirby_PeachToadSpore ,
  It_Kind_Kirby_FoxLaser ,
  It_Kind_Kirby_FalcoLaser ,
  It_Kind_Kirby_FoxBlaster ,
  It_Kind_Kirby_FalcoBlaster ,
  It_Kind_Kirby_LinkArrow ,
  It_Kind_Kirby_CLinkArrow ,
  It_Kind_Kirby_LinkBow ,
  It_Kind_Kirby_CLinkBow ,
  It_Kind_Kirby_MewtwoShadowBall ,
  It_Kind_Kirby_NessPKFlush ,
  It_Kind_Kirby_NessPKFlush_Explode ,
  It_Kind_Kirby_PikachuTJolt_Ground ,
  It_Kind_Kirby_PikachuTJolt_Air ,
  It_Kind_Kirby_PichuTJolt_Ground ,
  It_Kind_Kirby_PichuTJolt_Air ,
  It_Kind_Kirby_SamusCharge ,
  It_Kind_Kirby_SeakNeedleThrow ,
  It_Kind_Kirby_SeakNeedleHeld ,
  It_Kind_Kirby_KoopaFlame ,
  It_Kind_Kirby_GameWatchChef ,
  It_Kind_Kirby_GameWatchChefPan ,
  It_Kind_Kirby_YoshiEggLay ,
  It_Kind_Unk4 ,
  It_Kind_Coin ,
  Pokemon_Random ,
  Pokemon_Tosakinto ,
  Pokemon_Chicorita ,
  Pokemon_Kabigon ,
  Pokemon_Kamex ,
  Pokemon_Matadogas ,
  Pokemon_Lizardon ,
  Pokemon_Fire ,
  Pokemon_Thunder ,
  Pokemon_Freezer ,
  Pokemon_Sonans ,
  Pokemon_Hassam ,
  Pokemon_Unknown ,
  Pokemon_Entei ,
  Pokemon_Raikou ,
  Pokemon_Suikun ,
  Pokemon_Kireihana ,
  Pokemon_Marumine ,
  Pokemon_Lugia ,
  Pokemon_Houou ,
  Pokemon_Metamon ,
  Pokemon_Pippi ,
  Pokemon_Togepy ,
  Pokemon_Mew ,
  Pokemon_Cerebi ,
  Pokemon_Hitodeman ,
  Pokemon_Lucky ,
  Pokemon_Porygon2 ,
  Pokemon_Hinoarashi ,
  Pokemon_Maril ,
  Pokemon_Fushigibana ,
  Pokemon_Chicorita_Leaf ,
  Pokemon_Kamex_HydroPump ,
  Pokemon_Matadogas_Gas1 ,
  Pokemon_Matadogas_Gas2 ,
  Pokemon_Lizardon_Flame1 ,
  Pokemon_Lizardon_Flame2 ,
  Pokemon_Lizardon_Flame3 ,
  Pokemon_Lizardon_Flame4 ,
  Pokemon_Unknown_Swarm ,
  Pokemon_Lugia_Aeroblast ,
  Pokemon_Lugia_Aeroblast2 ,
  Pokemon_Lugia_Aeroblast3 ,
  Pokemon_Houou_SacredFire ,
  Pokemon_Hitodeman_Star ,
  Pokemon_Lucky_Egg ,
  Pokemon_Hinoarashi_Flame ,
  Pokemon_Unk ,
  It_Kind_Old_Kuri ,
  It_Kind_Mato ,
  It_Kind_Heiho ,
  It_Kind_Nokonoko ,
  It_Kind_Patapata ,
  It_Kind_Likelike ,
  It_Kind_Old_Lead ,
  It_Kind_Old_Octa ,
  It_Kind_Old_Otto ,
  It_Kind_Whitebea ,
  It_Kind_Klap ,
  It_Kind_ZGShell ,
  It_Kind_ZRShell ,
  It_Kind_Tincle ,
  It_Kind_Invalid1 ,
  It_Kind_Invalid2 ,
  It_Kind_Invalid3 ,
  It_Kind_WhispyApple ,
  It_Kind_WhispyHealApple ,
  It_Kind_Invalid4 ,
  It_Kind_Invalid5 ,
  It_Kind_Invalid6 ,
  It_Kind_Tools ,
  It_Kind_Invalid7 ,
  It_Kind_Invalid8 ,
  It_Kind_Kyasarin ,
  It_Kind_Arwing_Laser ,
  It_Kind_GreatFox_Laser ,
  It_Kind_Kyasarin_Egg
}
 

Typedef Documentation

◆ UnkItemArticles3

◆ Item_GObj

◆ ItCmd

typedef void(* ItCmd) (Item_GObj *gobj, FtCmdState *cmd)

Enumeration Type Documentation

◆ Item_StateChangeFlags

Enumerator
ITEM_UNK_0x1 
ITEM_ANIM_UPDATE 

Updates item model with target Item State's AnimJoint, MatAnimJoint and extra HSD archive node if available.

ITEM_DROP_UPDATE 

Copies Item::xC44 to Item::xC40 if enabled.

ITEM_MODEL_UPDATE 

Runs some HSD_JObj function.

ITEM_HIT_PRESERVE 

Keep current hitboxes.

ITEM_SFX_PRESERVE 

Keep current SFX.

ITEM_COLANIM_PRESERVE 

Keep current color overlay.

ITEM_UNK_UPDATE 
ITEM_CMD_UPDATE 

Run item's Subaction Events up to its current animation frame.

◆ Item_UnkKinds

Enumerator
ITEM_UNK_MATO 

Item type: Target (Mato)

ITEM_UNK_LOCKON 
ITEM_UNK_ENEMY 

Item type: Stage Enemy (Goomba, Koopa Troopa, etc.)

ITEM_UNK_7 

◆ ItemKind

enum ItemKind
Enumerator
It_Kind_Capsule 
It_Kind_Box 
It_Kind_Taru 
It_Kind_Egg 
It_Kind_Kusudama 
It_Kind_TaruCann 
It_Kind_BombHei 
It_Kind_Dosei 
It_Kind_Heart 
It_Kind_Tomato 
It_Kind_Star 
It_Kind_Bat 
It_Kind_Sword 
It_Kind_Parasol 
It_Kind_G_Shell 
It_Kind_R_Shell 
It_Kind_L_Gun 
It_Kind_Freeze 
It_Kind_Foods 
It_Kind_MSBomb 
It_Kind_Flipper 
It_Kind_S_Scope 
It_Kind_StarRod 
It_Kind_LipStick 
It_Kind_Harisen 
It_Kind_F_Flower 
It_Kind_Kinoko 
It_Kind_DKinoko 
It_Kind_Hammer 
It_Kind_WStar 
It_Kind_ScBall 
It_Kind_RabbitC 
It_Kind_MetalB 
It_Kind_Spycloak 
It_Kind_M_Ball 
It_Kind_L_Gun_Ray 
It_Kind_StarRod_Star 
It_Kind_LipStick_Spore 
It_Kind_S_Scope_Beam 
It_Kind_L_Gun_Beam 
It_Kind_Hammer_Head 
It_Kind_F_Flower_Flame 
It_Kind_EvYoshiEgg 
It_Kind_Kuriboh 
It_Kind_Leadead 
It_Kind_Octarock 
It_Kind_Ottosea 
It_Kind_Octarock_Stone 
It_Kind_Mario_Fire 
It_Kind_DrMario_Vitamin 
It_Kind_Kirby_CBeam 
It_Kind_Kirby_Hammer 
It_Kind_Unk1 
It_Kind_Unk2 
It_Kind_Fox_Laser 
It_Kind_Falco_Laser 
It_Kind_Fox_Illusion 
It_Kind_Falco_Phantasm 
It_Kind_Link_Bomb 
It_Kind_CLink_Bomb 
It_Kind_Link_Boomerang 
It_Kind_CLink_Boomerang 
It_Kind_Link_HShot 
It_Kind_CLink_HShot 
It_Kind_Link_Arrow 
It_Kind_CLink_Arrow 
It_Kind_Ness_PKFire 
It_Kind_Ness_PKFire_Flame 
It_Kind_Ness_PKFlush 
It_Kind_Ness_PKThunder 
It_Kind_Ness_PKThunder1 
It_Kind_Ness_PKThunder2 
It_Kind_Ness_PKThunder3 
It_Kind_Ness_PKThunder4 
It_Kind_Fox_Blaster 
It_Kind_Falco_Blaster 
It_Kind_Link_Bow 
It_Kind_CLink_Bow 
It_Kind_Ness_PKFlush_Explode 
It_Kind_Seak_NeedleThrow 
It_Kind_Seak_NeedleHeld 
It_Kind_Pikachu_Thunder 
It_Kind_Pichu_Thunder 
It_Kind_Mario_Cape 
It_Kind_DrMario_Sheet 
It_Kind_Seak_Vanish 
It_Kind_Yoshi_EggThrow 
It_Kind_Yoshi_EggLay 
It_Kind_Yoshi_Star 
It_Kind_Pikachu_TJolt_Ground 
It_Kind_Pikachu_TJolt_Air 
It_Kind_Pichu_TJolt_Ground 
It_Kind_Pichu_TJolt_Air 
It_Kind_Samus_Bomb 
It_Kind_Samus_Charge 
It_Kind_Samus_Missile 
It_Kind_Samus_GBeam 
It_Kind_Seak_Chain 
It_Kind_Peach_Explode 
It_Kind_Peach_Turnip 
It_Kind_Koopa_Flame 
It_Kind_Ness_Bat 
It_Kind_Ness_Yoyo 
It_Kind_Peach_Parasol 
It_Kind_Peach_Toad 
It_Kind_Luigi_Fire 
It_Kind_IceClimber_Ice 
It_Kind_IceClimber_Blizzard 
It_Kind_Zelda_DinFire 
It_Kind_Zelda_DinFire_Explode 
It_Kind_Mewtwo_Disable 
It_Kind_Peach_ToadSpore 
It_Kind_Mewtwo_ShadowBall 
It_Kind_IceClimber_GumStrings 
It_Kind_GameWatch_Greenhouse 
It_Kind_GameWatch_Manhole 
It_Kind_GameWatch_Fire 
It_Kind_GameWatch_Parachute 
It_Kind_GameWatch_Turtle 
It_Kind_GameWatch_Breath 
It_Kind_GameWatch_Judge 
It_Kind_GameWatch_Panic 
It_Kind_GameWatch_Chef 
It_Kind_CLink_Milk 
It_Kind_GameWatch_Rescue 
It_Kind_MasterHand_Laser 
It_Kind_MasterHand_Bullet 
It_Kind_CrazyHand_Laser 
It_Kind_CrazyHand_Bullet 
It_Kind_CrazyHand_Bomb 
It_Kind_Kirby_MarioFire 
It_Kind_Kirby_DrMarioVitamin 
It_Kind_Kirby_LuigiFire 
It_Kind_Kirby_IceClimberIce 
It_Kind_Kirby_PeachToad 
It_Kind_Kirby_PeachToadSpore 
It_Kind_Kirby_FoxLaser 
It_Kind_Kirby_FalcoLaser 
It_Kind_Kirby_FoxBlaster 
It_Kind_Kirby_FalcoBlaster 
It_Kind_Kirby_LinkArrow 
It_Kind_Kirby_CLinkArrow 
It_Kind_Kirby_LinkBow 
It_Kind_Kirby_CLinkBow 
It_Kind_Kirby_MewtwoShadowBall 
It_Kind_Kirby_NessPKFlush 
It_Kind_Kirby_NessPKFlush_Explode 
It_Kind_Kirby_PikachuTJolt_Ground 
It_Kind_Kirby_PikachuTJolt_Air 
It_Kind_Kirby_PichuTJolt_Ground 
It_Kind_Kirby_PichuTJolt_Air 
It_Kind_Kirby_SamusCharge 
It_Kind_Kirby_SeakNeedleThrow 
It_Kind_Kirby_SeakNeedleHeld 
It_Kind_Kirby_KoopaFlame 
It_Kind_Kirby_GameWatchChef 
It_Kind_Kirby_GameWatchChefPan 
It_Kind_Kirby_YoshiEggLay 
It_Kind_Unk4 
It_Kind_Coin 
Pokemon_Random 
Pokemon_Tosakinto 
Pokemon_Chicorita 
Pokemon_Kabigon 
Pokemon_Kamex 
Pokemon_Matadogas 
Pokemon_Lizardon 
Pokemon_Fire 
Pokemon_Thunder 
Pokemon_Freezer 
Pokemon_Sonans 
Pokemon_Hassam 
Pokemon_Unknown 
Pokemon_Entei 
Pokemon_Raikou 
Pokemon_Suikun 
Pokemon_Kireihana 
Pokemon_Marumine 
Pokemon_Lugia 
Pokemon_Houou 
Pokemon_Metamon 
Pokemon_Pippi 
Pokemon_Togepy 
Pokemon_Mew 
Pokemon_Cerebi 
Pokemon_Hitodeman 
Pokemon_Lucky 
Pokemon_Porygon2 
Pokemon_Hinoarashi 
Pokemon_Maril 
Pokemon_Fushigibana 
Pokemon_Chicorita_Leaf 
Pokemon_Kamex_HydroPump 
Pokemon_Matadogas_Gas1 
Pokemon_Matadogas_Gas2 
Pokemon_Lizardon_Flame1 
Pokemon_Lizardon_Flame2 
Pokemon_Lizardon_Flame3 
Pokemon_Lizardon_Flame4 
Pokemon_Unknown_Swarm 
Pokemon_Lugia_Aeroblast 
Pokemon_Lugia_Aeroblast2 
Pokemon_Lugia_Aeroblast3 
Pokemon_Houou_SacredFire 
Pokemon_Hitodeman_Star 
Pokemon_Lucky_Egg 
Pokemon_Hinoarashi_Flame 
Pokemon_Unk 
It_Kind_Old_Kuri 
It_Kind_Mato 
It_Kind_Heiho 
It_Kind_Nokonoko 
It_Kind_Patapata 
It_Kind_Likelike 
It_Kind_Old_Lead 
It_Kind_Old_Octa 
It_Kind_Old_Otto 
It_Kind_Whitebea 
It_Kind_Klap 
It_Kind_ZGShell 
It_Kind_ZRShell 
It_Kind_Tincle 
It_Kind_Invalid1 
It_Kind_Invalid2 
It_Kind_Invalid3 
It_Kind_WhispyApple 
It_Kind_WhispyHealApple 
It_Kind_Invalid4 
It_Kind_Invalid5 
It_Kind_Invalid6 
It_Kind_Tools 
It_Kind_Invalid7 
It_Kind_Invalid8 
It_Kind_Kyasarin 
It_Kind_Arwing_Laser 
It_Kind_GreatFox_Laser 
It_Kind_Kyasarin_Egg