mirror of
https://github.com/zeldaret/tww.git
synced 2026-08-18 13:13:29 -04:00
Generate all actor profiles and method tables
This commit is contained in:
@@ -4,7 +4,7 @@
|
||||
//
|
||||
|
||||
#include "d/actor/d_a_warphr.h"
|
||||
#include "dolphin/types.h"
|
||||
#include "d/d_procname.h"
|
||||
|
||||
/* 000000EC-0000016C .text _delete__10daWarphr_cFv */
|
||||
BOOL daWarphr_c::_delete() {
|
||||
@@ -166,3 +166,28 @@ static BOOL daWarphr_IsDelete(void*) {
|
||||
/* Nonmatching */
|
||||
}
|
||||
|
||||
|
||||
static actor_method_class daWarphrMethodTable = {
|
||||
(process_method_func)daWarphr_Create,
|
||||
(process_method_func)daWarphr_Delete,
|
||||
(process_method_func)daWarphr_Execute,
|
||||
(process_method_func)daWarphr_IsDelete,
|
||||
(process_method_func)daWarphr_Draw,
|
||||
};
|
||||
|
||||
actor_process_profile_definition g_profile_WARPHYRULE = {
|
||||
/* LayerID */ fpcLy_CURRENT_e,
|
||||
/* ListID */ 0x0003,
|
||||
/* ListPrio */ fpcPi_CURRENT_e,
|
||||
/* ProcName */ PROC_WARPHYRULE,
|
||||
/* Proc SubMtd */ &g_fpcLf_Method.base,
|
||||
/* Size */ sizeof(daWarphr_c),
|
||||
/* SizeOther */ 0,
|
||||
/* Parameters */ 0,
|
||||
/* Leaf SubMtd */ &g_fopAc_Method.base,
|
||||
/* Priority */ 0x01A5,
|
||||
/* Actor SubMtd */ &daWarphrMethodTable,
|
||||
/* Status */ fopAcStts_CULL_e | fopAcStts_UNK4000_e | fopAcStts_UNK40000_e,
|
||||
/* Group */ fopAc_ACTOR_e,
|
||||
/* CullType */ fopAc_CULLBOX_CUSTOM_e,
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user