summaryrefslogtreecommitdiff
path: root/src/d/actor/d_a_nzg.cpp
diff options
context:
space:
mode:
authorAmmar Askar <ammar@ammaraskar.com>2025-06-01 16:50:44 -0400
committerGitHub <noreply@github.com>2025-06-01 16:50:44 -0400
commit354a9625fef556950ec07e8d4129c2ca99f8978c (patch)
treee6d7e1b89ff7852f0009a8e989eee28452b61513 /src/d/actor/d_a_nzg.cpp
parentf71ec718fe9c74e74267c89afd34ccfd209793a2 (diff)
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
Diffstat (limited to 'src/d/actor/d_a_nzg.cpp')
-rw-r--r--src/d/actor/d_a_nzg.cpp30
1 files changed, 30 insertions, 0 deletions
diff --git a/src/d/actor/d_a_nzg.cpp b/src/d/actor/d_a_nzg.cpp
index 1a2d1e4e..738825bc 100644
--- a/src/d/actor/d_a_nzg.cpp
+++ b/src/d/actor/d_a_nzg.cpp
@@ -6,6 +6,7 @@
#include "d/actor/d_a_nzg.h"
#include "d/d_procname.h"
#include "d/d_priority.h"
+#include "d/d_cc_d.h"
/* 00000078-000000E4 .text daNZG_Draw__FP9nzg_class */
static BOOL daNZG_Draw(nzg_class*) {
@@ -45,6 +46,35 @@ static BOOL useHeapInit(fopAc_ac_c*) {
/* 00000620-00000864 .text daNZG_Create__FP10fopAc_ac_c */
static cPhs_State daNZG_Create(fopAc_ac_c*) {
/* Nonmatching */
+ static dCcD_SrcCyl body_cyl_src = {
+ // dCcD_SrcGObjInf
+ {
+ /* Flags */ 0,
+ /* SrcObjAt Type */ 0,
+ /* SrcObjAt Atp */ 0,
+ /* SrcObjAt SPrm */ 0,
+ /* SrcObjTg Type */ 0,
+ /* SrcObjTg SPrm */ 0,
+ /* SrcObjCo SPrm */ cCcD_CoSPrm_Set_e | cCcD_CoSPrm_IsOther_e | cCcD_CoSPrm_VsEnemy_e | cCcD_CoSPrm_VsPlayer_e | cCcD_CoSPrm_VsOther_e | cCcD_CoSPrm_NoCrr_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 */ 0,
+ /* SrcGObjTg Spl */ dCcG_Tg_Spl_UNK0,
+ /* SrcGObjTg Mtrl */ 0,
+ /* SrcGObjTg SPrm */ 0,
+ /* SrcGObjCo SPrm */ 0,
+ },
+ // cM3dGCylS
+ {
+ /* Center */ 0.0f, 0.0f, 0.0f,
+ /* Radius */ 50.0f,
+ /* Height */ 20.0f,
+ },
+ };
}
static actor_method_class l_daNZG_Method = {