|
SSBM Decomp
|
#include "itkoopaflame.h"#include <placeholder.h>#include <platform.h>#include <melee/it/forward.h>#include <melee/lb/forward.h>#include <sysdolphin/baselib/random.h>#include <melee/db/db.h>#include <melee/ef/eflib.h>#include <melee/ef/efsync.h>#include <melee/ft/chara/ftKirby/ftKb_Init.h>#include <melee/ft/chara/ftKoopa/ftKp_SpecialN.h>#include <melee/it/inlines.h>#include <melee/it/it_266F.h>#include <melee/it/it_26B1.h>#include <melee/it/it_2725.h>#include <melee/it/item.h>#include <melee/lb/lbvector.h>#include <MSL/math.h>#include <MSL/trigf.h>Data Structures | |
| struct | itKoopaFlame_Attributes |
Macros | |
| #define | itkpf_Floor 1 |
| #define | itkpf_Ceiling 2 |
| #define | itkpf_LeftWall 4 |
| #define | itkpf_RightWall 8 |
Functions | |
| static void | clamp_angle (float *f) |
| static void | clamp_angle_2 (float *f) |
| void | itKoopaFlame_Update_Direction (Item_GObj *gobj, int flags) |
| void | itKoopaFlame_Update_Angle (Item_GObj *gobj, int flags) |
| Item_GObj * | itKoopaFlame_Spawn (Fighter_GObj *parent, Vec *pos, f32 facing_dir, bool unk, s32 gfx, s32 base_speed, s32 scale, s32 kind) |
| void | itKoopaFlame_Setup (Item_GObj *gobj_i, Fighter_GObj *gobj_f, int unk) |
| bool | itKoopaFlame_UnkMotion0_Anim (Item_GObj *gobj) |
| void | itKoopaFlame_UnkMotion0_Phys (Item_GObj *gobj) |
| bool | itKoopaFlame_UnkMotion0_Coll (Item_GObj *gobj) |
| bool | it_2725_Logic111_DmgDealt (Item_GObj *gobj) |
| bool | it_2725_Logic111_Reflected (Item_GObj *gobj) |
| bool | it_2725_Logic111_Clanked (Item_GObj *gobj) |
| bool | it_2725_Logic111_Absorbed (Item_GObj *gobj) |
| bool | it_2725_Logic111_ShieldBounced (Item_GObj *gobj) |
| bool | it_2725_Logic111_HitShield (Item_GObj *gobj) |
| void | it_2725_Logic111_EvtUnk (Item_GObj *gobj, Item_GObj *ref_gobj) |
Variables | |
| ItemStateTable | ItemStateTable_KoopaFlame [] |
| #define itkpf_Floor 1 |
| #define itkpf_Ceiling 2 |
| #define itkpf_LeftWall 4 |
| #define itkpf_RightWall 8 |
|
inlinestatic |
|
inlinestatic |
| void itKoopaFlame_Update_Direction | ( | Item_GObj * | gobj, |
| int | flags | ||
| ) |
| void itKoopaFlame_Update_Angle | ( | Item_GObj * | gobj, |
| int | flags | ||
| ) |
| Item_GObj * itKoopaFlame_Spawn | ( | Fighter_GObj * | parent, |
| Vec * | pos, | ||
| f32 | facing_dir, | ||
| bool | unk, | ||
| s32 | gfx, | ||
| s32 | base_speed, | ||
| s32 | scale, | ||
| s32 | kind | ||
| ) |
| void itKoopaFlame_Setup | ( | Item_GObj * | gobj_i, |
| Fighter_GObj * | gobj_f, | ||
| int | unk | ||
| ) |
| void itKoopaFlame_UnkMotion0_Phys | ( | Item_GObj * | gobj | ) |
| ItemStateTable ItemStateTable_KoopaFlame[] |