mirror of
https://github.com/TwilitRealm/dusklight
synced 2026-08-14 03:52:13 -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,60 +1,11 @@
|
||||
//
|
||||
// Generated By: dol2asm
|
||||
// Translation Unit: d_a_obj_timer
|
||||
//
|
||||
/**
|
||||
* @file d_a_obj_timer.cpp
|
||||
*
|
||||
*/
|
||||
|
||||
#include "rel/d/a/obj/d_a_obj_timer/d_a_obj_timer.h"
|
||||
#include "dol2asm.h"
|
||||
|
||||
//
|
||||
// Types:
|
||||
//
|
||||
|
||||
struct fopAc_ac_c {
|
||||
/* 80018B64 */ fopAc_ac_c();
|
||||
};
|
||||
|
||||
struct daObjTimer {
|
||||
struct Act_c {
|
||||
struct Prm_e {};
|
||||
|
||||
/* 80485198 */ void _create();
|
||||
/* 8048526C */ bool _delete();
|
||||
/* 80485274 */ void mode_wait_init();
|
||||
/* 80485284 */ void mode_wait();
|
||||
/* 804852E0 */ void mode_count_init();
|
||||
/* 80485324 */ void mode_count();
|
||||
/* 804854BC */ void _execute();
|
||||
};
|
||||
};
|
||||
|
||||
struct daObj {
|
||||
template <typename A1>
|
||||
void PrmAbstract(/* ... */);
|
||||
/* 8048561C */ /* daObj::PrmAbstract<daObjTimer::Act_c::Prm_e> */
|
||||
void func_8048561C(void* _this, fopAc_ac_c const*, daObjTimer::Act_c::Prm_e,
|
||||
daObjTimer::Act_c::Prm_e);
|
||||
};
|
||||
|
||||
struct dSv_info_c {
|
||||
/* 800352B0 */ void offSwitch(int, int);
|
||||
/* 80035360 */ void isSwitch(int, int) const;
|
||||
};
|
||||
|
||||
struct create_tag_class {};
|
||||
|
||||
struct JAISoundID {};
|
||||
|
||||
struct Vec {};
|
||||
|
||||
struct Z2SeMgr {
|
||||
/* 802AB984 */ void seStart(JAISoundID, Vec const*, u32, s8, f32, f32, f32, f32, u8);
|
||||
};
|
||||
|
||||
struct Z2AudioMgr {
|
||||
static u8 mAudioMgrPtr[4 + 4 /* padding */];
|
||||
};
|
||||
|
||||
//
|
||||
// Forward References:
|
||||
//
|
||||
@@ -73,7 +24,6 @@ extern "C" static bool func_8048560C();
|
||||
extern "C" static bool func_80485614();
|
||||
extern "C" void func_8048561C(void* _this, fopAc_ac_c const*, daObjTimer::Act_c::Prm_e,
|
||||
daObjTimer::Act_c::Prm_e);
|
||||
extern "C" extern void* g_profile_Obj_Timer[12];
|
||||
|
||||
//
|
||||
// External References:
|
||||
@@ -86,8 +36,6 @@ extern "C" void offSwitch__10dSv_info_cFii();
|
||||
extern "C" void isSwitch__10dSv_info_cCFii();
|
||||
extern "C" void seStart__7Z2SeMgrF10JAISoundIDPC3VecUlScffffUc();
|
||||
extern "C" void __ptmf_scall();
|
||||
extern "C" extern void* g_fopAc_Method[8];
|
||||
extern "C" extern void* g_fpcLf_Method[5 + 1 /* padding */];
|
||||
extern "C" extern u8 g_dComIfG_gameInfo[122384];
|
||||
extern "C" u8 mAudioMgrPtr__10Z2AudioMgr[4 + 4 /* padding */];
|
||||
extern "C" extern u8 data_804856E8[4];
|
||||
@@ -282,14 +230,28 @@ extern "C" asm void func_8048561C(void* _this, fopAc_ac_c const* param_0,
|
||||
/* ############################################################################################## */
|
||||
/* 80485698-804856B8 -00001 0020+00 1/0 0/0 0/0 .data
|
||||
* Mthd_Table__Q210daObjTimer27@unnamed@d_a_obj_timer_cpp@ */
|
||||
SECTION_DATA static void* data_80485698[8] = {
|
||||
(void*)func_804855A4, (void*)func_804855C4, (void*)func_804855E8, (void*)func_80485614,
|
||||
(void*)func_8048560C, (void*)NULL, (void*)NULL, (void*)NULL,
|
||||
static actor_method_class data_80485698 = {
|
||||
(process_method_func)func_804855A4,
|
||||
(process_method_func)func_804855C4,
|
||||
(process_method_func)func_804855E8,
|
||||
(process_method_func)func_80485614,
|
||||
(process_method_func)func_8048560C,
|
||||
};
|
||||
|
||||
/* 804856B8-804856E8 -00001 0030+00 0/0 0/0 1/0 .data g_profile_Obj_Timer */
|
||||
SECTION_DATA extern void* g_profile_Obj_Timer[12] = {
|
||||
(void*)0xFFFFFFFD, (void*)0x000AFFFD, (void*)0x030B0000, (void*)&g_fpcLf_Method,
|
||||
(void*)0x00000574, (void*)NULL, (void*)NULL, (void*)&g_fopAc_Method,
|
||||
(void*)0x00160000, (void*)&data_80485698, (void*)0x00040000, (void*)NULL,
|
||||
extern actor_process_profile_definition g_profile_Obj_Timer = {
|
||||
fpcLy_CURRENT_e, // mLayerID
|
||||
10, // mListID
|
||||
fpcPi_CURRENT_e, // mListPrio
|
||||
PROC_Obj_Timer, // mProcName
|
||||
&g_fpcLf_Method.mBase, // sub_method
|
||||
sizeof(daObjTimer), // mSize
|
||||
0, // mSizeOther
|
||||
0, // mParameters
|
||||
&g_fopAc_Method.base, // sub_method
|
||||
22, // mPriority
|
||||
&data_80485698, // sub_method
|
||||
0x00040000, // mStatus
|
||||
fopAc_ACTOR_e, // mActorType
|
||||
fopAc_CULLBOX_0_e, // cullType
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user