SSBM Decomp
Loading...
Searching...
No Matches
if_2F72.c File Reference

Data Structures

struct  ScInfStcSlot
 The GObjs one player slot has spawned from ScInfStc_scene_models. More...
struct  ScInfStcModels
 ScInfStc_scene_models, plus the GObjs spawned from it per player slot. More...

Functions

s32 fn_802F7288 (HSD_GObj *gobj, Element_803F9628 *entry)
static Element_803F9628 * FindEntry (Element_803F9628 *entries, HSD_GObj *gobj)
void if_802F73C4 (HSD_GObj *gobj)
void if_802F74D0 (HSD_GObj *gobj)
void fn_802F75D4 (HSD_GObj *gobj)
void fn_802F7670 (HSD_GObj *gobj)
static s32 GetSlot (HSD_GObj *gobj)
 Slot whose first GObj is gobj, or -1.
void fn_802F770C (HSD_GObj *gobj, intptr_t callback)
HSD_GObj * fn_802F77F8 (HSD_GObj *gobj, u8 slot, u16 arg2)
static void SpawnGObj2 (s32 slot)
 (Re)spawns the second GObj of slot.
void fn_802F7994 (HSD_GObj *gobj)
static void SpawnGObj (s32 slot, u16 anim, HSD_GObjEvent proc)
 (Re)spawns the first GObj of slot with animation anim.
void if_802F7AF8 (s32 slot)
void if_802F7BB4 (s32 player_idx)
void if_802F7C30 (s32 slot)
void if_802F7D08 (s32 slot)
void if_802F7E24 (void)
void if_802F7E7C (void)

Variables

static char lbl_803F9780 [] = "ScInfStc_scene_models"
 Orphaned data strings from original ROM.
static struct ScInfStcModels scinfstc_models

Function Documentation

◆ fn_802F7288()

s32 fn_802F7288 ( HSD_GObj * gobj,
Element_803F9628 * entry )

◆ FindEntry()

Element_803F9628 * FindEntry ( Element_803F9628 * entries,
HSD_GObj * gobj )
inlinestatic

◆ if_802F73C4()

void if_802F73C4 ( HSD_GObj * gobj)

◆ if_802F74D0()

void if_802F74D0 ( HSD_GObj * gobj)

◆ fn_802F75D4()

void fn_802F75D4 ( HSD_GObj * gobj)

◆ fn_802F7670()

void fn_802F7670 ( HSD_GObj * gobj)

◆ GetSlot()

s32 GetSlot ( HSD_GObj * gobj)
inlinestatic

Slot whose first GObj is gobj, or -1.

◆ fn_802F770C()

void fn_802F770C ( HSD_GObj * gobj,
intptr_t callback )

◆ fn_802F77F8()

HSD_GObj * fn_802F77F8 ( HSD_GObj * gobj,
u8 slot,
u16 arg2 )

◆ SpawnGObj2()

void SpawnGObj2 ( s32 slot)
inlinestatic

(Re)spawns the second GObj of slot.

◆ fn_802F7994()

void fn_802F7994 ( HSD_GObj * gobj)

◆ SpawnGObj()

void SpawnGObj ( s32 slot,
u16 anim,
HSD_GObjEvent proc )
inlinestatic

(Re)spawns the first GObj of slot with animation anim.

Todo
The spawn sites point one entry before the slot's GObj and pre-increment onto it; a direct pointer allocates differently.

◆ if_802F7AF8()

void if_802F7AF8 ( s32 slot)

◆ if_802F7BB4()

void if_802F7BB4 ( s32 player_idx)

◆ if_802F7C30()

void if_802F7C30 ( s32 slot)

◆ if_802F7D08()

void if_802F7D08 ( s32 slot)

◆ if_802F7E24()

void if_802F7E24 ( void )

◆ if_802F7E7C()

void if_802F7E7C ( void )

Variable Documentation

◆ lbl_803F9780

char lbl_803F9780[] = "ScInfStc_scene_models"
static

Orphaned data strings from original ROM.

◆ scinfstc_models

struct ScInfStcModels scinfstc_models
static