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_coming2.h"
#include "dolphin/types.h"
#include "d/d_procname.h"
/* 000000EC-00000164 .text chase_ship__Q29daComing25Act_cFv */
void daComing2::Act_c::chase_ship() {
@@ -180,3 +180,32 @@ BOOL daComing2::Act_c::_execute() {
BOOL daComing2::Act_c::_draw() {
/* Nonmatching */
}
namespace daComing2 {
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 daComing2
actor_process_profile_definition g_profile_Coming2 = {
/* LayerID */ fpcLy_CURRENT_e,
/* ListID */ 0x0007,
/* ListPrio */ fpcPi_CURRENT_e,
/* ProcName */ PROC_Coming2,
/* Proc SubMtd */ &g_fpcLf_Method.base,
/* Size */ sizeof(daComing2::Act_c),
/* SizeOther */ 0,
/* Parameters */ 0,
/* Leaf SubMtd */ &g_fopAc_Method.base,
/* Priority */ 0x0028,
/* Actor SubMtd */ &daComing2::Mthd_Table,
/* Status */ fopAcStts_UNK4000_e | fopAcStts_UNK40000_e,
/* Group */ fopAc_ACTOR_e,
/* CullType */ fopAc_CULLBOX_CUSTOM_e,
};