summaryrefslogtreecommitdiff
path: root/src/d/actor/d_a_npc_sarace.cpp
blob: 880c82a3796600bd2271e183bd6af0d11689bd31 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
/**
 * d_a_npc_sarace.cpp
 * NPC - Loot the Sailor (Boating Course)
 */

#include "d/dolzel_rel.h" // IWYU pragma: keep
#include "d/actor/d_a_npc_sarace.h"
#include "m_Do/m_Do_ext.h"
#include "d/d_cc_d.h"

static dCcD_SrcCyl l_cyl_src = {
    // dCcD_SrcGObjInf
    {
        /* Flags             */ 0,
        /* SrcObjAt  Type    */ 0,
        /* SrcObjAt  Atp     */ 0,
        /* SrcObjAt  SPrm    */ 0,
        /* SrcObjTg  Type    */ AT_TYPE_ALL,
        /* 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 */ 0,
        /* SrcGObjTg Spl     */ dCcG_Tg_Spl_UNK0,
        /* SrcGObjTg Mtrl    */ 0,
        /* SrcGObjTg SPrm    */ dCcG_TgSPrm_NoHitMark_e,
        /* SrcGObjCo SPrm    */ 0,
    },
    // cM3dGCylS
    {{
        /* Center */ {0.0f, 0.0f, 0.0f},
        /* Radius */ 30.0f,
        /* Height */ 80.0f,
    }},
};


/* 000000EC-00000198       .text __ct__18daNpc_Sarace_HIO_cFv */
daNpc_Sarace_HIO_c::daNpc_Sarace_HIO_c() {
    /* Nonmatching */
}

/* 00000198-00000328       .text nodeCallBack__FP7J3DNodei */
static BOOL nodeCallBack(J3DNode*, int) {
    /* Nonmatching */
}

/* 00000364-00000478       .text initTexPatternAnm__14daNpc_Sarace_cFb */
void daNpc_Sarace_c::initTexPatternAnm(bool) {
    /* Nonmatching */
}

/* 00000478-00000504       .text playTexPatternAnm__14daNpc_Sarace_cFv */
void daNpc_Sarace_c::playTexPatternAnm() {
    /* Nonmatching */
}

/* 00000504-0000060C       .text setAnm__14daNpc_Sarace_cFScf */
void daNpc_Sarace_c::setAnm(signed char, float) {
    /* Nonmatching */
}

/* 0000060C-00000760       .text chkAttention__14daNpc_Sarace_cF4cXyzs */
void daNpc_Sarace_c::chkAttention(cXyz, short) {
    /* Nonmatching */
}

/* 00000760-000007D8       .text eventOrder__14daNpc_Sarace_cFv */
void daNpc_Sarace_c::eventOrder() {
    /* Nonmatching */
}

/* 000007D8-000008E8       .text checkOrder__14daNpc_Sarace_cFv */
void daNpc_Sarace_c::checkOrder() {
    /* Nonmatching */
}

/* 000008E8-00000A6C       .text next_msgStatus__14daNpc_Sarace_cFPUl */
void daNpc_Sarace_c::next_msgStatus(unsigned long*) {
    /* Nonmatching */
}

/* 00000A6C-00000B50       .text getMsg__14daNpc_Sarace_cFv */
void daNpc_Sarace_c::getMsg() {
    /* Nonmatching */
}

/* 00000B50-00000BEC       .text anmAtr__14daNpc_Sarace_cFUs */
void daNpc_Sarace_c::anmAtr(unsigned short) {
    /* Nonmatching */
}

/* 00000BEC-00000E24       .text CreateInit__14daNpc_Sarace_cFv */
void daNpc_Sarace_c::CreateInit() {
    /* Nonmatching */
}

/* 00000E24-00000E68       .text setAttention__14daNpc_Sarace_cFv */
void daNpc_Sarace_c::setAttention() {
    /* Nonmatching */
}

/* 00000E68-00000FF4       .text lookBack__14daNpc_Sarace_cFv */
void daNpc_Sarace_c::lookBack() {
    /* Nonmatching */
}

/* 00000FF4-00001024       .text wait01__14daNpc_Sarace_cFv */
void daNpc_Sarace_c::wait01() {
    /* Nonmatching */
}

/* 00001024-000014B8       .text talk01__14daNpc_Sarace_cFv */
void daNpc_Sarace_c::talk01() {
    /* Nonmatching */
}

/* 000014B8-000014E0       .text dummy_action__14daNpc_Sarace_cFPv */
void daNpc_Sarace_c::dummy_action(void*) {
    /* Nonmatching */
}

/* 000014E0-000015BC       .text wait_action__14daNpc_Sarace_cFPv */
void daNpc_Sarace_c::wait_action(void*) {
    /* Nonmatching */
}

/* 000015BC-0000173C       .text event_endCheck_action__14daNpc_Sarace_cFPv */
void daNpc_Sarace_c::event_endCheck_action(void*) {
    /* Nonmatching */
}

/* 0000173C-000017E0       .text set_mtx__14daNpc_Sarace_cFv */
void daNpc_Sarace_c::set_mtx() {
    /* Nonmatching */
}

/* 000017E0-00001938       .text _draw__14daNpc_Sarace_cFv */
BOOL daNpc_Sarace_c::_draw() {
    /* Nonmatching */
}

/* 00001938-00001A68       .text _execute__14daNpc_Sarace_cFv */
BOOL daNpc_Sarace_c::_execute() {
    /* Nonmatching */
}

/* 00001A68-00001AE0       .text _delete__14daNpc_Sarace_cFv */
BOOL daNpc_Sarace_c::_delete() {
    /* Nonmatching */
}

/* 00001AE0-00001B00       .text CallbackCreateHeap__FP10fopAc_ac_c */
static BOOL CallbackCreateHeap(fopAc_ac_c*) {
    /* Nonmatching */
}

/* 00001B00-00001D1C       .text _create__14daNpc_Sarace_cFv */
cPhs_State daNpc_Sarace_c::_create() {
    /* Nonmatching */
}

/* 000020CC-00002498       .text CreateHeap__14daNpc_Sarace_cFv */
void daNpc_Sarace_c::CreateHeap() {
    /* Nonmatching */
}

/* 00002498-000024B8       .text daNpc_Sarace_Create__FP10fopAc_ac_c */
static cPhs_State daNpc_Sarace_Create(fopAc_ac_c* i_this) {
    return ((daNpc_Sarace_c*)i_this)->_create();
}

/* 000024B8-000024D8       .text daNpc_Sarace_Delete__FP14daNpc_Sarace_c */
static BOOL daNpc_Sarace_Delete(daNpc_Sarace_c* i_this) {
    return ((daNpc_Sarace_c*)i_this)->_delete();
}

/* 000024D8-000024F8       .text daNpc_Sarace_Execute__FP14daNpc_Sarace_c */
static BOOL daNpc_Sarace_Execute(daNpc_Sarace_c* i_this) {
    return ((daNpc_Sarace_c*)i_this)->_execute();
}

/* 000024F8-00002518       .text daNpc_Sarace_Draw__FP14daNpc_Sarace_c */
static BOOL daNpc_Sarace_Draw(daNpc_Sarace_c* i_this) {
    return ((daNpc_Sarace_c*)i_this)->_draw();
}

/* 00002518-00002520       .text daNpc_Sarace_IsDelete__FP14daNpc_Sarace_c */
static BOOL daNpc_Sarace_IsDelete(daNpc_Sarace_c*) {
    return TRUE;
}

static actor_method_class l_daNpc_Sarace_Method = {
    (process_method_func)daNpc_Sarace_Create,
    (process_method_func)daNpc_Sarace_Delete,
    (process_method_func)daNpc_Sarace_Execute,
    (process_method_func)daNpc_Sarace_IsDelete,
    (process_method_func)daNpc_Sarace_Draw,
};

actor_process_profile_definition g_profile_NPC_SARACE = {
    /* Layer ID     */ fpcLy_CURRENT_e,
    /* List ID      */ 0x0007,
    /* List Prio    */ fpcPi_CURRENT_e,
    /* Proc Name    */ fpcNm_NPC_SARACE_e,
    /* Proc SubMtd  */ &g_fpcLf_Method.base,
    /* Size         */ sizeof(daNpc_Sarace_c),
    /* Size Other   */ 0,
    /* Parameters   */ 0,
    /* Leaf SubMtd  */ &g_fopAc_Method.base,
    /* Draw Prio    */ fpcDwPi_NPC_SARACE_e,
    /* Actor SubMtd */ &l_daNpc_Sarace_Method,
    /* Status       */ fopAcStts_NOCULLEXEC_e | fopAcStts_CULL_e | fopAcStts_UNK40000_e,
    /* Group        */ fopAc_ACTOR_e,
    /* Cull Type    */ fopAc_CULLBOX_12_e,
};