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.
339 lines
10 KiB
C++
339 lines
10 KiB
C++
/**
|
|
* d_a_gnd.cpp
|
|
* Boss - Ganondorf
|
|
*/
|
|
|
|
#include "d/dolzel_rel.h" // IWYU pragma: keep
|
|
#include "d/actor/d_a_gnd.h"
|
|
#include "d/d_procname.h"
|
|
#include "d/d_priority.h"
|
|
#include "d/d_cc_d.h"
|
|
|
|
/* 000000EC-0000023C .text __ct__11daGnd_HIO_cFv */
|
|
daGnd_HIO_c::daGnd_HIO_c() {
|
|
/* Nonmatching */
|
|
}
|
|
|
|
/* 0000023C-000003CC .text j_demo__FP9gnd_class */
|
|
void j_demo(gnd_class*) {
|
|
/* Nonmatching */
|
|
}
|
|
|
|
/* 000003CC-000003EC .text checkGround__FP9gnd_classf */
|
|
void checkGround(gnd_class*, float) {
|
|
/* Nonmatching */
|
|
}
|
|
|
|
/* 000003EC-00000510 .text setRipple__FP9gnd_class */
|
|
void setRipple(gnd_class*) {
|
|
/* Nonmatching */
|
|
}
|
|
|
|
/* 0000054C-000005DC .text splash_set__FP9gnd_class */
|
|
void splash_set(gnd_class*) {
|
|
/* Nonmatching */
|
|
}
|
|
|
|
/* 000005DC-000006B4 .text attack_eff_set__FP9gnd_classi */
|
|
void attack_eff_set(gnd_class*, int) {
|
|
/* Nonmatching */
|
|
}
|
|
|
|
/* 000006B4-00000738 .text attack_eff_move__FP9gnd_class */
|
|
void attack_eff_move(gnd_class*) {
|
|
/* Nonmatching */
|
|
}
|
|
|
|
/* 00000738-0000077C .text attack_eff_remove__FP9gnd_class */
|
|
void attack_eff_remove(gnd_class*) {
|
|
/* Nonmatching */
|
|
}
|
|
|
|
/* 0000077C-00000900 .text anm_init__FP9gnd_classifUcfi */
|
|
void anm_init(gnd_class*, int, float, unsigned char, float, int) {
|
|
/* Nonmatching */
|
|
}
|
|
|
|
/* 00000900-0000094C .text z_s_sub__FPvPv */
|
|
void z_s_sub(void*, void*) {
|
|
/* Nonmatching */
|
|
}
|
|
|
|
/* 0000094C-00000C38 .text daGnd_Draw__FP9gnd_class */
|
|
static BOOL daGnd_Draw(gnd_class*) {
|
|
/* Nonmatching */
|
|
}
|
|
|
|
/* 00000C38-00000C6C .text player_view_check__FP9gnd_classs */
|
|
void player_view_check(gnd_class*, short) {
|
|
/* Nonmatching */
|
|
}
|
|
|
|
/* 00000C6C-00000F24 .text ke_control__FP9gnd_classP8gnd_ke_sf */
|
|
void ke_control(gnd_class*, gnd_ke_s*, float) {
|
|
/* Nonmatching */
|
|
}
|
|
|
|
/* 00000F24-00000F68 .text ke_pos_set__FP9gnd_classP8gnd_ke_si */
|
|
void ke_pos_set(gnd_class*, gnd_ke_s*, int) {
|
|
/* Nonmatching */
|
|
}
|
|
|
|
/* 00000F68-00001140 .text ke_move__FP9gnd_class */
|
|
void ke_move(gnd_class*) {
|
|
/* Nonmatching */
|
|
}
|
|
|
|
/* 00001140-00001278 .text pos_move__FP9gnd_classSc */
|
|
void pos_move(gnd_class*, signed char) {
|
|
/* Nonmatching */
|
|
}
|
|
|
|
/* 00001278-00001334 .text wait_set__FP9gnd_class */
|
|
void wait_set(gnd_class*) {
|
|
/* Nonmatching */
|
|
}
|
|
|
|
/* 00001334-00001974 .text move0__FP9gnd_class */
|
|
void move0(gnd_class*) {
|
|
/* Nonmatching */
|
|
}
|
|
|
|
/* 00001974-000028D0 .text attack0__FP9gnd_class */
|
|
void attack0(gnd_class*) {
|
|
/* Nonmatching */
|
|
}
|
|
|
|
/* 000028D0-00002B68 .text attack1__FP9gnd_class */
|
|
void attack1(gnd_class*) {
|
|
/* Nonmatching */
|
|
}
|
|
|
|
/* 00002B68-00002D7C .text attack2__FP9gnd_class */
|
|
void attack2(gnd_class*) {
|
|
/* Nonmatching */
|
|
}
|
|
|
|
/* 00002D7C-00003688 .text attackPZ__FP9gnd_class */
|
|
void attackPZ(gnd_class*) {
|
|
/* Nonmatching */
|
|
}
|
|
|
|
/* 00003688-000038B0 .text attack_last__FP9gnd_class */
|
|
void attack_last(gnd_class*) {
|
|
/* Nonmatching */
|
|
}
|
|
|
|
/* 000038B0-000042D0 .text defence0__FP9gnd_class */
|
|
void defence0(gnd_class*) {
|
|
/* Nonmatching */
|
|
}
|
|
|
|
/* 000042D0-00004330 .text finish__FP9gnd_class */
|
|
void finish(gnd_class*) {
|
|
/* Nonmatching */
|
|
}
|
|
|
|
/* 00004330-00004760 .text damage__FP9gnd_class */
|
|
void damage(gnd_class*) {
|
|
/* Nonmatching */
|
|
}
|
|
|
|
/* 00004760-0000501C .text damage_check__FP9gnd_class */
|
|
void damage_check(gnd_class*) {
|
|
/* Nonmatching */
|
|
}
|
|
|
|
/* 0000501C-0000509C .text shot_s_sub__FPvPv */
|
|
void shot_s_sub(void*, void*) {
|
|
/* Nonmatching */
|
|
}
|
|
|
|
/* 0000509C-000050B0 .text demowait__FP9gnd_class */
|
|
void demowait(gnd_class*) {
|
|
/* Nonmatching */
|
|
}
|
|
|
|
/* 000050B0-000050C8 .text yawait__FP9gnd_class */
|
|
void yawait(gnd_class*) {
|
|
/* Nonmatching */
|
|
}
|
|
|
|
/* 000050C8-000054F0 .text gnd_move__FP9gnd_class */
|
|
void gnd_move(gnd_class*) {
|
|
/* Nonmatching */
|
|
}
|
|
|
|
/* 000054F0-00006B04 .text demo_camera__FP9gnd_class */
|
|
void demo_camera(gnd_class*) {
|
|
/* Nonmatching */
|
|
}
|
|
|
|
/* 00006B04-00006D0C .text body_flash__FP9gnd_class */
|
|
void body_flash(gnd_class*) {
|
|
/* Nonmatching */
|
|
}
|
|
|
|
/* 00006D0C-000076B8 .text daGnd_Execute__FP9gnd_class */
|
|
static BOOL daGnd_Execute(gnd_class*) {
|
|
/* Nonmatching */
|
|
}
|
|
|
|
/* 000076B8-000076C0 .text daGnd_IsDelete__FP9gnd_class */
|
|
static BOOL daGnd_IsDelete(gnd_class*) {
|
|
return TRUE;
|
|
}
|
|
|
|
/* 000076C0-00007738 .text daGnd_Delete__FP9gnd_class */
|
|
static BOOL daGnd_Delete(gnd_class*) {
|
|
/* Nonmatching */
|
|
}
|
|
|
|
/* 00007738-00007A78 .text useHeapInit__FP10fopAc_ac_c */
|
|
static BOOL useHeapInit(fopAc_ac_c*) {
|
|
/* Nonmatching */
|
|
}
|
|
|
|
/* 00007AC0-00007CFC .text daGnd_Create__FP10fopAc_ac_c */
|
|
static cPhs_State daGnd_Create(fopAc_ac_c*) {
|
|
/* Nonmatching */
|
|
static dCcD_SrcCyl cc_cyl_src = {
|
|
// dCcD_SrcGObjInf
|
|
{
|
|
/* Flags */ 0,
|
|
/* SrcObjAt Type */ 0,
|
|
/* SrcObjAt Atp */ 0,
|
|
/* SrcObjAt SPrm */ 0,
|
|
/* SrcObjTg Type */ AT_TYPE_SWORD,
|
|
/* SrcObjTg SPrm */ cCcD_TgSPrm_Set_e | cCcD_TgSPrm_IsEnemy_e,
|
|
/* SrcObjCo SPrm */ cCcD_CoSPrm_Set_e | cCcD_CoSPrm_IsPlayer_e | cCcD_CoSPrm_VsGrpAll_e,
|
|
/* 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 */ dCcG_TgHitMark_Nrm_e,
|
|
/* SrcGObjTg Spl */ dCcG_Tg_Spl_UNK0,
|
|
/* SrcGObjTg Mtrl */ 0,
|
|
/* SrcGObjTg SPrm */ dCcG_TgSPrm_NoConHit_e,
|
|
/* SrcGObjCo SPrm */ 0,
|
|
},
|
|
// cM3dGCylS
|
|
{{
|
|
/* Center */ {0.0f, -150.0f, 0.0f},
|
|
/* Radius */ 100.0f,
|
|
/* Height */ 100.0f,
|
|
}},
|
|
};
|
|
static dCcD_SrcSph head_sph_src = {
|
|
// dCcD_SrcGObjInf
|
|
{
|
|
/* Flags */ 0,
|
|
/* SrcObjAt Type */ 0,
|
|
/* SrcObjAt Atp */ 0,
|
|
/* SrcObjAt SPrm */ 0,
|
|
/* SrcObjTg Type */ AT_TYPE_SWORD,
|
|
/* SrcObjTg SPrm */ cCcD_TgSPrm_Set_e | cCcD_TgSPrm_IsEnemy_e | cCcD_TgSPrm_IsOther_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 */ dCcG_TgSPrm_NoConHit_e,
|
|
/* SrcGObjCo SPrm */ 0,
|
|
},
|
|
// cM3dGSphS
|
|
{{
|
|
/* Center */ {0.0f, 0.0f, 0.0f},
|
|
/* Radius */ 15.0f,
|
|
}},
|
|
};
|
|
static dCcD_SrcSph chest_sph_src = {
|
|
// dCcD_SrcGObjInf
|
|
{
|
|
/* Flags */ 0,
|
|
/* SrcObjAt Type */ 0,
|
|
/* SrcObjAt Atp */ 0,
|
|
/* SrcObjAt SPrm */ 0,
|
|
/* SrcObjTg Type */ AT_TYPE_NORMAL_ARROW | AT_TYPE_LIGHT_ARROW,
|
|
/* SrcObjTg SPrm */ cCcD_TgSPrm_Set_e | cCcD_TgSPrm_IsEnemy_e | cCcD_TgSPrm_IsOther_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 */ dCcG_SE_UNK5,
|
|
/* SrcGObjTg HitMark */ dCcg_TgHitMark_Purple_e,
|
|
/* SrcGObjTg Spl */ dCcG_Tg_Spl_UNK0,
|
|
/* SrcGObjTg Mtrl */ 0,
|
|
/* SrcGObjTg SPrm */ dCcG_TgSPrm_Shield_e | dCcG_TgSPrm_NoConHit_e,
|
|
/* SrcGObjCo SPrm */ 0,
|
|
},
|
|
// cM3dGSphS
|
|
{{
|
|
/* Center */ {0.0f, 0.0f, 0.0f},
|
|
/* Radius */ 100.0f,
|
|
}},
|
|
};
|
|
static dCcD_SrcSph wepon_sph_src = {
|
|
// dCcD_SrcGObjInf
|
|
{
|
|
/* Flags */ 0,
|
|
/* SrcObjAt Type */ AT_TYPE_UNK8,
|
|
/* SrcObjAt Atp */ 4,
|
|
/* SrcObjAt SPrm */ cCcD_AtSPrm_Set_e | cCcD_AtSPrm_GrpAll_e,
|
|
/* 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 | cCcD_TgSPrm_IsOther_e,
|
|
/* SrcObjCo SPrm */ 0,
|
|
/* SrcGObjAt Se */ 0,
|
|
/* SrcGObjAt HitMark */ dCcG_AtHitMark_Nrm_e,
|
|
/* SrcGObjAt Spl */ dCcG_At_Spl_UNK6,
|
|
/* SrcGObjAt Mtrl */ 0,
|
|
/* SrcGObjAt SPrm */ dCcG_AtSPrm_NoConHit_e,
|
|
/* SrcGObjTg Se */ dCcG_SE_UNK5,
|
|
/* SrcGObjTg HitMark */ dCcg_TgHitMark_Purple_e,
|
|
/* SrcGObjTg Spl */ dCcG_Tg_Spl_UNK0,
|
|
/* SrcGObjTg Mtrl */ 0,
|
|
/* SrcGObjTg SPrm */ dCcG_TgSPrm_Shield_e | dCcG_TgSPrm_NoConHit_e,
|
|
/* SrcGObjCo SPrm */ 0,
|
|
},
|
|
// cM3dGSphS
|
|
{{
|
|
/* Center */ {0.0f, 0.0f, 0.0f},
|
|
/* Radius */ 70.0f,
|
|
}},
|
|
};
|
|
}
|
|
|
|
static actor_method_class l_daGnd_Method = {
|
|
(process_method_func)daGnd_Create,
|
|
(process_method_func)daGnd_Delete,
|
|
(process_method_func)daGnd_Execute,
|
|
(process_method_func)daGnd_IsDelete,
|
|
(process_method_func)daGnd_Draw,
|
|
};
|
|
|
|
actor_process_profile_definition g_profile_GND = {
|
|
/* LayerID */ fpcLy_CURRENT_e,
|
|
/* ListID */ 0x0007,
|
|
/* ListPrio */ fpcPi_CURRENT_e,
|
|
/* ProcName */ PROC_GND,
|
|
/* Proc SubMtd */ &g_fpcLf_Method.base,
|
|
/* Size */ sizeof(gnd_class),
|
|
/* SizeOther */ 0,
|
|
/* Parameters */ 0,
|
|
/* Leaf SubMtd */ &g_fopAc_Method.base,
|
|
/* Priority */ PRIO_GND,
|
|
/* Actor SubMtd */ &l_daGnd_Method,
|
|
/* Status */ fopAcStts_UNK40000_e | fopAcStts_BOSS_e,
|
|
/* Group */ fopAc_ENEMY_e,
|
|
/* CullType */ fopAc_CULLBOX_0_e,
|
|
};
|