SSBM Decomp
Loading...
Searching...
No Matches
itseakneedlethrown.c File Reference
#include "itseakneedlethrown.h"
#include "placeholder.h"
#include "db/db.h"
#include "ft/ftlib.h"
#include "it/forward.h"
#include "it/inlines.h"
#include "it/it_26B1.h"
#include "it/it_2725.h"
#include "it/item.h"
#include "it/itgroundcoll.h"
#include "it/itmaplib.h"
#include "lb/lbvector.h"
#include "mp/mpcoll.h"
#include "mp/mplib.h"
#include <trigf.h>
#include <baselib/jobj.h>
#include <baselib/random.h>
#include <MSL/math.h>

Functions

static void sdata2_order (void)
Item_GObjit_802AFD8C (Item_GObj *parent, Vec3 *pos, u32 kind, float facing_dir)
void it_802AFEA8 (Item_GObj *gobj, Fighter_GObj *owner_gobj, u32 arg2)
void itSeakNeedleThrown_Logic109_Destroyed (Item_GObj *gobj)
void it_802AFF08 (Item_GObj *gobj, Fighter_GObj *owner)
static void itSeakNeedleThrown_SetupBounce (Item_GObj *gobj)
static void itSeakNeedleThrown_SetupDrop (Item_GObj *gobj)
void it_802B00F4 (Item_GObj *gobj, Fighter_GObj *owner)
bool itSeakneedlethrown_UnkMotion0_Anim (Item_GObj *gobj)
bool itSeakneedlethrown_UnkMotion1_Anim (Item_GObj *gobj)
bool itSeakneedlethrown_UnkMotion2_Anim (Item_GObj *gobj)
bool itSeakneedlethrown_UnkMotion3_Anim (Item_GObj *gobj)
bool itSeakneedlethrown_UnkMotion4_Anim (Item_GObj *gobj)
void itSeakneedlethrown_UnkMotion0_Phys (Item_GObj *gobj)
void itSeakneedlethrown_UnkMotion1_Phys (Item_GObj *gobj)
void itSeakneedlethrown_UnkMotion2_Phys (Item_GObj *gobj)
void itSeakneedlethrown_UnkMotion3_Phys (Item_GObj *gobj)
void itSeakneedlethrown_UnkMotion4_Phys (Item_GObj *gobj)
static bool itSeakNeedleThrown_CheckGroundHit (Item_GObj *gobj)
static bool itSeakNeedleThrown_CheckGroundHit4 (Item_GObj *gobj)
bool itSeakneedlethrown_UnkMotion0_Coll (Item_GObj *gobj)
bool itSeakneedlethrown_UnkMotion1_Coll (Item_GObj *gobj)
static void itSeakNeedleThrown_Coll2_Inline (Item_GObj *gobj, Item *ip)
static void itSeakNeedleThrown_Coll2_Rotate (Item *ip, HSD_JObj *child)
bool itSeakneedlethrown_UnkMotion2_Coll (Item_GObj *gobj)
bool itSeakneedlethrown_UnkMotion3_Coll (Item_GObj *gobj)
bool itSeakneedlethrown_UnkMotion4_Coll (Item_GObj *gobj)
bool it_2725_Logic109_DmgDealt (Item_GObj *gobj)
bool it_2725_Logic109_Clanked (Item_GObj *gobj)
bool it_2725_Logic109_DmgReceived (Item_GObj *gobj)
bool it_2725_Logic109_Reflected (Item_GObj *gobj)
bool it_2725_Logic109_ShieldBounced (Item_GObj *gobj)
bool it_2725_Logic109_HitShield_inline (Item_GObj *gobj, Item *ip)
bool it_2725_Logic109_HitShield (Item_GObj *gobj)
void itSeakNeedleThrown_Logic109_EvtUnk (Item_GObj *gobj, Item_GObj *ref_gobj)

Variables

ItemStateTable it_803F6F50 []
static f32 it_803F6FA0 [8]
static f32 it_803F6FC0 [8]
static f32 it_803F6FE0 [8]
static f32 it_803F7000 [8] = { 0.0f, 0.2f, 0.4f, 0.6f, 0.8f, 1.0f, 1.2f, 1.4f }
static f32 it_803F7020 [8]
static f32 it_803F7040 [8]
static f32 it_803F7060 [8]

Function Documentation

◆ sdata2_order()

void sdata2_order ( void )
static

◆ it_802AFD8C()

Item_GObj * it_802AFD8C ( Item_GObj * parent,
Vec3 * pos,
u32 kind,
float facing_dir )

◆ it_802AFEA8()

void it_802AFEA8 ( Item_GObj * gobj,
Fighter_GObj * owner_gobj,
u32 arg2 )

◆ itSeakNeedleThrown_Logic109_Destroyed()

void itSeakNeedleThrown_Logic109_Destroyed ( Item_GObj * gobj)

◆ it_802AFF08()

void it_802AFF08 ( Item_GObj * gobj,
Fighter_GObj * owner )

◆ itSeakNeedleThrown_SetupBounce()

void itSeakNeedleThrown_SetupBounce ( Item_GObj * gobj)
inlinestatic

◆ itSeakNeedleThrown_SetupDrop()

void itSeakNeedleThrown_SetupDrop ( Item_GObj * gobj)
inlinestatic

◆ it_802B00F4()

void it_802B00F4 ( Item_GObj * gobj,
Fighter_GObj * owner )

◆ itSeakneedlethrown_UnkMotion0_Anim()

bool itSeakneedlethrown_UnkMotion0_Anim ( Item_GObj * gobj)

◆ itSeakneedlethrown_UnkMotion1_Anim()

bool itSeakneedlethrown_UnkMotion1_Anim ( Item_GObj * gobj)

◆ itSeakneedlethrown_UnkMotion2_Anim()

bool itSeakneedlethrown_UnkMotion2_Anim ( Item_GObj * gobj)

◆ itSeakneedlethrown_UnkMotion3_Anim()

bool itSeakneedlethrown_UnkMotion3_Anim ( Item_GObj * gobj)

◆ itSeakneedlethrown_UnkMotion4_Anim()

bool itSeakneedlethrown_UnkMotion4_Anim ( Item_GObj * gobj)

◆ itSeakneedlethrown_UnkMotion0_Phys()

void itSeakneedlethrown_UnkMotion0_Phys ( Item_GObj * gobj)

◆ itSeakneedlethrown_UnkMotion1_Phys()

void itSeakneedlethrown_UnkMotion1_Phys ( Item_GObj * gobj)

◆ itSeakneedlethrown_UnkMotion2_Phys()

void itSeakneedlethrown_UnkMotion2_Phys ( Item_GObj * gobj)

◆ itSeakneedlethrown_UnkMotion3_Phys()

void itSeakneedlethrown_UnkMotion3_Phys ( Item_GObj * gobj)

◆ itSeakneedlethrown_UnkMotion4_Phys()

void itSeakneedlethrown_UnkMotion4_Phys ( Item_GObj * gobj)

◆ itSeakNeedleThrown_CheckGroundHit()

bool itSeakNeedleThrown_CheckGroundHit ( Item_GObj * gobj)
inlinestatic

◆ itSeakNeedleThrown_CheckGroundHit4()

bool itSeakNeedleThrown_CheckGroundHit4 ( Item_GObj * gobj)
inlinestatic

◆ itSeakneedlethrown_UnkMotion0_Coll()

bool itSeakneedlethrown_UnkMotion0_Coll ( Item_GObj * gobj)

◆ itSeakneedlethrown_UnkMotion1_Coll()

bool itSeakneedlethrown_UnkMotion1_Coll ( Item_GObj * gobj)

◆ itSeakNeedleThrown_Coll2_Inline()

void itSeakNeedleThrown_Coll2_Inline ( Item_GObj * gobj,
Item * ip )
inlinestatic

◆ itSeakNeedleThrown_Coll2_Rotate()

void itSeakNeedleThrown_Coll2_Rotate ( Item * ip,
HSD_JObj * child )
inlinestatic

◆ itSeakneedlethrown_UnkMotion2_Coll()

bool itSeakneedlethrown_UnkMotion2_Coll ( Item_GObj * gobj)

◆ itSeakneedlethrown_UnkMotion3_Coll()

bool itSeakneedlethrown_UnkMotion3_Coll ( Item_GObj * gobj)

◆ itSeakneedlethrown_UnkMotion4_Coll()

bool itSeakneedlethrown_UnkMotion4_Coll ( Item_GObj * gobj)

◆ it_2725_Logic109_DmgDealt()

bool it_2725_Logic109_DmgDealt ( Item_GObj * gobj)

◆ it_2725_Logic109_Clanked()

bool it_2725_Logic109_Clanked ( Item_GObj * gobj)

◆ it_2725_Logic109_DmgReceived()

bool it_2725_Logic109_DmgReceived ( Item_GObj * gobj)

◆ it_2725_Logic109_Reflected()

bool it_2725_Logic109_Reflected ( Item_GObj * gobj)

◆ it_2725_Logic109_ShieldBounced()

bool it_2725_Logic109_ShieldBounced ( Item_GObj * gobj)

◆ it_2725_Logic109_HitShield_inline()

bool it_2725_Logic109_HitShield_inline ( Item_GObj * gobj,
Item * ip )
inline

◆ it_2725_Logic109_HitShield()

bool it_2725_Logic109_HitShield ( Item_GObj * gobj)

◆ itSeakNeedleThrown_Logic109_EvtUnk()

void itSeakNeedleThrown_Logic109_EvtUnk ( Item_GObj * gobj,
Item_GObj * ref_gobj )

Variable Documentation

◆ it_803F6F50

ItemStateTable it_803F6F50[]
Initial value:
= {
}
bool itSeakneedlethrown_UnkMotion4_Anim(Item_GObj *gobj)
Definition itseakneedlethrown.c:230
void itSeakneedlethrown_UnkMotion1_Phys(Item_GObj *gobj)
Definition itseakneedlethrown.c:241
void itSeakneedlethrown_UnkMotion0_Phys(Item_GObj *gobj)
Definition itseakneedlethrown.c:239
void itSeakneedlethrown_UnkMotion3_Phys(Item_GObj *gobj)
Definition itseakneedlethrown.c:253
bool itSeakneedlethrown_UnkMotion0_Coll(Item_GObj *gobj)
Definition itseakneedlethrown.c:318
void itSeakneedlethrown_UnkMotion4_Phys(Item_GObj *gobj)
Definition itseakneedlethrown.c:258
bool itSeakneedlethrown_UnkMotion0_Anim(Item_GObj *gobj)
Definition itseakneedlethrown.c:199
bool itSeakneedlethrown_UnkMotion2_Anim(Item_GObj *gobj)
Definition itseakneedlethrown.c:215
bool itSeakneedlethrown_UnkMotion1_Coll(Item_GObj *gobj)
Definition itseakneedlethrown.c:354
bool itSeakneedlethrown_UnkMotion2_Coll(Item_GObj *gobj)
Definition itseakneedlethrown.c:403
bool itSeakneedlethrown_UnkMotion4_Coll(Item_GObj *gobj)
Definition itseakneedlethrown.c:420
bool itSeakneedlethrown_UnkMotion3_Coll(Item_GObj *gobj)
Definition itseakneedlethrown.c:415
bool itSeakneedlethrown_UnkMotion3_Anim(Item_GObj *gobj)
Definition itseakneedlethrown.c:225
bool itSeakneedlethrown_UnkMotion1_Anim(Item_GObj *gobj)
Definition itseakneedlethrown.c:206
void itSeakneedlethrown_UnkMotion2_Phys(Item_GObj *gobj)
Definition itseakneedlethrown.c:251

◆ it_803F6FA0

f32 it_803F6FA0[8]
static
Initial value:
= { -2.0f, -2.1f, -2.2f, -2.3f,
-2.4f, -2.5f, -2.6f, -2.7f }

◆ it_803F6FC0

f32 it_803F6FC0[8]
static
Initial value:
= { -0.1f, -0.12f, -0.14f, -0.18f,
-0.2f, -0.22f, -0.24f, -0.26f }

◆ it_803F6FE0

f32 it_803F6FE0[8]
static
Initial value:
= { 0.20943952f, 0.2443461f, 0.27925268f,
0.31415927f, 0.34906584f, 0.38397244f,
0.41887903f, 0.4537856f }

◆ it_803F7000

f32 it_803F7000[8] = { 0.0f, 0.2f, 0.4f, 0.6f, 0.8f, 1.0f, 1.2f, 1.4f }
static

◆ it_803F7020

f32 it_803F7020[8]
static
Initial value:
= { -2.0f, -2.1f, -2.2f, -2.3f,
-2.4f, -2.5f, -2.6f, -2.7f }

◆ it_803F7040

f32 it_803F7040[8]
static
Initial value:
= { -0.1f, -0.12f, -0.14f, -0.18f,
-0.2f, -0.22f, -0.24f, -0.26f }

◆ it_803F7060

f32 it_803F7060[8]
static
Initial value:
= {
0.5235988f, 0.61086524f, 0.6981317f, 0.7853982f,
0.87266463f, 0.9599311f, 1.0471976f, 1.134464f
}