mirror of
https://github.com/zeldaret/tww.git
synced 2026-05-23 23:05:11 -04:00
b77717694c
This fixes the sdata linker error in the debug build.
142 lines
4.4 KiB
C++
142 lines
4.4 KiB
C++
/**
|
|
* d_a_mant.cpp
|
|
* Object - Phantom Ganon's cape/Darknut cape
|
|
*/
|
|
|
|
#include "d/dolzel_rel.h" // IWYU pragma: keep
|
|
#include "d/actor/d_a_mant.h"
|
|
#include "d/d_procname.h"
|
|
#include "d/d_priority.h"
|
|
#include "d/d_cc_d.h"
|
|
|
|
/* 000000EC-000003EC .text draw__15daMant_packet_cFv */
|
|
void daMant_packet_c::draw() {
|
|
/* Nonmatching */
|
|
}
|
|
|
|
/* 000003EC-000004E8 .text daMant_Draw__FP10mant_class */
|
|
static BOOL daMant_Draw(mant_class*) {
|
|
/* Nonmatching */
|
|
}
|
|
|
|
/* 000004E8-00000FC0 .text joint_control__FP10mant_classP8mant_j_si */
|
|
void joint_control(mant_class*, mant_j_s*, int) {
|
|
/* Nonmatching */
|
|
}
|
|
|
|
/* 0000137C-000015F0 .text mant_v_calc__FP10mant_class */
|
|
void mant_v_calc(mant_class*) {
|
|
/* Nonmatching */
|
|
}
|
|
|
|
/* 000015F0-000017EC .text mant_n_calc__FP10mant_class */
|
|
void mant_n_calc(mant_class*) {
|
|
/* Nonmatching */
|
|
}
|
|
|
|
/* 000017EC-000019C0 .text mant_move__FP10mant_class */
|
|
void mant_move(mant_class*) {
|
|
/* Nonmatching */
|
|
}
|
|
|
|
/* 000019C0-00001A3C .text daMant_Execute__FP10mant_class */
|
|
static BOOL daMant_Execute(mant_class*) {
|
|
/* Nonmatching */
|
|
}
|
|
|
|
/* 00001A3C-00001A44 .text daMant_IsDelete__FP10mant_class */
|
|
static BOOL daMant_IsDelete(mant_class*) {
|
|
return TRUE;
|
|
}
|
|
|
|
/* 00001A44-00001A4C .text daMant_Delete__FP10mant_class */
|
|
static BOOL daMant_Delete(mant_class*) {
|
|
return TRUE;
|
|
}
|
|
|
|
/* 00001A4C-00001D18 .text daMant_Create__FP10fopAc_ac_c */
|
|
static cPhs_State daMant_Create(fopAc_ac_c*) {
|
|
/* Nonmatching */
|
|
static dCcD_SrcSph wind_cc_sph_src = {
|
|
// dCcD_SrcGObjInf
|
|
{
|
|
/* Flags */ 0,
|
|
/* SrcObjAt Type */ 0,
|
|
/* SrcObjAt Atp */ 0,
|
|
/* SrcObjAt SPrm */ 0,
|
|
/* SrcObjTg Type */ AT_TYPE_WIND,
|
|
/* SrcObjTg SPrm */ cCcD_TgSPrm_Set_e | cCcD_TgSPrm_IsEnemy_e,
|
|
/* SrcObjCo SPrm */ 0,
|
|
/* SrcGObjAt Se */ 0,
|
|
/* SrcGObjAt HitMark */ dCcG_AtHitMark_None_e,
|
|
/* SrcGObjAt Spl */ dCcG_At_Spl_UNK0,
|
|
/* SrcGObjAt Mtrl */ 0,
|
|
/* SrcGObjAt SPrm */ 0,
|
|
/* SrcGObjTg Se */ 0,
|
|
/* SrcGObjTg HitMark */ 0,
|
|
/* SrcGObjTg Spl */ dCcG_Tg_Spl_UNK0,
|
|
/* SrcGObjTg Mtrl */ 0,
|
|
/* SrcGObjTg SPrm */ 0,
|
|
/* SrcGObjCo SPrm */ 0,
|
|
},
|
|
// cM3dGSphS
|
|
{{
|
|
/* Center */ {0.0f, 0.0f, 0.0f},
|
|
/* Radius */ 200.0f,
|
|
}},
|
|
};
|
|
static dCcD_SrcSph mesh_cc_sph_src = {
|
|
// dCcD_SrcGObjInf
|
|
{
|
|
/* Flags */ 0,
|
|
/* SrcObjAt Type */ 0,
|
|
/* SrcObjAt Atp */ 0,
|
|
/* SrcObjAt SPrm */ 0,
|
|
/* SrcObjTg Type */ AT_TYPE_ALL & ~AT_TYPE_WATER & ~AT_TYPE_UNK20000 & ~AT_TYPE_WIND & ~AT_TYPE_UNK400000 & ~AT_TYPE_LIGHT,
|
|
/* SrcObjTg SPrm */ cCcD_TgSPrm_Set_e | cCcD_TgSPrm_IsEnemy_e,
|
|
/* SrcObjCo SPrm */ 0,
|
|
/* SrcGObjAt Se */ 0,
|
|
/* SrcGObjAt HitMark */ dCcG_AtHitMark_None_e,
|
|
/* SrcGObjAt Spl */ dCcG_At_Spl_UNK0,
|
|
/* SrcGObjAt Mtrl */ 0,
|
|
/* SrcGObjAt SPrm */ 0,
|
|
/* SrcGObjTg Se */ 0,
|
|
/* SrcGObjTg HitMark */ 0,
|
|
/* SrcGObjTg Spl */ dCcG_Tg_Spl_UNK0,
|
|
/* SrcGObjTg Mtrl */ 0,
|
|
/* SrcGObjTg SPrm */ 0,
|
|
/* SrcGObjCo SPrm */ 0,
|
|
},
|
|
// cM3dGSphS
|
|
{{
|
|
/* Center */ {0.0f, 0.0f, 0.0f},
|
|
/* Radius */ 30.0f,
|
|
}},
|
|
};
|
|
}
|
|
|
|
static actor_method_class l_daMant_Method = {
|
|
(process_method_func)daMant_Create,
|
|
(process_method_func)daMant_Delete,
|
|
(process_method_func)daMant_Execute,
|
|
(process_method_func)daMant_IsDelete,
|
|
(process_method_func)daMant_Draw,
|
|
};
|
|
|
|
actor_process_profile_definition g_profile_MANT = {
|
|
/* LayerID */ fpcLy_CURRENT_e,
|
|
/* ListID */ 0x0007,
|
|
/* ListPrio */ fpcPi_CURRENT_e,
|
|
/* ProcName */ PROC_MANT,
|
|
/* Proc SubMtd */ &g_fpcLf_Method.base,
|
|
/* Size */ sizeof(mant_class),
|
|
/* SizeOther */ 0,
|
|
/* Parameters */ 0,
|
|
/* Leaf SubMtd */ &g_fopAc_Method.base,
|
|
/* Priority */ PRIO_MANT,
|
|
/* Actor SubMtd */ &l_daMant_Method,
|
|
/* Status */ fopAcStts_CULL_e | fopAcStts_UNK4000_e | fopAcStts_UNK40000_e,
|
|
/* Group */ fopAc_ACTOR_e,
|
|
/* CullType */ fopAc_CULLBOX_CUSTOM_e,
|
|
};
|