diff options
| author | LagoLunatic <LagoLunatic@users.noreply.github.com> | 2024-04-21 23:28:36 -0400 |
|---|---|---|
| committer | LagoLunatic <LagoLunatic@users.noreply.github.com> | 2024-04-21 23:31:40 -0400 |
| commit | 94f3b78155f75de3a1bb1eaf8652d9017df18d65 (patch) | |
| tree | 9d69ea4402ca026bcd60fefcf56531f8558e356d /src/d/actor/d_a_obj_figure.cpp | |
| parent | 6fb2cfde999d7aec40254a76c8c93c6a015e2b4e (diff) | |
Generate all actor profiles and method tables
Diffstat (limited to 'src/d/actor/d_a_obj_figure.cpp')
| -rw-r--r-- | src/d/actor/d_a_obj_figure.cpp | 27 |
1 files changed, 26 insertions, 1 deletions
diff --git a/src/d/actor/d_a_obj_figure.cpp b/src/d/actor/d_a_obj_figure.cpp index df0d9b26..752e721b 100644 --- a/src/d/actor/d_a_obj_figure.cpp +++ b/src/d/actor/d_a_obj_figure.cpp @@ -4,7 +4,7 @@ // #include "d/actor/d_a_obj_figure.h" -#include "dolphin/types.h" +#include "d/d_procname.h" /* 000000EC-0000032C .text __ct__13daObjFigure_cFv */ daObjFigure_c::daObjFigure_c() { @@ -160,3 +160,28 @@ static BOOL daSampleIsDelete(void*) { void linkDraw(mDoExt_McaMorf*) { /* Nonmatching */ } + +static actor_method_class daSampleMethodTable = { + (process_method_func)daSampleCreate, + (process_method_func)daSampleDelete, + (process_method_func)daSampleExecute, + (process_method_func)daSampleIsDelete, + (process_method_func)daSampleDraw, +}; + +actor_process_profile_definition g_profile_OBJ_FIGURE = { + /* LayerID */ fpcLy_CURRENT_e, + /* ListID */ 0x0007, + /* ListPrio */ fpcPi_CURRENT_e, + /* ProcName */ PROC_OBJ_FIGURE, + /* Proc SubMtd */ &g_fpcLf_Method.base, + /* Size */ sizeof(daObjFigure_c), + /* SizeOther */ 0, + /* Parameters */ 0, + /* Leaf SubMtd */ &g_fopAc_Method.base, + /* Priority */ 0x01C7, + /* Actor SubMtd */ &daSampleMethodTable, + /* Status */ fopAcStts_CULL_e | fopAcStts_UNK40000_e, + /* Group */ fopAc_ACTOR_e, + /* CullType */ fopAc_CULLBOX_CUSTOM_e, +}; |
