Generate all actor profiles and method tables

This commit is contained in:
LagoLunatic
2024-04-21 23:28:36 -04:00
parent 6fb2cfde99
commit 94f3b78155
346 changed files with 8970 additions and 272 deletions
+30 -1
View File
@@ -4,7 +4,7 @@
//
#include "d/actor/d_a_obj_table.h"
#include "dolphin/types.h"
#include "d/d_procname.h"
/* 00000078-000001B8 .text CreateHeap__Q210daObjTable5Act_cFv */
BOOL daObjTable::Act_c::CreateHeap() {
@@ -50,3 +50,32 @@ int daObjTable::Act_c::Execute(Mtx**) {
BOOL daObjTable::Act_c::Draw() {
/* Nonmatching */
}
namespace daObjTable {
namespace {
static actor_method_class Mthd_Table = {
(process_method_func)Mthd_Create,
(process_method_func)Mthd_Delete,
(process_method_func)Mthd_Execute,
(process_method_func)Mthd_IsDelete,
(process_method_func)Mthd_Draw,
};
}; // namespace
}; // namespace daObjTable
actor_process_profile_definition g_profile_Obj_Table = {
/* LayerID */ fpcLy_CURRENT_e,
/* ListID */ 0x0007,
/* ListPrio */ fpcPi_CURRENT_e,
/* ProcName */ PROC_Obj_Table,
/* Proc SubMtd */ &g_fpcLf_Method.base,
/* Size */ sizeof(daObjTable::Act_c),
/* SizeOther */ 0,
/* Parameters */ 0,
/* Leaf SubMtd */ &g_fopAc_Method.base,
/* Priority */ 0x0075,
/* Actor SubMtd */ &daObjTable::Mthd_Table,
/* Status */ fopAcStts_NOCULLEXEC_e | fopAcStts_CULL_e | fopAcStts_UNK40000_e,
/* Group */ fopAc_ACTOR_e,
/* CullType */ fopAc_CULLBOX_CUSTOM_e,
};