mirror of
https://github.com/zeldaret/tww.git
synced 2026-08-18 05:08:57 -04:00
Automatically generate dCcD_Src structs for most files (#778)
* Add missing enum members for colliders * Auto-generate most dCcD_Src* structs * Manually fix namespaces for 11 TUs
This commit is contained in:
@@ -7,6 +7,7 @@
|
||||
#include "m_Do/m_Do_ext.h"
|
||||
#include "d/d_procname.h"
|
||||
#include "d/d_priority.h"
|
||||
#include "d/d_cc_d.h"
|
||||
|
||||
/* 00000078-000001A4 .text anm_init__FP8kb_classifUcfi */
|
||||
void anm_init(kb_class*, int, float, unsigned char, float, int) {
|
||||
@@ -181,6 +182,34 @@ static BOOL useHeapInit(fopAc_ac_c*) {
|
||||
/* 00007258-00007798 .text daKb_Create__FP10fopAc_ac_c */
|
||||
static cPhs_State daKb_Create(fopAc_ac_c*) {
|
||||
/* Nonmatching */
|
||||
static dCcD_SrcSph co_sph_src = {
|
||||
// dCcD_SrcGObjInf
|
||||
{
|
||||
/* Flags */ 0,
|
||||
/* SrcObjAt Type */ AT_TYPE_UNK800,
|
||||
/* SrcObjAt Atp */ 4,
|
||||
/* SrcObjAt SPrm */ cCcD_AtSPrm_Set_e | cCcD_AtSPrm_VsPlayer_e | cCcD_AtSPrm_VsOther_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_IsOther_e | cCcD_CoSPrm_VsEnemy_e | cCcD_CoSPrm_VsPlayer_e | cCcD_CoSPrm_VsOther_e,
|
||||
/* SrcGObjAt Se */ dCcG_SE_UNK6,
|
||||
/* SrcGObjAt HitMark */ dCcG_AtHitMark_None_e,
|
||||
/* SrcGObjAt Spl */ dCcG_At_Spl_UNK6,
|
||||
/* 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 */ 15.0f,
|
||||
},
|
||||
};
|
||||
}
|
||||
|
||||
static actor_method_class l_daKb_Method = {
|
||||
|
||||
Reference in New Issue
Block a user