mirror of
https://github.com/zeldaret/tp
synced 2026-08-16 05:09:22 -04:00
Setup d_a_obj Actors (#2161)
* checkpoint * checkpoint * checkpoint * checkpoint * checkpoint * checkpoint * checkpoint * finish * add class comments * checkpoint * checkpoint * checkpoint * checkpoint * checkpoint * checkpoint * checkpoint * checkpoint * checkpoint * checkpoint * checkpoint * checkpoint * finish * add class comments * rm duplicate comments * fix build
This commit is contained in:
@@ -1,78 +1,12 @@
|
||||
//
|
||||
// Generated By: dol2asm
|
||||
// Translation Unit: d_a_obj_timeFire
|
||||
//
|
||||
/**
|
||||
* @file d_a_obj_timeFire.cpp
|
||||
*
|
||||
*/
|
||||
|
||||
#include "rel/d/a/obj/d_a_obj_timeFire/d_a_obj_timeFire.h"
|
||||
#include "dol2asm.h"
|
||||
|
||||
//
|
||||
// Types:
|
||||
//
|
||||
|
||||
struct mDoMtx_stack_c {
|
||||
static u8 now[48];
|
||||
};
|
||||
|
||||
struct mDoHIO_entry_c {
|
||||
/* 80D0E910 */ ~mDoHIO_entry_c();
|
||||
};
|
||||
|
||||
struct fopAc_ac_c {
|
||||
/* 80018B64 */ fopAc_ac_c();
|
||||
};
|
||||
|
||||
struct daTimeFire_c {
|
||||
/* 80D0E958 */ void setBaseMtx();
|
||||
/* 80D0E9B0 */ void create();
|
||||
/* 80D0EACC */ void lightInit();
|
||||
/* 80D0EB40 */ void setLight();
|
||||
/* 80D0EB64 */ void cutLight();
|
||||
/* 80D0EB88 */ void Execute();
|
||||
/* 80D0ED68 */ void fireCheck(u8);
|
||||
/* 80D0EF88 */ bool Draw();
|
||||
/* 80D0EF90 */ void Delete();
|
||||
};
|
||||
|
||||
struct daTimeFire_HIO_c {
|
||||
/* 80D0E8EC */ daTimeFire_HIO_c();
|
||||
/* 80D0F038 */ ~daTimeFire_HIO_c();
|
||||
};
|
||||
|
||||
struct dSv_info_c {
|
||||
/* 80035360 */ void isSwitch(int, int) const;
|
||||
};
|
||||
|
||||
struct dPa_levelEcallBack {};
|
||||
|
||||
struct dKy_tevstr_c {};
|
||||
|
||||
struct csXyz {};
|
||||
|
||||
struct _GXColor {};
|
||||
|
||||
struct cXyz {};
|
||||
|
||||
struct dPa_control_c {
|
||||
/* 8004D4CC */ void set(u32, u8, u16, cXyz const*, dKy_tevstr_c const*, csXyz const*,
|
||||
cXyz const*, u8, dPa_levelEcallBack*, s8, _GXColor const*,
|
||||
_GXColor const*, cXyz const*, f32);
|
||||
};
|
||||
|
||||
struct JAISoundID {};
|
||||
|
||||
struct Vec {};
|
||||
|
||||
struct Z2SeMgr {
|
||||
/* 802AB984 */ void seStart(JAISoundID, Vec const*, u32, s8, f32, f32, f32, f32, u8);
|
||||
/* 802AC50C */ void seStartLevel(JAISoundID, Vec const*, u32, s8, f32, f32, f32, f32, u8);
|
||||
};
|
||||
|
||||
struct Z2AudioMgr {
|
||||
static u8 mAudioMgrPtr[4 + 4 /* padding */];
|
||||
};
|
||||
|
||||
struct LIGHT_INFLUENCE {};
|
||||
|
||||
//
|
||||
// Forward References:
|
||||
@@ -113,11 +47,8 @@ extern "C" void dKy_plight_cut__FP15LIGHT_INFLUENCE();
|
||||
extern "C" void seStart__7Z2SeMgrF10JAISoundIDPC3VecUlScffffUc();
|
||||
extern "C" void seStartLevel__7Z2SeMgrF10JAISoundIDPC3VecUlScffffUc();
|
||||
extern "C" void __dl__FPv();
|
||||
extern "C" void PSMTXTrans();
|
||||
extern "C" void _savegpr_28();
|
||||
extern "C" void _restgpr_28();
|
||||
extern "C" extern void* g_fopAc_Method[8];
|
||||
extern "C" extern void* g_fpcLf_Method[5 + 1 /* padding */];
|
||||
extern "C" u8 now__14mDoMtx_stack_c[48];
|
||||
extern "C" extern u8 g_dComIfG_gameInfo[122384];
|
||||
extern "C" u8 mAudioMgrPtr__10Z2AudioMgr[4 + 4 /* padding */];
|
||||
@@ -129,25 +60,30 @@ extern "C" void __register_global_object();
|
||||
|
||||
/* ############################################################################################## */
|
||||
/* 80D0F100-80D0F120 -00001 0020+00 1/0 0/0 0/0 .data l_daTimeFire_Method */
|
||||
SECTION_DATA static void* l_daTimeFire_Method[8] = {
|
||||
(void*)daTimeFire_Create__FP10fopAc_ac_c,
|
||||
(void*)daTimeFire_Delete__FP12daTimeFire_c,
|
||||
(void*)daTimeFire_Execute__FP12daTimeFire_c,
|
||||
(void*)NULL,
|
||||
(void*)daTimeFire_Draw__FP12daTimeFire_c,
|
||||
(void*)NULL,
|
||||
(void*)NULL,
|
||||
(void*)NULL,
|
||||
static actor_method_class l_daTimeFire_Method = {
|
||||
(process_method_func)daTimeFire_Create__FP10fopAc_ac_c,
|
||||
(process_method_func)daTimeFire_Delete__FP12daTimeFire_c,
|
||||
(process_method_func)daTimeFire_Execute__FP12daTimeFire_c,
|
||||
0,
|
||||
(process_method_func)daTimeFire_Draw__FP12daTimeFire_c,
|
||||
};
|
||||
|
||||
/* 80D0F120-80D0F150 -00001 0030+00 0/0 0/0 1/0 .data g_profile_Obj_TimeFire */
|
||||
SECTION_DATA extern void* g_profile_Obj_TimeFire[12] = {
|
||||
(void*)0xFFFFFFFD, (void*)0x0007FFFD,
|
||||
(void*)0x01940000, (void*)&g_fpcLf_Method,
|
||||
(void*)0x000005C0, (void*)NULL,
|
||||
(void*)NULL, (void*)&g_fopAc_Method,
|
||||
(void*)0x02950000, (void*)&l_daTimeFire_Method,
|
||||
(void*)0x00060000, (void*)0x000E0000,
|
||||
extern actor_process_profile_definition g_profile_Obj_TimeFire = {
|
||||
fpcLy_CURRENT_e, // mLayerID
|
||||
7, // mListID
|
||||
fpcPi_CURRENT_e, // mListPrio
|
||||
PROC_Obj_TimeFire, // mProcName
|
||||
&g_fpcLf_Method.mBase, // sub_method
|
||||
sizeof(daTimeFire_c), // mSize
|
||||
0, // mSizeOther
|
||||
0, // mParameters
|
||||
&g_fopAc_Method.base, // sub_method
|
||||
661, // mPriority
|
||||
&l_daTimeFire_Method, // sub_method
|
||||
0x00060000, // mStatus
|
||||
fopAc_ACTOR_e, // mActorType
|
||||
fopAc_CULLBOX_CUSTOM_e, // cullType
|
||||
};
|
||||
|
||||
/* 80D0F150-80D0F15C 000050 000C+00 2/2 0/0 0/0 .data __vt__16daTimeFire_HIO_c */
|
||||
@@ -178,7 +114,8 @@ asm daTimeFire_HIO_c::daTimeFire_HIO_c() {
|
||||
#pragma push
|
||||
#pragma optimization_level 0
|
||||
#pragma optimizewithasm off
|
||||
asm mDoHIO_entry_c::~mDoHIO_entry_c() {
|
||||
// asm mDoHIO_entry_c::~mDoHIO_entry_c() {
|
||||
extern "C" asm void __dt__14mDoHIO_entry_cFv() {
|
||||
nofralloc
|
||||
#include "asm/rel/d/a/obj/d_a_obj_timeFire/d_a_obj_timeFire/__dt__14mDoHIO_entry_cFv.s"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user