SSBM Decomp
Loading...
Searching...
No Matches
tyfigupon.c File Reference
#include "tyfigupon.h"
#include "inlines.h"
#include "math.h"
#include "toy.h"
#include "tylist.h"
#include "types.h"
#include "gm/gm_1601.h"
#include "if/textlib.h"
#include "if/types.h"
#include "lb/lb_00B0.h"
#include "lb/lb_00F9.h"
#include "lb/lbarchive.h"
#include "lb/lbaudio_ax.h"
#include "lb/lbcardgame.h"
#include "lb/lblanguage.h"
#include "lb/lbvector.h"
#include "mn/mnmain.h"
#include <dolphin/mtx.h>
#include <dolphin/os.h>
#include <baselib/archive.h>
#include <baselib/cobj.h>
#include <baselib/controller.h>
#include <baselib/displayfunc.h>
#include <baselib/dobj.h>
#include <baselib/fog.h>
#include <baselib/gobj.h>
#include <baselib/gobjgxlink.h>
#include <baselib/gobjobject.h>
#include <baselib/gobjplink.h>
#include <baselib/gobjproc.h>
#include <baselib/gobjuserdata.h>
#include <baselib/jobj.h>
#include <baselib/lobj.h>
#include <baselib/memory.h>
#include <baselib/mobj.h>
#include <baselib/random.h>
#include <baselib/sislib.h>
#include <baselib/tobj.h>

Data Structures

struct  TyFiguponData
 
struct  TyFiguponInner
 
struct  TyFiguponUD
 
struct  TyFiguponED4
 
struct  DigitInit
 

Functions

void tyFigupon_80314AA8 (HSD_JObj *jobj, char *anim_str, char *matanim_str, char *shapeanim_str)
 
s32 un_80314B54 (void)
 
void tyFigupon_80314BE4 (HSD_GObj *gobj, int unused)
 
void tyFigupon_80314C5C (HSD_GObj *gobj)
 
void fn_803152BC (HSD_GObj *arg0)
 
void un_803153EC (s32 arg0, s32 arg1, s32 arg2, s32 arg3, s32 arg4)
 
void fn_80315574 (void)
 
void fn_803155C8 (void)
 
void fn_80315C44 (HSD_GObj *arg0)
 
void fn_80316170 (HSD_GObj *arg0)
 
s32 fn_8031638C (s16 arg0)
 
void un_80316420 (s16 arg0)
 
void fn_803168DC (HSD_GObj *arg0)
 
void tyFigupon_80316BF8 (HSD_GObj *arg0)
 
void fn_80316C24 (HSD_GObj *arg0)
 
void un_8031753C (void)
 
void un_80317A60 (void)
 
void un_80317D80_OnEnter (void *arg0)
 
s32 un_803181BC (void)
 

Variables

TyFiguponDataun_804D6EF0
 
HSD_CObjDescun_804D6F04
 
void * un_804D6F08
 
s32 un_804D6EFC
 
s32 un_804D6F00
 
char un_803FE5E8 []
 
void * un_804D6EF8
 
static char str_panel_joint [] = "ToyFigurePonPanel_Top_joint"
 
static char str_bg_joint [] = "ToyFigurePonBg_Top_joint"
 
static char str_archive_jp [] = "TyMnFigp.dat"
 
static char str_archive_us [] = "TyMnFigp.usd"
 
static char str_coin_joint [] = "ToyFigurePonCoin_Top_joint"
 
static char str_coin_animjoint [] = "ToyFigurePonCoin_Top_animjoint"
 
static char str_coin_matanim [] = "ToyFigurePonCoin_Top_matanim_joint"
 
static char str_coin_shapeanim [] = "ToyFigurePonCoin_Top_shapeanim_joint"
 
static char str_file [] = "tyfigupon.c"
 
static u16 str_jobj_indices []
 
static char str_err_bg [] = "*** BG data aren't being loaded!\n"
 
static char str_panel_smash_matanim []
 
static char str_bg_animjoint [] = "ToyFigurePonBg_Top_animjoint"
 
static char str_bg_matanim [] = "ToyFigurePonBg_Top_matanim_joint"
 
static char str_bg_shapeanim [] = "ToyFigurePonBg_Top_shapeanim_joint"
 
static char str_nm_joint [] = "ToyFigurePonNm_Top_joint"
 
static char str_nm_animjoint [] = "ToyFigurePonNm_Top_animjoint"
 
static char str_nm_matanim [] = "ToyFigurePonNm_Top_matanim_joint"
 
static char str_nm_shapeanim [] = "ToyFigurePonNm_Top_shapeanim_joint"
 
static char str_bet_joint [] = "ToyFigurePonBet_Top_joint"
 
static char str_bet_animjoint [] = "ToyFigurePonBet_Top_animjoint"
 
static char str_bet_matanim [] = "ToyFigurePonBet_Top_matanim_joint"
 
static char str_bet_shapeanim [] = "ToyFigurePonBet_Top_shapeanim_joint"
 
static char str_panel_arrow_matanim []
 
static char str_lever_joint [] = "ToyFigurePonLever_Top_joint"
 
static char str_lever_animjoint [] = "ToyFigurePonLever_Top_animjoint"
 
static char str_lever_matanim [] = "ToyFigurePonLever_Top_matanim_joint"
 
static char str_lever_shapeanim [] = "ToyFigurePonLever_Top_shapeanim_joint"
 
static char str_par_joint [] = "ToyFigurePonPar_Top_joint"
 
static char str_par_animjoint [] = "ToyFigurePonPar_Top_animjoint"
 
static char str_par_matanim [] = "ToyFigurePonPar_Top_matanim_joint"
 
static char str_par_shapeanim [] = "ToyFigurePonPar_Top_shapeanim_joint"
 
static char str_err_panel [] = "*** Can not Load Panel Label(%s)\n"
 
static char str_scene_lights [] = "ScMenFigure_scene_lights"
 
static char str_sdtoy_jp [] = "SdToy.dat"
 
static char str_sdtoy_data_jp [] = "SIS_ToyData"
 
static char str_sdtoy_us [] = "SdToy.usd"
 
static char str_sdtoy_data_us [] = "SIS_ToyData_E"
 
static char str_nget_joint [] = "ToyFigurePonNget_Top_joint"
 
static char str_nget_animjoint [] = "ToyFigurePonNget_Top_animjoint"
 
static char str_nget_matanim [] = "ToyFigurePonNget_Top_matanim_joint"
 
static char str_nget_shapeanim [] = "ToyFigurePonNget_Top_shapeanim_joint"
 
static HSD_CameraDescPerspective tyfigupon_cam_desc
 
static const Vec3 un_803B8968 = { 0.0f, 1.0f, 0.0f }
 
static u16 un_804D5AA0 = 0xC
 
static char un_804D5AA4 = 0
 
static const DigitInit un_803B8974 = { 0, 0, 0, 0 }
 

Function Documentation

◆ tyFigupon_80314AA8()

void tyFigupon_80314AA8 ( HSD_JObj jobj,
char *  anim_str,
char *  matanim_str,
char *  shapeanim_str 
)

◆ un_80314B54()

s32 un_80314B54 ( void  )

◆ tyFigupon_80314BE4()

void tyFigupon_80314BE4 ( HSD_GObj gobj,
int  unused 
)

◆ tyFigupon_80314C5C()

void tyFigupon_80314C5C ( HSD_GObj gobj)

◆ fn_803152BC()

void fn_803152BC ( HSD_GObj arg0)

◆ un_803153EC()

void un_803153EC ( s32  arg0,
s32  arg1,
s32  arg2,
s32  arg3,
s32  arg4 
)

◆ fn_80315574()

void fn_80315574 ( void  )

◆ fn_803155C8()

void fn_803155C8 ( void  )

◆ fn_80315C44()

void fn_80315C44 ( HSD_GObj arg0)

◆ fn_80316170()

void fn_80316170 ( HSD_GObj arg0)

◆ fn_8031638C()

s32 fn_8031638C ( s16  arg0)

◆ un_80316420()

void un_80316420 ( s16  arg0)

◆ fn_803168DC()

void fn_803168DC ( HSD_GObj arg0)

◆ tyFigupon_80316BF8()

void tyFigupon_80316BF8 ( HSD_GObj arg0)

◆ fn_80316C24()

void fn_80316C24 ( HSD_GObj arg0)

◆ un_8031753C()

void un_8031753C ( void  )

◆ un_80317A60()

void un_80317A60 ( void  )

◆ un_80317D80_OnEnter()

void un_80317D80_OnEnter ( void *  arg0)

◆ un_803181BC()

s32 un_803181BC ( void  )

Variable Documentation

◆ un_804D6EF0

TyFiguponData* un_804D6EF0
extern

◆ un_804D6F04

HSD_CObjDesc* un_804D6F04
extern

◆ un_804D6F08

void* un_804D6F08
extern

◆ un_804D6EFC

s32 un_804D6EFC
extern

◆ un_804D6F00

s32 un_804D6F00
extern

◆ un_803FE5E8

char un_803FE5E8[]
extern

◆ un_804D6EF8

void* un_804D6EF8
extern

◆ str_panel_joint

char str_panel_joint[] = "ToyFigurePonPanel_Top_joint"
static

◆ str_bg_joint

char str_bg_joint[] = "ToyFigurePonBg_Top_joint"
static

◆ str_archive_jp

char str_archive_jp[] = "TyMnFigp.dat"
static

◆ str_archive_us

char str_archive_us[] = "TyMnFigp.usd"
static

◆ str_coin_joint

char str_coin_joint[] = "ToyFigurePonCoin_Top_joint"
static

◆ str_coin_animjoint

char str_coin_animjoint[] = "ToyFigurePonCoin_Top_animjoint"
static

◆ str_coin_matanim

char str_coin_matanim[] = "ToyFigurePonCoin_Top_matanim_joint"
static

◆ str_coin_shapeanim

char str_coin_shapeanim[] = "ToyFigurePonCoin_Top_shapeanim_joint"
static

◆ str_file

char str_file[] = "tyfigupon.c"
static

◆ str_jobj_indices

u16 str_jobj_indices[]
static
Initial value:
= {
0x4, 0x2, 0x3, 0x5, 0x6, 0x7, 0x8, 0x9, 0xD, 0xA, 0xB, 0xC, 0xE,
}

◆ str_err_bg

char str_err_bg[] = "*** BG data aren't being loaded!\n"
static

◆ str_panel_smash_matanim

char str_panel_smash_matanim[]
static
Initial value:
=
"ToyFigurePonPanel_zsmash_matanim_joint"

◆ str_bg_animjoint

char str_bg_animjoint[] = "ToyFigurePonBg_Top_animjoint"
static

◆ str_bg_matanim

char str_bg_matanim[] = "ToyFigurePonBg_Top_matanim_joint"
static

◆ str_bg_shapeanim

char str_bg_shapeanim[] = "ToyFigurePonBg_Top_shapeanim_joint"
static

◆ str_nm_joint

char str_nm_joint[] = "ToyFigurePonNm_Top_joint"
static

◆ str_nm_animjoint

char str_nm_animjoint[] = "ToyFigurePonNm_Top_animjoint"
static

◆ str_nm_matanim

char str_nm_matanim[] = "ToyFigurePonNm_Top_matanim_joint"
static

◆ str_nm_shapeanim

char str_nm_shapeanim[] = "ToyFigurePonNm_Top_shapeanim_joint"
static

◆ str_bet_joint

char str_bet_joint[] = "ToyFigurePonBet_Top_joint"
static

◆ str_bet_animjoint

char str_bet_animjoint[] = "ToyFigurePonBet_Top_animjoint"
static

◆ str_bet_matanim

char str_bet_matanim[] = "ToyFigurePonBet_Top_matanim_joint"
static

◆ str_bet_shapeanim

char str_bet_shapeanim[] = "ToyFigurePonBet_Top_shapeanim_joint"
static

◆ str_panel_arrow_matanim

char str_panel_arrow_matanim[]
static
Initial value:
=
"ToyFigurePonPanel_zarrow_matanim_joint"

◆ str_lever_joint

char str_lever_joint[] = "ToyFigurePonLever_Top_joint"
static

◆ str_lever_animjoint

char str_lever_animjoint[] = "ToyFigurePonLever_Top_animjoint"
static

◆ str_lever_matanim

char str_lever_matanim[] = "ToyFigurePonLever_Top_matanim_joint"
static

◆ str_lever_shapeanim

char str_lever_shapeanim[] = "ToyFigurePonLever_Top_shapeanim_joint"
static

◆ str_par_joint

char str_par_joint[] = "ToyFigurePonPar_Top_joint"
static

◆ str_par_animjoint

char str_par_animjoint[] = "ToyFigurePonPar_Top_animjoint"
static

◆ str_par_matanim

char str_par_matanim[] = "ToyFigurePonPar_Top_matanim_joint"
static

◆ str_par_shapeanim

char str_par_shapeanim[] = "ToyFigurePonPar_Top_shapeanim_joint"
static

◆ str_err_panel

char str_err_panel[] = "*** Can not Load Panel Label(%s)\n"
static

◆ str_scene_lights

char str_scene_lights[] = "ScMenFigure_scene_lights"
static

◆ str_sdtoy_jp

char str_sdtoy_jp[] = "SdToy.dat"
static

◆ str_sdtoy_data_jp

char str_sdtoy_data_jp[] = "SIS_ToyData"
static

◆ str_sdtoy_us

char str_sdtoy_us[] = "SdToy.usd"
static

◆ str_sdtoy_data_us

char str_sdtoy_data_us[] = "SIS_ToyData_E"
static

◆ str_nget_joint

char str_nget_joint[] = "ToyFigurePonNget_Top_joint"
static

◆ str_nget_animjoint

char str_nget_animjoint[] = "ToyFigurePonNget_Top_animjoint"
static

◆ str_nget_matanim

char str_nget_matanim[] = "ToyFigurePonNget_Top_matanim_joint"
static

◆ str_nget_shapeanim

char str_nget_shapeanim[] = "ToyFigurePonNget_Top_shapeanim_joint"
static

◆ tyfigupon_cam_desc

HSD_CameraDescPerspective tyfigupon_cam_desc
static
Initial value:
= {
0,
1,
{ 0, 640, 0, 480 },
{ 0, 640, 0, 480 },
0.0f,
0.1f,
32768.0f,
40.0f,
1.2173333f,
}
#define NULL
Definition stddef.h:19

◆ un_803B8968

const Vec3 un_803B8968 = { 0.0f, 1.0f, 0.0f }
static

◆ un_804D5AA0

u16 un_804D5AA0 = 0xC
static

◆ un_804D5AA4

char un_804D5AA4 = 0
static

◆ un_803B8974

const DigitInit un_803B8974 = { 0, 0, 0, 0 }
static