mirror of
https://github.com/zeldaret/tww.git
synced 2026-08-18 05:08:57 -04:00
Generate all actor profiles and method tables
This commit is contained in:
+25
-1
@@ -7,7 +7,6 @@
|
||||
#include "d/actor/d_a_player_main.h"
|
||||
#include "d/d_kankyo_rain.h"
|
||||
#include "d/d_procname.h"
|
||||
#include "dolphin/types.h"
|
||||
#include "f_op/f_op_camera_mng.h"
|
||||
#include "f_pc/f_pc_manager.h"
|
||||
|
||||
@@ -529,3 +528,28 @@ static s32 daPW_Create(fopAc_ac_c* i_actor) {
|
||||
/* Nonmatching */
|
||||
fopAcM_SetupActor(i_actor, pw_class);
|
||||
}
|
||||
|
||||
static actor_method_class l_daPW_Method = {
|
||||
(process_method_func)daPW_Create,
|
||||
(process_method_func)daPW_Delete,
|
||||
(process_method_func)daPW_Execute,
|
||||
(process_method_func)daPW_IsDelete,
|
||||
(process_method_func)daPW_Draw,
|
||||
};
|
||||
|
||||
actor_process_profile_definition g_profile_PW = {
|
||||
/* LayerID */ fpcLy_CURRENT_e,
|
||||
/* ListID */ 0x0007,
|
||||
/* ListPrio */ fpcPi_CURRENT_e,
|
||||
/* ProcName */ PROC_PW,
|
||||
/* Proc SubMtd */ &g_fpcLf_Method.base,
|
||||
/* Size */ sizeof(pw_class),
|
||||
/* SizeOther */ 0,
|
||||
/* Parameters */ 0,
|
||||
/* Leaf SubMtd */ &g_fopAc_Method.base,
|
||||
/* Priority */ 0x00C7,
|
||||
/* Actor SubMtd */ &l_daPW_Method,
|
||||
/* Status */ fopAcStts_SHOWMAP_e | fopAcStts_CULL_e | fopAcStts_UNK40000_e | fopAcStts_UNK80000_e,
|
||||
/* Group */ fopAc_ENEMY_e,
|
||||
/* CullType */ fopAc_CULLBOX_CUSTOM_e,
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user