mirror of
https://github.com/zeldaret/tww.git
synced 2026-06-09 20:40:49 -04:00
392 lines
12 KiB
C++
392 lines
12 KiB
C++
/**
|
|
* d_a_btd.cpp
|
|
* Boss - Gohma
|
|
*/
|
|
|
|
#include "d/actor/d_a_btd.h"
|
|
#include "m_Do/m_Do_ext.h"
|
|
#include "d/d_procname.h"
|
|
#include "d/d_priority.h"
|
|
#include "d/d_cc_d.h"
|
|
|
|
/* 000000EC-000001C8 .text __ct__11daBtd_HIO_cFv */
|
|
daBtd_HIO_c::daBtd_HIO_c() {
|
|
/* Nonmatching */
|
|
}
|
|
|
|
/* 000001C8-0000024C .text wave_set__FP9btd_class */
|
|
void wave_set(btd_class*) {
|
|
/* Nonmatching */
|
|
}
|
|
|
|
/* 0000024C-00000268 .text get_anm__FP9btd_class */
|
|
void get_anm(btd_class*) {
|
|
/* Nonmatching */
|
|
}
|
|
|
|
/* 00000268-00000284 .text get_btk__FP9btd_class */
|
|
void get_btk(btd_class*) {
|
|
/* Nonmatching */
|
|
}
|
|
|
|
/* 00000284-000002A0 .text get_brk__FP9btd_class */
|
|
void get_brk(btd_class*) {
|
|
/* Nonmatching */
|
|
}
|
|
|
|
/* 000002A0-000003D4 .text anm_init__FP9btd_classifUcfi */
|
|
void anm_init(btd_class*, int, float, unsigned char, float, int) {
|
|
/* Nonmatching */
|
|
}
|
|
|
|
/* 000003D4-00000778 .text nodeCallBack__FP7J3DNodei */
|
|
static BOOL nodeCallBack(J3DNode*, int) {
|
|
/* Nonmatching */
|
|
}
|
|
|
|
/* 000007B4-00000828 .text hahen_draw__FP9btd_class */
|
|
void hahen_draw(btd_class*) {
|
|
/* Nonmatching */
|
|
}
|
|
|
|
/* 00000828-000009B4 .text daBtd_Draw__FP9btd_class */
|
|
static BOOL daBtd_Draw(btd_class*) {
|
|
/* Nonmatching */
|
|
}
|
|
|
|
/* 000009B4-00000A08 .text player_view_check__FP9btd_class */
|
|
void player_view_check(btd_class*) {
|
|
/* Nonmatching */
|
|
}
|
|
|
|
/* 00000A08-00000A38 .text eff_off__FP9btd_class */
|
|
void eff_off(btd_class*) {
|
|
/* Nonmatching */
|
|
}
|
|
|
|
/* 00000A38-00000C14 .text hahen_set2__FP9btd_class */
|
|
void hahen_set2(btd_class*) {
|
|
/* Nonmatching */
|
|
}
|
|
|
|
/* 00000C14-00000D84 .text hahen_set_s__FP9btd_classP4cXyzP5csXyz */
|
|
void hahen_set_s(btd_class*, cXyz*, csXyz*) {
|
|
/* Nonmatching */
|
|
}
|
|
|
|
/* 00000D84-00000E44 .text smoke_set_s__FP9btd_classP4cXyzP5csXyz */
|
|
void smoke_set_s(btd_class*, cXyz*, csXyz*) {
|
|
/* Nonmatching */
|
|
}
|
|
|
|
/* 00000E44-00000F14 .text hahen_set__FP9btd_classSc */
|
|
void hahen_set(btd_class*, signed char) {
|
|
/* Nonmatching */
|
|
}
|
|
|
|
/* 00000F14-00001398 .text startdemo__FP9btd_class */
|
|
void startdemo(btd_class*) {
|
|
/* Nonmatching */
|
|
}
|
|
|
|
/* 00001398-00001898 .text damage_check__FP9btd_class */
|
|
void damage_check(btd_class*) {
|
|
/* Nonmatching */
|
|
}
|
|
|
|
/* 00001898-000019D8 .text sibuki_set__FP9btd_class */
|
|
void sibuki_set(btd_class*) {
|
|
/* Nonmatching */
|
|
}
|
|
|
|
/* 000019D8-00001A84 .text kubi_calc__FP9btd_class */
|
|
void kubi_calc(btd_class*) {
|
|
/* Nonmatching */
|
|
}
|
|
|
|
/* 00001A84-000028C4 .text damage__FP9btd_class */
|
|
void damage(btd_class*) {
|
|
/* Nonmatching */
|
|
}
|
|
|
|
/* 000028C4-000036A0 .text end__FP9btd_class */
|
|
void end(btd_class*) {
|
|
/* Nonmatching */
|
|
}
|
|
|
|
/* 000036A0-00003BCC .text wait__FP9btd_class */
|
|
void wait(btd_class*) {
|
|
/* Nonmatching */
|
|
}
|
|
|
|
/* 00003BCC-00003E64 .text jab_attack__FP9btd_class */
|
|
void jab_attack(btd_class*) {
|
|
/* Nonmatching */
|
|
}
|
|
|
|
/* 00003E64-00004418 .text punch_attack__FP9btd_class */
|
|
void punch_attack(btd_class*) {
|
|
/* Nonmatching */
|
|
}
|
|
|
|
/* 00004418-00004948 .text punch2_attack__FP9btd_class */
|
|
void punch2_attack(btd_class*) {
|
|
/* Nonmatching */
|
|
}
|
|
|
|
/* 00004948-00004FE4 .text fire_attack__FP9btd_class */
|
|
void fire_attack(btd_class*) {
|
|
/* Nonmatching */
|
|
}
|
|
|
|
/* 00004FE4-000053E4 .text up_fire_attack__FP9btd_class */
|
|
void up_fire_attack(btd_class*) {
|
|
/* Nonmatching */
|
|
}
|
|
|
|
/* 000053E4-000058A4 .text yoko_fire_attack__FP9btd_class */
|
|
void yoko_fire_attack(btd_class*) {
|
|
/* Nonmatching */
|
|
}
|
|
|
|
/* 000058A4-00005930 .text attack__FP9btd_class */
|
|
void attack(btd_class*) {
|
|
/* Nonmatching */
|
|
}
|
|
|
|
/* 00005930-00005BCC .text move__FP9btd_class */
|
|
void move(btd_class*) {
|
|
/* Nonmatching */
|
|
}
|
|
|
|
/* 00005BCC-00005C24 .text k_a_d_sub__FPvPv */
|
|
void k_a_d_sub(void*, void*) {
|
|
/* Nonmatching */
|
|
}
|
|
|
|
/* 00005C24-00005C70 .text dr2_a_d_sub__FPvPv */
|
|
void dr2_a_d_sub(void*, void*) {
|
|
/* Nonmatching */
|
|
}
|
|
|
|
/* 00005C70-00005CC8 .text wepon_s_sub__FPvPv */
|
|
void wepon_s_sub(void*, void*) {
|
|
/* Nonmatching */
|
|
}
|
|
|
|
/* 00005CC8-00005DC4 .text hahen_move__FP9btd_class */
|
|
void hahen_move(btd_class*) {
|
|
/* Nonmatching */
|
|
}
|
|
|
|
/* 00005DC4-000060E0 .text sibuki_move__FP9btd_class */
|
|
void sibuki_move(btd_class*) {
|
|
/* Nonmatching */
|
|
}
|
|
|
|
/* 000060E0-000072BC .text demo_camera__FP9btd_class */
|
|
void demo_camera(btd_class*) {
|
|
/* Nonmatching */
|
|
}
|
|
|
|
/* 000072BC-00007608 .text btd_effect__FP9btd_class */
|
|
void btd_effect(btd_class*) {
|
|
/* Nonmatching */
|
|
}
|
|
|
|
/* 00007608-00007950 .text btd_kankyo__FP9btd_class */
|
|
void btd_kankyo(btd_class*) {
|
|
/* Nonmatching */
|
|
}
|
|
|
|
/* 00007950-000081B8 .text daBtd_Execute__FP9btd_class */
|
|
static BOOL daBtd_Execute(btd_class*) {
|
|
/* Nonmatching */
|
|
}
|
|
|
|
/* 000081B8-000081C0 .text daBtd_IsDelete__FP9btd_class */
|
|
static BOOL daBtd_IsDelete(btd_class*) {
|
|
return TRUE;
|
|
}
|
|
|
|
/* 000081C0-00008304 .text daBtd_Delete__FP9btd_class */
|
|
static BOOL daBtd_Delete(btd_class*) {
|
|
/* Nonmatching */
|
|
}
|
|
|
|
/* 00008304-00008D30 .text useHeapInit__FP10fopAc_ac_c */
|
|
static BOOL useHeapInit(fopAc_ac_c*) {
|
|
/* Nonmatching */
|
|
}
|
|
|
|
/* 00008D78-000091D0 .text daBtd_Create__FP10fopAc_ac_c */
|
|
static cPhs_State daBtd_Create(fopAc_ac_c*) {
|
|
/* Nonmatching */
|
|
static dCcD_SrcSph at_sph_src = {
|
|
// dCcD_SrcGObjInf
|
|
{
|
|
/* Flags */ 0,
|
|
/* SrcObjAt Type */ AT_TYPE_SPIKE,
|
|
/* SrcObjAt Atp */ 1,
|
|
/* 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,
|
|
/* SrcObjCo SPrm */ cCcD_CoSPrm_Set_e | cCcD_CoSPrm_IsPlayer_e | cCcD_CoSPrm_VsGrpAll_e,
|
|
/* SrcGObjAt Se */ 0,
|
|
/* SrcGObjAt HitMark */ dCcG_AtHitMark_Nrm_e,
|
|
/* SrcGObjAt Spl */ dCcG_At_Spl_UNK9,
|
|
/* SrcGObjAt Mtrl */ 0,
|
|
/* SrcGObjAt SPrm */ 0,
|
|
/* SrcGObjTg Se */ 0,
|
|
/* SrcGObjTg HitMark */ dCcg_TgHitMark_Purple_e,
|
|
/* SrcGObjTg Spl */ dCcG_Tg_Spl_UNK0,
|
|
/* SrcGObjTg Mtrl */ 0,
|
|
/* SrcGObjTg SPrm */ dCcG_TgSPrm_Shield_e,
|
|
/* SrcGObjCo SPrm */ 0,
|
|
},
|
|
// cM3dGSphS
|
|
{
|
|
/* Center */ 0.0f, 0.0f, 0.0f,
|
|
/* Radius */ 200.0f,
|
|
},
|
|
};
|
|
static dCcD_SrcSph eye_sph_src = {
|
|
// dCcD_SrcGObjInf
|
|
{
|
|
/* Flags */ 0,
|
|
/* SrcObjAt Type */ 0,
|
|
/* SrcObjAt Atp */ 0,
|
|
/* SrcObjAt SPrm */ cCcD_AtSPrm_Set_e | cCcD_AtSPrm_VsPlayer_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,
|
|
/* 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 */ dCcG_SE_UNK5,
|
|
/* SrcGObjTg HitMark */ dCcg_TgHitMark_Purple_e,
|
|
/* SrcGObjTg Spl */ dCcG_Tg_Spl_UNK0,
|
|
/* SrcGObjTg Mtrl */ 0,
|
|
/* SrcGObjTg SPrm */ dCcG_TgSPrm_Shield_e,
|
|
/* SrcGObjCo SPrm */ 0,
|
|
},
|
|
// cM3dGSphS
|
|
{
|
|
/* Center */ 0.0f, 0.0f, 0.0f,
|
|
/* Radius */ 50.0f,
|
|
},
|
|
};
|
|
static dCcD_SrcSph fire_sph_src = {
|
|
// dCcD_SrcGObjInf
|
|
{
|
|
/* Flags */ 0,
|
|
/* SrcObjAt Type */ AT_TYPE_FIRE,
|
|
/* SrcObjAt Atp */ 2,
|
|
/* SrcObjAt SPrm */ cCcD_AtSPrm_Set_e | cCcD_AtSPrm_GrpAll_e,
|
|
/* SrcObjTg Type */ 0,
|
|
/* 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_UNKA,
|
|
/* 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 */ 100.0f,
|
|
},
|
|
};
|
|
static dCcD_SrcSph sibuki_sph_src = {
|
|
// dCcD_SrcGObjInf
|
|
{
|
|
/* Flags */ 0,
|
|
/* SrcObjAt Type */ AT_TYPE_FIRE,
|
|
/* SrcObjAt Atp */ 1,
|
|
/* SrcObjAt SPrm */ cCcD_AtSPrm_Set_e | cCcD_AtSPrm_VsPlayer_e,
|
|
/* SrcObjTg Type */ 0,
|
|
/* 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_UNK2,
|
|
/* 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 */ 40.0f,
|
|
},
|
|
};
|
|
static dCcD_SrcCyl hand_cyl_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 */ 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 */ dCcG_SE_UNK5,
|
|
/* SrcGObjTg HitMark */ dCcg_TgHitMark_Purple_e,
|
|
/* SrcGObjTg Spl */ dCcG_Tg_Spl_UNK0,
|
|
/* SrcGObjTg Mtrl */ 0,
|
|
/* SrcGObjTg SPrm */ dCcG_TgSPrm_Shield_e,
|
|
/* SrcGObjCo SPrm */ 0,
|
|
},
|
|
// cM3dGCylS
|
|
{
|
|
/* Center */ 0.0f, 0.0f, 0.0f,
|
|
/* Radius */ 0.0f,
|
|
/* Height */ 0.0f,
|
|
},
|
|
};
|
|
}
|
|
|
|
static actor_method_class l_daBtd_Method = {
|
|
(process_method_func)daBtd_Create,
|
|
(process_method_func)daBtd_Delete,
|
|
(process_method_func)daBtd_Execute,
|
|
(process_method_func)daBtd_IsDelete,
|
|
(process_method_func)daBtd_Draw,
|
|
};
|
|
|
|
actor_process_profile_definition g_profile_BTD = {
|
|
/* LayerID */ fpcLy_CURRENT_e,
|
|
/* ListID */ 0x0007,
|
|
/* ListPrio */ fpcPi_CURRENT_e,
|
|
/* ProcName */ PROC_BTD,
|
|
/* Proc SubMtd */ &g_fpcLf_Method.base,
|
|
/* Size */ sizeof(btd_class),
|
|
/* SizeOther */ 0,
|
|
/* Parameters */ 0,
|
|
/* Leaf SubMtd */ &g_fopAc_Method.base,
|
|
/* Priority */ PRIO_BTD,
|
|
/* Actor SubMtd */ &l_daBtd_Method,
|
|
/* Status */ fopAcStts_UNK40000_e | fopAcStts_BOSS_e,
|
|
/* Group */ fopAc_ENEMY_e,
|
|
/* CullType */ fopAc_CULLBOX_CUSTOM_e,
|
|
};
|