Twilight Princess
Decompilation of The Legend of Zelda: Twilight Princess
Loading...
Searching...
No Matches
f_op_actor_mng.h
Go to the documentation of this file.
1#ifndef F_OP_ACTOR_MNG_H_
2#define F_OP_ACTOR_MNG_H_
3
4#include "d/d_bg_s.h"
5#include "d/d_bg_s_gnd_chk.h"
6#include "d/d_bg_s_lin_chk.h"
7#include "d/d_bg_s_roof_chk.h"
8#include "d/d_bg_s_wtr_chk.h"
9#include "f_op/f_op_actor.h"
11#include "f_op/f_op_draw_tag.h"
12#include "f_pc/f_pc_manager.h"
13#include "m_Do/m_Do_hostIO.h"
14
15#define fopAcM_SetupActor(ptr, ClassName) \
16 if (!fopAcM_CheckCondition(ptr, fopAcCnd_INIT_e)) { \
17 new (ptr) ClassName(); \
18 fopAcM_OnCondition(ptr, fopAcCnd_INIT_e); \
19 }
20
21#define fopAcM_SetupActor2(ptr, ClassName, ...) \
22 if (!fopAcM_CheckCondition(ptr, fopAcCnd_INIT_e)) { \
23 new (ptr) ClassName(__VA_ARGS__); \
24 fopAcM_OnCondition(ptr, fopAcCnd_INIT_e); \
25 }
26
27class J3DModelData; // placeholder
28class JKRHeap;
29class cM3dGPla;
30
32 /* 0x00 */ u32 field_0x00;
33 /* 0x04 */ cXyz field_0x04;
34 /* 0x10 */ csXyz field_0x10;
35 /* 0x16 */ u16 field_0x16;
36}; // Size = 0x18
37
39 /* 0x00 */ u32 parameters;
40 /* 0x04 */ cXyz position;
41 /* 0x10 */ csXyz angle;
42 /* 0x16 */ u16 setId;
43 /* 0x18 */ u8 scale[3];
45 /* 0x20 */ s8 subtype;
46 /* 0x21 */ s8 room_no;
47};
48
51 void clear() {
52 name[0] = 0;
53 event_id = -1;
55 subtype = 0;
56 }
57
58 /* 0x00 */ char name[30];
59 /* 0x1E */ s16 event_id;
60 /* 0x20 */ s16 procname;
61 /* 0x22 */ s8 subtype;
62};
63
65 /* 0x00 */ u32 prm0;
66 /* 0x04 */ u32 prm1;
67 /* 0x08 */ s16 procname;
68 /* 0x0A */ s8 subtype;
69};
70
71// define to avoid vtable mess in WIP TUs
72#ifndef HIO_entry_c_NO_VIRTUAL
75};
76#else
77struct fOpAcm_HIO_entry_c {
79};
80#endif
81
82class l_HIO {
83public:
84 /* 8001E098 */ ~l_HIO() {}
85};
86
88
89class dKy_tevstr_c;
90class cBgS_PolyInfo;
92typedef int (*createFunc)(void*);
93
94struct DOUBLE_POS {
95 double x, y, z;
96};
97
99 /* 0x000001 */ fopAcM_STATUS_UNK_000001 = 1 << 0,
100 /* 0x000002 */ fopAcM_STATUS_UNK_000002 = 1 << 1,
101 /* 0x000004 */ fopAcM_STATUS_UNK_000004 = 1 << 2,
102 /* 0x000008 */ fopAcM_STATUS_UNK_000008 = 1 << 3,
103 /* 0x000010 */ fopAcM_STATUS_UNK_000010 = 1 << 4,
104 /* 0x000020 */ fopAcM_STATUS_UNK_000020 = 1 << 5,
105 /* 0x000040 */ fopAcM_STATUS_UNK_000040 = 1 << 6,
106 /* 0x000080 */ fopAcM_STATUS_UNK_000080 = 1 << 7,
107 /* 0x000100 */ fopAcM_STATUS_UNK_000100 = 1 << 8,
108 /* 0x000200 */ fopAcM_STATUS_UNK_000200 = 1 << 9,
109 /* 0x000400 */ fopAcM_STATUS_UNK_000400 = 1 << 10,
110 /* 0x000800 */ fopAcM_STATUS_UNK_000800 = 1 << 11,
111 /* 0x001000 */ fopAcM_STATUS_UNK_001000 = 1 << 12,
112 /* 0x002000 */ fopAcM_STATUS_CARRY_NOW = 1 << 13,
113 /* 0x004000 */ fopAcM_STATUS_UNK_004000 = 1 << 14,
114 /* 0x008000 */ fopAcM_STATUS_UNK_008000 = 1 << 15,
115 /* 0x010000 */ fopAcM_STATUS_UNK_010000 = 1 << 16,
116 /* 0x020000 */ fopAcM_STATUS_UNK_200000 = 1 << 17,
117 /* 0x040000 */ fopAcM_STATUS_UNK_400000 = 1 << 18,
118 /* 0x080000 */ fopAcM_STATUS_UNK_800000 = 1 << 19,
119 /* 0x100000 */ fopAcM_STATUS_HOOK_CARRY_NOW = 1 << 20,
120};
121
123 return i_actor->current.roomNo;
124}
125
126inline fpc_ProcID fopAcM_GetID(const void* i_actor) {
127 return fpcM_GetID(i_actor);
128}
129
131 return fpcM_GetName(i_actor);
132}
133
135 return i_actor->cullMtx;
136}
137
139 return i_actor->actor_status & actor_status;
140}
141
143 return i_actor->actor_status & fopAcM_STATUS_CARRY_NOW;
144}
145
147 /* 0x01 */ fopAcM_CARRY_TYPE_1 = 1,
148 /* 0x02 */ fopAcM_CARRY_HEAVY = 2,
149 /* 0x04 */ fopAcM_CARRY_SIDE = 4,
150 /* 0x08 */ fopAcM_CARRY_TYPE_8 = 8,
151 /* 0x10 */ fopAcM_CARRY_LIGHT = 16, // guess based on context
152 /* 0x20 */ fopAcM_CARRY_ITEM = 32,
153 /* 0x30 */ fopAcM_CARRY_UNK_30 = 0x30,
154 /* 0x40 */ fopAcM_CARRY_UNK_40 = 0x40,
155 /* 0x80 */ fopAcM_CARRY_CHICKEN = 0x80,
156};
157
159 return actor->carryType & type;
160}
161
165
166inline u32 fopAcM_GetParam(const void* i_actor) {
167 return fpcM_GetParam(i_actor);
168}
169
171 return (fopAcM_GetParam(ac) >> shift) & ((1 << bit) - 1);
172}
173
174inline void fopAcM_SetParam(void* i_actor, u32 param) {
175 fpcM_SetParam(i_actor, param);
176}
177
181
182inline s16 fopAcM_GetProfName(const void* i_actor) {
184}
185
187 return i_actor->group;
188}
189
191 i_actor->actor_status |= flag;
192}
193
195 i_actor->actor_status &= ~flag;
196}
197
201
205
207 return i_actor->parentActorID;
208}
209
211 return &i_actor->current.pos;
212}
213
215 return i_actor->current.pos;
216}
217
219 return &i_actor->old.pos;
220}
221
223 return &i_actor->speed;
224}
225
227 return &i_actor->current.angle;
228}
229
231 return &i_actor->shape_angle;
232}
233
235 return i_actor->actor_condition & flag;
236}
237
239 i_actor->actor_condition |= flag;
240}
241
243 i_actor->actor_condition &= ~flag;
244}
245
246inline BOOL fopAcM_IsActor(void* actor) {
247 return fopAc_IsActor(actor);
248}
249
250inline void fopAcM_SetRoomNo(fopAc_ac_c* actor, s8 roomNo) {
251 actor->current.roomNo = roomNo;
252}
253
257
261
263 return i_actor->home.roomNo;
264}
265
266inline void fopAcM_SetGravity(fopAc_ac_c* actor, f32 gravity) {
267 actor->gravity = gravity;
268}
269
270inline void fopAcM_SetGroup(fopAc_ac_c* actor, u8 group) {
271 actor->group = group;
272}
273
275 actor->maxFallSpeed = speed;
276}
277
279 actor->cullMtx = m;
280}
281
283 actor->speed.set(x, y, z);
284}
285
287 actor->speedF = f;
288}
289
290inline void fopAcM_SetStatus(fopAc_ac_c* actor, u32 actor_status) {
291 actor->actor_status = actor_status;
292}
293
295 actor->model = model;
296}
297
301
303 return fpcM_IsExecuting(id);
304}
305
307 return i_actor->speedF;
308}
309
311 return i_actor->gravity;
312}
313
315 return i_actor->maxFallSpeed;
316}
317
319 return &i_actor->speed;
320}
321
323 return i_actor->speed;
324}
325
327 return &i_actor->current.pos;
328}
329
331 return i_actor->jntCol;
332}
333
335 i_actor->cullSizeFar = i_far;
336}
337
339 return i_actor->cullSizeFar;
340}
341
343 return &i_actor->cull.box.min;
344}
345
347 return &i_actor->cull.box.max;
348}
349
351 i_actor->cullType = i_cullsize;
352}
353
355 return i_actor->cullType;
356}
357
359 return (i_culltype >= 0 && i_culltype < 14) || i_culltype == 14;
360}
361
363 return i_actor->cull.sphere.center;
364}
365
367 return i_actor->cull.sphere.radius;
368}
369
370inline void dComIfGs_onSwitch(int i_no, int i_roomNo);
371inline void dComIfGs_offSwitch(int i_no, int i_roomNo);
372inline BOOL dComIfGs_isSwitch(int i_no, int i_roomNo);
373inline void dComIfGs_offActor(int i_no, int i_roomNo);
374
378
382
386
390
391inline void dComIfGs_onItem(int bitNo, int roomNo);
395
396inline bool dComIfGs_isItem(int bitNo, int roomNo);
397inline bool fopAcM_isItem(const fopAc_ac_c* item, int bitNo) {
399}
400
402 return actorB->current.pos.y - actorA->current.pos.y;
403}
404
406 return i_actor->setID;
407}
408
409inline void dComIfGs_onActor(int bitNo, int roomNo);
410
411inline void fopAcM_onActor(const fopAc_ac_c* i_actor) {
412 int setId = fopAcM_GetSetId(i_actor);
414}
415
419
421 fopDwTg_DrawQTo(&i_actor->draw_tag);
422}
423
424void fopAcM_initManager();
425
427 void* i_append);
428
429void fopAcM_setStageLayer(void* i_proc);
430
431void fopAcM_setRoomLayer(void* i_proc, int i_roomNo);
432
434
436
438
440 const csXyz* i_angle, const cXyz* i_scale, s8 i_subtype,
442
443void fopAcM_Log(fopAc_ac_c const* i_actor, char const* i_message);
444
446
448
450 int i_roomNo, const csXyz* i_angle, const cXyz* i_scale, s8 i_subtype,
452
454 const csXyz* i_angle, const cXyz* i_scale, s8 i_subtype);
455
457 const csXyz* i_angle, const cXyz* i_scale, s8 i_subtype,
459
461 int i_roomNo, const csXyz* i_angle, const cXyz* i_scale,
463
465 const cXyz* i_pos, int i_roomNo, const csXyz* i_angle,
467
469 const cXyz* i_pos, int i_roomNo, const csXyz* i_angle,
471
473
475
477
479
481
483
485 f32 maxZ);
486
488
490
492
494
496
498
500
502
504
506
508
510
512
526 u16 param_3, u16 i_flag, u16 i_priority);
537 u16 i_flag);
541
543 int i_itemBitNo, int i_roomNo, csXyz const* i_angle,
544 cXyz const* i_scale);
545
547 int i_roomNo, csXyz const* i_angle, cXyz const* i_scale);
548
550
552 int i_roomNo, csXyz const* i_angle, cXyz const* i_scale,
554
556 int i_roomNo, csXyz const* i_angle, int param_5,
557 cXyz const* i_scale, f32* i_speedF, f32* i_speedY,
558 bool i_createDirect);
559
561 const csXyz* i_angle, int i_roomNo, const cXyz* scale,
562 u8 param_7);
563
565 const csXyz* i_angle, const cXyz* i_scale, f32 i_speedF,
566 f32 i_speedY, int param_8);
567
569 const csXyz* i_angle, const cXyz* i_scale, int param_6,
570 int param_7);
571
573 const csXyz* i_angle, const cXyz* i_scale, f32 i_speedF,
574 f32 i_speedY);
575
577 const csXyz* i_angle, const cXyz* i_scale, f32 i_speedF,
578 f32 i_speedY);
579
581 const csXyz* i_angle, const cXyz* i_scale, int param_7);
582
584 int param_5, const csXyz* i_angle, const cXyz* i_scale);
585
587 const csXyz* i_angle, const cXyz* i_scale, f32* i_speedF,
588 f32* i_speedY, int i_itemBitNo, int param_9,
590
591fpc_ProcID fopAcM_createBokkuri(u16 i_setId, const cXyz* i_pos, int param_3, int param_4,
592 int i_roomNo, const cXyz* param_6, int param_7, int param_8);
595
597
606void fopAcM_effSmokeSet1(u32*, u32*, const cXyz*, const csXyz*, f32, const dKy_tevstr_c*, int);
607void fopAcM_effHamonSet(u32*, const cXyz*, f32, f32);
610void fopAcM_setEffectMtx(const fopAc_ac_c*, const J3DModelData*);
611
612static const char* fopAcM_getProcNameString(const fopAc_ac_c* i_actor);
613
615
617
619
621
624s32 fopAcM_getWaterStream(const cXyz*, const cBgS_PolyInfo&, cXyz*, int*, int);
627
628inline void make_prm_warp_hole(u32* o_params, u8 prm1, u8 prm2, u8 prm3) {
629 u32 pprm1 = (prm3 << 0x8);
630 u32 pprm2 = (prm2 << 0x10);
631 u32 pprm3 = (prm1 << 0x1B) | 0x170000FF;
632 *o_params = pprm2 | pprm3 | pprm1;
633}
634
635inline void make_prm_bokkuri(u32* i_params, csXyz* i_angle, u8 param_2, u8 param_3, u8 param_4,
636 u8 param_5, u8 param_6) {
637 i_angle->x = (param_4 << 0x8) | (param_3 & 0xFF);
638 i_angle->z = (param_6 << 0xD) | (param_2 << 0x1) | param_5;
639}
640
641inline fopAc_ac_c* dComIfGp_getPlayer(int);
642
646
650
654
658
662
666
670
671s8 dComIfGp_getReverb(int roomNo);
672
677
681
686
691
695
697 i_actor->carryType |= param_2;
698}
699
708
710 actor->field_0x567 = status;
711}
712
714 return actor->field_0x567 == status;
715}
716
718 csXyz const* param_3, f32 param_4, dKy_tevstr_c const* param_5) {
719 fopAcM_effSmokeSet1(param_0, param_1, param_2, param_3, param_4, param_5, 0);
720}
721
722inline void fopAcM_setWarningMessage_f(const fopAc_ac_c* i_actor, const char* i_filename, int i_line, const char* i_msg, ...) {
723#ifdef DEBUG
726
727 char buf[64];
728 snprintf(buf, sizeof(buf), "<%s> %s", dStage_getName(fopAcM_GetProfName(i_actor), i_actor->subtype), i_msg);
729 setWarningMessage_f_va(JUTAssertion::getSDevice(), i_filename, i_line, buf, args);
730
731 va_end(args);
732#endif
733}
734
735#ifdef DEBUG
736#define fopAcM_setWarningMessage(i_actor, i_filename, i_line, i_msg, ...) \
737 fopAcM_setWarningMessage_f(i_actor, i_filename, i_line, i_msg, __VA_ARGS__)
738#else
739#define fopAcM_setWarningMessage(...)
740#endif
741
743public:
745
747 static bool checkMoveBG() { return dComIfG_Bgsp().ChkMoveBG(mLineCheck); }
748 static cXyz* getCrossP() { return mLineCheck.GetCrossP(); }
749 static bool lineCheck(const cXyz*, const cXyz*, const fopAc_ac_c*);
751 static bool checkWallHit() {
753 getTriPla(&poly);
754 return cBgW_CheckBWall(poly.mNormal.y);
755 }
756
758};
759
760class dBgS_RoofChk;
762public:
764 static f32 getRoofY() { return mRoofY; }
765 static bool roofCheck(const cXyz*);
766
768 static f32 mRoofY;
769};
770
771class dBgS_GndChk;
772class fopAcM_gc_c {
773public:
774 static bool gndCheck(const cXyz*);
776 static f32 mGroundY;
777
778 static bool getTriPla(cM3dGPla* i_plane) {
780 }
781
787
788 static int getRoomId() { return dComIfG_Bgsp().GetRoomId(mGndCheck); }
790 static int getPolyAtt0() { return dComIfG_Bgsp().GetPolyAtt0(mGndCheck); }
793 static f32 getGroundY() { return mGroundY; }
794};
795
797public:
798 static dBgS_WtrChk* getWaterCheck() { return &mWaterCheck; }
799 static f32 getWaterY() { return mWaterY; }
801
802 static bool waterCheck(const cXyz*);
804 static f32 mWaterY;
805};
806
807#endif
bool cBgW_CheckBWall(float y)
Definition c_bg_w.cpp:34
T cLib_calcTimer(T *value)
Definition c_lib.h:79
Definition JKRHeap.h:16
Definition d_bg_s_lin_chk.h:48
Definition d_bg_s_roof_chk.h:33
Definition d_bg_s_roof_chk.h:8
Definition d_bg_s_wtr_chk.h:6
Definition d_jnt_col.h:19
Definition f_op_actor_mng.h:742
static dBgS_ObjLinChk * getLineCheck()
Definition f_op_actor_mng.h:746
static bool checkWallHit()
Definition f_op_actor_mng.h:751
static bool getTriPla(cM3dGPla *o_tri)
Definition f_op_actor_mng.h:750
static bool lineCheck(const cXyz *, const cXyz *, const fopAc_ac_c *)
Definition f_op_actor_mng.cpp:2092
fopAcM_lc_c()
Definition f_op_actor_mng.h:744
static dBgS_ObjLinChk mLineCheck
Definition f_op_actor_mng.h:757
static bool checkMoveBG()
Definition f_op_actor_mng.h:747
static cXyz * getCrossP()
Definition f_op_actor_mng.h:748
Definition f_op_actor_mng.h:761
static dBgS_ObjRoofChk mRoofCheck
Definition f_op_actor_mng.h:767
static f32 mRoofY
Definition f_op_actor_mng.h:768
static dBgS_ObjRoofChk * getRoofCheck()
Definition f_op_actor_mng.h:763
static bool roofCheck(const cXyz *)
Definition f_op_actor_mng.cpp:2105
static f32 getRoofY()
Definition f_op_actor_mng.h:764
Definition f_op_actor_mng.h:796
static f32 mWaterY
Definition f_op_actor_mng.h:804
static int getPolyAtt0()
Definition f_op_actor_mng.h:800
static f32 getWaterY()
Definition f_op_actor_mng.h:799
static bool waterCheck(const cXyz *)
Definition f_op_actor_mng.cpp:2113
static dBgS_WtrChk * getWaterCheck()
Definition f_op_actor_mng.h:798
static dBgS_WtrChk mWaterCheck
Definition f_op_actor_mng.h:803
Definition f_op_actor_mng.h:82
~l_HIO()
Definition f_op_actor_mng.h:84
Definition m_Do_hostIO.h:5
@ PROC_PLAY_SCENE
Definition d_procname.h:16
static const char * dStage_getName(s16 procName, s8 subtype)
Definition d_stage.cpp:1487
static volatile BOOL flag
Definition dspproc.cpp:20
double x double x
Definition e_atan2.c:58
int m
Definition e_atan2.c:62
double x double y
Definition e_atan2.c:58
z
Definition e_pow.c:390
BOOL fopAc_IsActor(void *i_actor)
Definition f_op_actor.cpp:26
void * fopAcIt_Judge(fopAcIt_JudgeFunc i_judgeFunc, void *i_data)
Definition f_op_actor_iter.cpp:25
void *(* fopAcIt_JudgeFunc)(void *actor, void *data)
Definition f_op_actor_iter.h:6
u32 fopAcM_CheckCondition(fopAc_ac_c *i_actor, u32 flag)
Definition f_op_actor_mng.h:234
f32 fopAcM_GetSpeedF(const fopAc_ac_c *i_actor)
Definition f_op_actor_mng.h:306
void dComIfGs_onItem(int bitNo, int roomNo)
Definition d_com_inf_game.h:1875
void fopAcM_setCullSizeBox(fopAc_ac_c *i_actor, f32 minX, f32 minY, f32 minZ, f32 maxX, f32 maxY, f32 maxZ)
Definition f_op_actor_mng.cpp:462
f32 fopAcM_searchActorDistanceXZ2(const fopAc_ac_c *i_actorA, const fopAc_ac_c *i_actorB)
Definition f_op_actor_mng.cpp:590
cXyz & fopAcM_GetPosition(fopAc_ac_c *i_actor)
Definition f_op_actor_mng.h:214
BOOL fopAcM_CULLSIZE_IS_BOX(int i_culltype)
Definition f_op_actor_mng.h:358
s32 fopAcM_orderTalkEvent(fopAc_ac_c *i_actorA, fopAc_ac_c *i_actorB, u16 i_priority, u16 i_flag)
Definition f_op_actor_mng.cpp:821
void fopAcM_seStartCurrentLevel(const fopAc_ac_c *actor, u32 sfxID, u32 param_2)
Definition f_op_actor_mng.h:687
int(* createFunc)(void *)
Definition f_op_actor_mng.h:92
void fopAcM_SetCullSize(fopAc_ac_c *i_actor, s8 i_cullsize)
Definition f_op_actor_mng.h:350
BOOL fopAcM_isSwitch(const fopAc_ac_c *i_actor, int sw)
Definition f_op_actor_mng.h:383
void fopAcM_setCullSizeSphere(fopAc_ac_c *i_actor, f32 minX, f32 minY, f32 minZ, f32 radius)
Definition f_op_actor_mng.cpp:475
s16 fopAcM_searchActorAngleX(const fopAc_ac_c *i_actorA, const fopAc_ac_c *i_actorB)
Definition f_op_actor_mng.cpp:549
s32 fopAcM_callCallback(fopAc_ac_c *i_actor, heapCallbackFunc i_heapCallback, JKRHeap *i_heap)
Definition f_op_actor_mng.cpp:293
f32 fopAcM_searchPlayerDistanceY(const fopAc_ac_c *actor)
Definition f_op_actor_mng.h:651
void fopAcM_OffStatus(fopAc_ac_c *i_actor, u32 flag)
Definition f_op_actor_mng.h:194
void fopAcM_setStageLayer(void *i_proc)
Definition f_op_actor_mng.cpp:31
fopAc_ac_c * fopAcM_FastCreate(s16 i_procName, FastCreateReqFunc i_createFunc, void *i_createData, void *i_append)
Definition f_op_actor_mng.cpp:25
void fopAcM_SetSpeedF(fopAc_ac_c *actor, f32 f)
Definition f_op_actor_mng.h:286
s32 fopAcM_riverStream(cXyz *, s16 *, f32 *, f32)
Definition f_op_actor_mng.cpp:1803
s32 fopAcM_orderSpeakEvent(fopAc_ac_c *i_actor, u16 i_priority, u16 i_flag)
Definition f_op_actor_mng.cpp:855
fopAc_ac_c * fopAcM_fastCreate(s16 i_procName, u32 i_parameters, const cXyz *i_pos, int i_roomNo, const csXyz *i_angle, const cXyz *i_scale, s8 i_subtype, createFunc i_createFunc, void *i_createFuncData)
Definition f_op_actor_mng.cpp:181
s32 fopAcM_orderChangeEventId(fopAc_ac_c *i_actor, s16 i_eventID, u16 i_flag, u16 param_3)
Definition f_op_actor_mng.cpp:968
fopAcM_prm_class * createAppend(u16 i_setId, u32 i_parameters, const cXyz *i_pos, int i_roomNo, const csXyz *i_angle, const cXyz *i_scale, s8 i_subtype, fpc_ProcID i_parentId)
Definition f_op_actor_mng.cpp:92
dJntCol_c * fopAcM_GetJntCol(fopAc_ac_c *i_actor)
Definition f_op_actor_mng.h:330
s32 fopAcM_getWaterStream(const cXyz *, const cBgS_PolyInfo &, cXyz *, int *, int)
Definition f_op_actor_mng.cpp:2030
f32 fopAcM_searchActorDistanceXZ(const fopAc_ac_c *i_actorA, const fopAc_ac_c *i_actorB)
Definition f_op_actor_mng.cpp:582
void fopAcM_setWarningMessage_f(const fopAc_ac_c *i_actor, const char *i_filename, int i_line, const char *i_msg,...)
Definition f_op_actor_mng.h:722
void fopAcM_calcSpeed(fopAc_ac_c *i_actor)
Definition f_op_actor_mng.cpp:504
void fopAcM_SetMin(fopAc_ac_c *i_actor, f32 minX, f32 minY, f32 minZ)
Definition f_op_actor_mng.cpp:447
void fopAcM_OnStatus(fopAc_ac_c *i_actor, u32 flag)
Definition f_op_actor_mng.h:190
void fopAcM_SetJntCol(fopAc_ac_c *i_actorP, dJntCol_c *i_jntColP)
Definition f_op_actor_mng.h:178
u32 fopAcM_checkHookCarryNow(fopAc_ac_c *i_actor)
Definition f_op_actor_mng.h:162
bool fopAcM_CheckFoodStatus(const fopAc_ac_c *actor, fopAcM_FOOD status)
Definition f_op_actor_mng.h:713
fopAc_ac_c * fopAcM_getItemEventPartner(const fopAc_ac_c *)
Definition f_op_actor_mng.cpp:1118
bool fopAcM_entrySolidHeap(fopAc_ac_c *i_actor, heapCallbackFunc i_heapCallback, u32 i_size)
Definition f_op_actor_mng.cpp:427
int(* heapCallbackFunc)(fopAc_ac_c *)
Definition f_op_actor_mng.h:91
fopAcM_prm_class * fopAcM_GetAppend(void *actor)
Definition f_op_actor_mng.h:298
void fopAcM_DeleteHeap(fopAc_ac_c *i_actor)
Definition f_op_actor_mng.cpp:282
s32 fopAcM_orderCatchEvent(fopAc_ac_c *i_actorA, fopAc_ac_c *i_actorB, u16 i_priority, u16 i_flag)
Definition f_op_actor_mng.cpp:896
void fopAcM_SetModel(fopAc_ac_c *actor, J3DModel *model)
Definition f_op_actor_mng.h:294
void fopAcM_effHamonSet(u32 *, const cXyz *, f32, f32)
Definition f_op_actor_mng.cpp:1787
void fopAcM_Log(fopAc_ac_c const *i_actor, char const *i_message)
Definition f_op_actor_mng.cpp:134
void fopAcM_seStartLevel(const fopAc_ac_c *actor, u32 sfxID, u32 param_2)
Definition f_op_actor_mng.h:682
fopAc_ac_c * fopAcM_findObject4EventCB(fopAc_ac_c *i_actor, void *i_data)
Definition f_op_actor_mng.cpp:1946
u32 fopAcM_GetParam(const void *i_actor)
Definition f_op_actor_mng.h:166
void fopAcM_offSwitch(const fopAc_ac_c *i_actor, int sw)
Definition f_op_actor_mng.h:379
s16 fopAcM_searchActorAngleY(const fopAc_ac_c *i_actorA, const fopAc_ac_c *i_actorB)
Definition f_op_actor_mng.cpp:543
s32 fopAcM_orderItemEvent(fopAc_ac_c *i_actor, u16 i_priority, u16 i_flag)
Definition f_op_actor_mng.cpp:1077
u32 fopAcM_checkCarryNow(fopAc_ac_c *i_actor)
Definition f_op_actor_mng.h:142
s16 fopAcM_getPolygonAngle(const cBgS_PolyInfo &, s16)
Definition f_op_actor_mng.cpp:2064
void fopAcM_setRoomLayer(void *i_proc, int i_roomNo)
Definition f_op_actor_mng.cpp:39
void fopAcM_setCullSizeBox2(fopAc_ac_c *i_actor, J3DModelData *i_modelData)
Definition f_op_actor_mng.cpp:484
const Vec & fopAcM_getCullSizeSphereCenter(const fopAc_ac_c *i_actor)
Definition f_op_actor_mng.h:362
void fopAcM_SetParam(void *i_actor, u32 param)
Definition f_op_actor_mng.h:174
void fopAcM_SetFoodStatus(fopAc_ac_c *actor, fopAcM_FOOD status)
Definition f_op_actor_mng.h:709
void fopAcM_SetMax(fopAc_ac_c *i_actor, f32 maxX, f32 maxY, f32 maxZ)
Definition f_op_actor_mng.cpp:454
void fopAcM_setHookCarryNow(fopAc_ac_c *actor)
Definition f_op_actor_mng.h:254
s32 fopAcM_checkCullingBox(f32[3][4], f32, f32, f32, f32, f32, f32)
void dComIfGs_offActor(int i_no, int i_roomNo)
Definition d_com_inf_game.h:1791
s32 fopAcM_orderPotentialEvent(fopAc_ac_c *i_actor, u16 i_flag, u16 param_2, u16 i_priority)
Definition f_op_actor_mng.cpp:1060
u32 fopAcM_GetParamBit(void *ac, u8 shift, u8 bit)
Definition f_op_actor_mng.h:170
void fopAcM_SetStatus(fopAc_ac_c *actor, u32 actor_status)
Definition f_op_actor_mng.h:290
s32 fopAcM_orderMapToolAutoNextEvent(fopAc_ac_c *i_actor, u8 param_1, s16 i_eventID, u16 param_3, u16 i_flag, u16 param_5)
Definition f_op_actor_mng.cpp:1053
void fopAcM_OnCarryType(fopAc_ac_c *i_actor, fopAcM_CARRY param_2)
Definition f_op_actor_mng.h:696
fpc_ProcID fopAcM_createWarpHole(const cXyz *i_pos, const csXyz *i_angle, int i_roomNo, u8 param_4, u8 param_5, u8 param_6)
Definition f_op_actor_mng.cpp:1590
f32 fopAcM_GetGravity(const fopAc_ac_c *i_actor)
Definition f_op_actor_mng.h:310
s8 fopAcM_GetHomeRoomNo(const fopAc_ac_c *i_actor)
Definition f_op_actor_mng.h:262
void dComIfGs_offSwitch(int i_no, int i_roomNo)
Definition d_com_inf_game.h:1180
void fopAcM_OffCondition(fopAc_ac_c *i_actor, u32 flag)
Definition f_op_actor_mng.h:242
s16 fopAcM_GetProfName(const void *i_actor)
Definition f_op_actor_mng.h:182
csXyz * fopAcM_GetAngle_p(fopAc_ac_c *i_actor)
Definition f_op_actor_mng.h:226
fopAc_ac_c * fopAcM_searchFromName4Event(char const *i_name, s16 i_eventID)
Definition f_op_actor_mng.cpp:1964
s32 fopAcM_orderOtherEventId(fopAc_ac_c *i_actor, s16 i_eventID, u8 i_mapToolID, u16 param_3, u16 i_priority, u16 i_flag)
Definition f_op_actor_mng.cpp:980
fpc_ProcID fopAcM_createItemForMidBoss(const cXyz *i_pos, int i_itemNo, int i_roomNo, const csXyz *i_angle, const cXyz *i_scale, int param_6, int param_7)
Definition f_op_actor_mng.cpp:1334
fopAc_ac_c * fopAcM_getTalkEventPartner(const fopAc_ac_c *)
Definition f_op_actor_mng.cpp:1112
s32 fopAcM_seenActorAngleY(const fopAc_ac_c *i_actorA, const fopAc_ac_c *i_actorB)
Definition f_op_actor_mng.cpp:560
void make_prm_warp_hole(u32 *o_params, u8 prm1, u8 prm2, u8 prm3)
Definition f_op_actor_mng.h:628
fopAc_ac_c * fopAcM_fastCreateItem(const cXyz *i_pos, int i_itemNo, int i_roomNo, const csXyz *i_angle, const cXyz *i_scale, f32 *i_speedF, f32 *i_speedY, int i_itemBitNo, int param_9, createFunc i_createFunc)
Definition f_op_actor_mng.cpp:1478
fopAc_ac_c * fopAcM_SearchByName(s16 proc_id)
Definition f_op_actor_mng.h:387
void fopAcM_cancelCarryNow(fopAc_ac_c *i_actor)
Definition f_op_actor_mng.cpp:1649
BOOL fopAcM_otoCheck(const fopAc_ac_c *i_actor, f32)
Definition f_op_actor_mng.cpp:1674
void fopAcM_posMove(fopAc_ac_c *i_actor, const cXyz *i_movePos)
Definition f_op_actor_mng.cpp:520
const Vec * fopAcM_getCullSizeBoxMax(const fopAc_ac_c *i_actor)
Definition f_op_actor_mng.h:346
void fopAcM_onSwitch(const fopAc_ac_c *i_actor, int sw)
Definition f_op_actor_mng.h:375
fopAc_ac_c * fopAcM_createItemForSimpleDemo(const cXyz *i_pos, int i_itemNo, int i_roomNo, const csXyz *i_angle, const cXyz *i_scale, f32 i_speedF, f32 i_speedY)
Definition f_op_actor_mng.cpp:1352
s8 dComIfGp_getReverb(int roomNo)
Definition d_com_inf_game.cpp:1130
fopAc_ac_c * fopAcM_Search(fopAcIt_JudgeFunc i_judgeFunc, void *i_process)
Definition f_op_actor_mng.h:198
bool fopAcM_isItem(const fopAc_ac_c *item, int bitNo)
Definition f_op_actor_mng.h:397
void fopAcM_setCarryNow(fopAc_ac_c *i_actor, int)
Definition f_op_actor_mng.cpp:1639
BOOL fopAcM_IsActor(void *actor)
Definition f_op_actor_mng.h:246
void fopAcM_setEffectMtx(const fopAc_ac_c *, const J3DModelData *)
Definition f_op_actor_mng.cpp:1865
fopAcM_prm_class * fopAcM_CreateAppend()
Definition f_op_actor_mng.cpp:75
fopAc_ac_c * fopAcM_searchFromName(char const *name, u32 param0, u32 param1)
Definition f_op_actor_mng.cpp:1929
void fopAcM_onItem(const fopAc_ac_c *item, int bitNo)
Definition f_op_actor_mng.h:392
u8 fopAcM_GetGroup(const fopAc_ac_c *i_actor)
Definition f_op_actor_mng.h:186
BOOL fopAcM_IsExecuting(fpc_ProcID id)
Definition f_op_actor_mng.h:302
u32 fopAcM_checkStatus(fopAc_ac_c *i_actor, u32 actor_status)
Definition f_op_actor_mng.h:138
s32 fopAcM_orderDoorEvent(fopAc_ac_c *i_actorA, fopAc_ac_c *i_actorB, u16 i_priority, u16 i_flag)
Definition f_op_actor_mng.cpp:872
void fopAcM_onDraw(fopAc_ac_c *i_actor)
Definition f_op_actor_mng.h:416
bool dComIfGs_isItem(int bitNo, int roomNo)
Definition d_com_inf_game.h:1871
s32 fopAcM_orderTreasureEvent(fopAc_ac_c *i_actorA, fopAc_ac_c *i_actorB, u16 i_priority, u16 i_flag)
Definition f_op_actor_mng.cpp:1094
void fopAcM_offActor(fopAc_ac_c *i_actor, u32 flag)
Definition f_op_actor_mng.h:692
fpc_ProcID fopAcM_GetLinkId(const fopAc_ac_c *i_actor)
Definition f_op_actor_mng.h:206
bool fopAcM_entrySolidHeap_(fopAc_ac_c *i_actor, heapCallbackFunc i_heapCallback, u32 i_size)
Definition f_op_actor_mng.cpp:309
fopAcM_CARRY
Definition f_op_actor_mng.h:146
@ fopAcM_CARRY_LIGHT
Definition f_op_actor_mng.h:151
@ fopAcM_CARRY_TYPE_8
Definition f_op_actor_mng.h:150
@ fopAcM_CARRY_UNK_30
Definition f_op_actor_mng.h:153
@ fopAcM_CARRY_CHICKEN
Definition f_op_actor_mng.h:155
@ fopAcM_CARRY_SIDE
Definition f_op_actor_mng.h:149
@ fopAcM_CARRY_TYPE_1
Definition f_op_actor_mng.h:147
@ fopAcM_CARRY_ITEM
Definition f_op_actor_mng.h:152
@ fopAcM_CARRY_HEAVY
Definition f_op_actor_mng.h:148
@ fopAcM_CARRY_UNK_40
Definition f_op_actor_mng.h:154
void fopAcM_SetGravity(fopAc_ac_c *actor, f32 gravity)
Definition f_op_actor_mng.h:266
void fopAcM_SetSpeed(fopAc_ac_c *actor, f32 x, f32 y, f32 z)
Definition f_op_actor_mng.h:282
BOOL fopAcM_otherBgCheck(const fopAc_ac_c *, const fopAc_ac_c *)
Definition f_op_actor_mng.cpp:1690
fopAcM_STATUS
Definition f_op_actor_mng.h:98
@ fopAcM_STATUS_HOOK_CARRY_NOW
Definition f_op_actor_mng.h:119
@ fopAcM_STATUS_UNK_001000
Definition f_op_actor_mng.h:111
@ fopAcM_STATUS_UNK_004000
Definition f_op_actor_mng.h:113
@ fopAcM_STATUS_UNK_000800
Definition f_op_actor_mng.h:110
@ fopAcM_STATUS_CARRY_NOW
Definition f_op_actor_mng.h:112
@ fopAcM_STATUS_UNK_000010
Definition f_op_actor_mng.h:103
@ fopAcM_STATUS_UNK_800000
Definition f_op_actor_mng.h:118
@ fopAcM_STATUS_UNK_400000
Definition f_op_actor_mng.h:117
@ fopAcM_STATUS_UNK_000040
Definition f_op_actor_mng.h:105
@ fopAcM_STATUS_UNK_000080
Definition f_op_actor_mng.h:106
@ fopAcM_STATUS_UNK_000200
Definition f_op_actor_mng.h:108
@ fopAcM_STATUS_UNK_000001
Definition f_op_actor_mng.h:99
@ fopAcM_STATUS_UNK_200000
Definition f_op_actor_mng.h:116
@ fopAcM_STATUS_UNK_000400
Definition f_op_actor_mng.h:109
@ fopAcM_STATUS_UNK_000002
Definition f_op_actor_mng.h:100
@ fopAcM_STATUS_UNK_000004
Definition f_op_actor_mng.h:101
@ fopAcM_STATUS_UNK_000100
Definition f_op_actor_mng.h:107
@ fopAcM_STATUS_UNK_000008
Definition f_op_actor_mng.h:102
@ fopAcM_STATUS_UNK_010000
Definition f_op_actor_mng.h:115
@ fopAcM_STATUS_UNK_008000
Definition f_op_actor_mng.h:114
@ fopAcM_STATUS_UNK_000020
Definition f_op_actor_mng.h:104
cXyz * fopAcM_GetPosition_p(fopAc_ac_c *i_actor)
Definition f_op_actor_mng.h:210
f32 fopAcM_searchActorDistanceY(const fopAc_ac_c *actorA, const fopAc_ac_c *actorB)
Definition f_op_actor_mng.h:401
MtxP fopAcM_GetMtx(const fopAc_ac_c *i_actor)
Definition f_op_actor_mng.h:134
s16 fopAcM_searchPlayerAngleX(const fopAc_ac_c *actor)
Definition f_op_actor_mng.h:647
s16 fopAcM_searchPlayerAngleY(const fopAc_ac_c *actor)
Definition f_op_actor_mng.h:643
void fopAcM_offDraw(fopAc_ac_c *i_actor)
Definition f_op_actor_mng.h:420
fpc_ProcID fopAcM_createDisappear(const fopAc_ac_c *i_actor, const cXyz *i_pos, u8 i_size, u8 i_type, u8 i_enemyID)
Definition f_op_actor_mng.cpp:1630
fpc_ProcID fopAcM_create(s16 i_procName, u16 i_setId, u32 i_parameters, const cXyz *i_pos, int i_roomNo, const csXyz *i_angle, const cXyz *i_scale, s8 i_subtype, createFunc i_createFunc)
Definition f_op_actor_mng.cpp:159
fpc_ProcID fopAcM_createItemFromEnemyID(u8 i_enemyID, cXyz const *i_pos, int i_itemBitNo, int i_roomNo, csXyz const *i_angle, cXyz const *i_scale, f32 *i_speedF, f32 *i_speedY)
Definition f_op_actor_mng.cpp:1222
f32 fopAcM_searchActorDistance2(const fopAc_ac_c *i_actorA, const fopAc_ac_c *i_actorB)
Definition f_op_actor_mng.cpp:575
u32 fopAcM_CheckCarryType(fopAc_ac_c *actor, fopAcM_CARRY type)
Definition f_op_actor_mng.h:158
fpc_ProcID fopAcM_createItemForBoss(const cXyz *i_pos, int i_itemNo, int i_roomNo, const csXyz *i_angle, const cXyz *i_scale, f32 i_speedF, f32 i_speedY, int param_8)
Definition f_op_actor_mng.cpp:1318
void fopAcM_seStart(const fopAc_ac_c *actor, u32 sfxID, u32 param_2)
Definition f_op_actor_mng.h:678
fpc_ProcID fopAcM_createItem(const cXyz *i_pos, int i_itemNo, int i_itemBitNo, int i_roomNo, const csXyz *i_angle, const cXyz *i_scale, int param_7)
Definition f_op_actor_mng.cpp:1361
fpc_ProcID fopAcM_createItemForPresentDemo(cXyz const *i_pos, int i_itemNo, u8 param_2, int i_itemBitNo, int i_roomNo, csXyz const *i_angle, cXyz const *i_scale)
Definition f_op_actor_mng.cpp:1133
void fopAcM_cancelHookCarryNow(fopAc_ac_c *actor)
Definition f_op_actor_mng.h:258
f32 fopAcM_GetMaxFallSpeed(const fopAc_ac_c *i_actor)
Definition f_op_actor_mng.h:314
void fopAcM_posMoveF(fopAc_ac_c *i_actor, const cXyz *i_movePos)
Definition f_op_actor_mng.cpp:536
void fopAcM_SetRoomNo(fopAc_ac_c *actor, s8 roomNo)
Definition f_op_actor_mng.h:250
static const char * fopAcM_getProcNameString(const fopAc_ac_c *i_actor)
fpc_ProcID fopAcM_GetID(const void *i_actor)
Definition f_op_actor_mng.h:126
BOOL fopAcM_wayBgCheck(const fopAc_ac_c *, f32, f32)
Definition f_op_actor_mng.cpp:1711
void fopAcM_effSmokeSet1(u32 *, u32 *, const cXyz *, const csXyz *, f32, const dKy_tevstr_c *, int)
Definition f_op_actor_mng.cpp:1773
cXyz & fopAcM_GetSpeed(fopAc_ac_c *i_actor)
Definition f_op_actor_mng.h:322
void fopAcM_onActor(const fopAc_ac_c *i_actor)
Definition f_op_actor_mng.h:411
s16 fopAcM_GetName(void *i_actor)
Definition f_op_actor_mng.h:130
fopAc_ac_c * fopAcM_createItemForDirectGet(const cXyz *i_pos, int i_itemNo, int i_roomNo, const csXyz *i_angle, const cXyz *i_scale, f32 i_speedF, f32 i_speedY)
Definition f_op_actor_mng.cpp:1343
void dComIfGs_onActor(int bitNo, int roomNo)
Definition d_com_inf_game.h:1879
fopAc_ac_c * fopAcM_myRoomSearchEnemy(s8 roomNo)
Definition f_op_actor_mng.cpp:1611
fopAc_ac_c * dComIfGp_getPlayer(int)
Definition d_com_inf_game.h:2120
void fpoAcM_relativePos(fopAc_ac_c const *i_actor, cXyz const *i_pos, cXyz *o_pos)
Definition f_op_actor_mng.cpp:2019
fpc_ProcID fopAcM_createItemFromTable(cXyz const *i_pos, int i_tableNo, int i_itemBitNo, int i_roomNo, csXyz const *i_angle, int param_5, cXyz const *i_scale, f32 *i_speedF, f32 *i_speedY, bool i_createDirect)
Definition f_op_actor_mng.cpp:1255
fpc_ProcID fopAcM_createItemForTrBoxDemo(cXyz const *i_pos, int i_itemNo, int i_itemBitNo, int i_roomNo, csXyz const *i_angle, cXyz const *i_scale)
Definition f_op_actor_mng.cpp:1147
static const fopAc_ac_c * fopAcM_findObjectCB(fopAc_ac_c const *i_actor, void *i_data)
void fopAcM_setCullSizeFar(fopAc_ac_c *i_actor, f32 i_far)
Definition f_op_actor_mng.h:334
void fopAcM_seStartCurrent(const fopAc_ac_c *actor, u32 sfxID, u32 param_2)
Definition f_op_actor_mng.h:673
void fopAcM_effSmokeSet2(u32 *param_0, u32 *param_1, cXyz const *param_2, csXyz const *param_3, f32 param_4, dKy_tevstr_c const *param_5)
Definition f_op_actor_mng.h:717
void fopAcM_delete(fopAc_ac_c *i_actor)
Definition f_op_actor_mng.cpp:138
f32 fopAcM_searchPlayerDistanceXZ2(const fopAc_ac_c *actor)
Definition f_op_actor_mng.h:655
dBgS & dComIfG_Bgsp()
Definition d_com_inf_game.h:944
u16 fopAcM_GetSetId(const fopAc_ac_c *i_actor)
Definition f_op_actor_mng.h:405
s32 fopAcM_orderMapToolEvent(fopAc_ac_c *i_actor, u8 param_1, s16 i_eventID, u16 param_3, u16 i_flag, u16 param_5)
Definition f_op_actor_mng.cpp:1016
fpc_ProcID fopAcM_createBokkuri(u16 i_setId, const cXyz *i_pos, int param_3, int param_4, int i_roomNo, const cXyz *param_6, int param_7, int param_8)
Definition f_op_actor_mng.cpp:1574
f32 fopAcM_searchActorDistance(const fopAc_ac_c *i_actorA, const fopAc_ac_c *i_actorB)
Definition f_op_actor_mng.cpp:568
cXyz * fopAcM_GetSpeed_p(fopAc_ac_c *i_actor)
Definition f_op_actor_mng.h:222
csXyz * fopAcM_GetShapeAngle_p(fopAc_ac_c *i_actor)
Definition f_op_actor_mng.h:230
s8 fopAcM_GetRoomNo(const fopAc_ac_c *i_actor)
Definition f_op_actor_mng.h:122
s32 fopAcM_getWaterY(const cXyz *, f32 *o_waterY)
Definition f_op_actor_mng.cpp:2007
void fopAcM_OnCondition(fopAc_ac_c *i_actor, u32 flag)
Definition f_op_actor_mng.h:238
cXyz * fopAcM_GetOldPosition_p(fopAc_ac_c *i_actor)
Definition f_op_actor_mng.h:218
void dComIfGs_onSwitch(int i_no, int i_roomNo)
Definition d_com_inf_game.h:1176
fopAc_ac_c * fopAcM_fastCreateItem2(const cXyz *i_pos, int i_itemNo, int i_itemBitNo, int i_roomNo, int param_5, const csXyz *i_angle, const cXyz *i_scale)
Definition f_op_actor_mng.cpp:1417
void fopAcM_SetGroup(fopAc_ac_c *actor, u8 group)
Definition f_op_actor_mng.h:270
bool fopAcM_addAngleY(fopAc_ac_c *i_actor, s16 i_target, s16 i_step)
Definition f_op_actor_mng.cpp:499
s32 fopAcM_orderTalkItemBtnEvent(u16 i_eventType, fopAc_ac_c *i_actorA, fopAc_ac_c *i_actorB, u16 i_priority, u16 i_flag)
Definition f_op_actor_mng.cpp:838
u8 fopAcM_getItemNoFromTableNo(u8 i_tableNo)
Definition f_op_actor_mng.cpp:1166
fopAcM_FOOD
Definition f_op_actor_mng.h:700
@ fopAcM_FOOD_5
Definition f_op_actor_mng.h:706
@ fopAcM_FOOD_3
Definition f_op_actor_mng.h:704
@ fopAcM_FOOD_4
Definition f_op_actor_mng.h:705
@ fopAcM_FOOD_2
Definition f_op_actor_mng.h:703
@ fopAcM_FOOD_0
Definition f_op_actor_mng.h:701
@ fopAcM_FOOD_1
Definition f_op_actor_mng.h:702
f32 fopAcM_searchPlayerDistanceXZ(const fopAc_ac_c *actor)
Definition f_op_actor_mng.h:659
fpc_ProcID fopAcM_createChild(s16 i_procName, fpc_ProcID i_parentID, u32 i_parameters, const cXyz *i_pos, int i_roomNo, const csXyz *i_angle, const cXyz *i_scale, s8 i_subtype, createFunc i_createFunc)
Definition f_op_actor_mng.cpp:209
f32 fopAcM_getCullSizeFar(const fopAc_ac_c *i_actor)
Definition f_op_actor_mng.h:338
f32 fopAcM_searchPlayerDistance(const fopAc_ac_c *actor)
Definition f_op_actor_mng.h:663
fopAc_ac_c * fopAcM_getEventPartner(const fopAc_ac_c *)
Definition f_op_actor_mng.cpp:1123
s32 fopAcM_carryOffRevise(fopAc_ac_c *)
Definition f_op_actor_mng.cpp:1808
BOOL dComIfGs_isSwitch(int i_no, int i_roomNo)
Definition d_com_inf_game.h:1184
void fopAcM_SetMaxFallSpeed(fopAc_ac_c *actor, f32 speed)
Definition f_op_actor_mng.h:274
s32 fopAcM_cullingCheck(const fopAc_ac_c *i_actor)
Definition f_op_actor_mng.cpp:735
s32 fopAcM_orderOtherEvent(fopAc_ac_c *i_actor, char const *i_eventName, u16 param_2, u16 i_flag, u16 i_priority)
Definition f_op_actor_mng.cpp:912
f32 fopAcM_getCullSizeSphereR(const fopAc_ac_c *i_actor)
Definition f_op_actor_mng.h:366
BOOL fopAcM_plAngleCheck(const fopAc_ac_c *i_actor, s16 i_angle)
Definition f_op_actor_mng.cpp:1738
fopAc_ac_c * fopAcM_SearchByID(fpc_ProcID id)
Definition f_op_actor_mng.h:202
void fopAcM_initManager()
Definition f_op_actor_mng.cpp:2126
int fopAcM_GetCullSize(const fopAc_ac_c *i_actor)
Definition f_op_actor_mng.h:354
void fopAcM_SetMtx(fopAc_ac_c *actor, MtxP m)
Definition f_op_actor_mng.h:278
const Vec * fopAcM_getCullSizeBoxMin(const fopAc_ac_c *i_actor)
Definition f_op_actor_mng.h:342
fpc_ProcID fopAcM_createChildFromOffset(s16 i_procName, fpc_ProcID i_parentID, u32 i_parameters, const cXyz *i_pos, int i_roomNo, const csXyz *i_angle, const cXyz *i_scale, s8 i_subtype, createFunc i_createFunc)
Definition f_op_actor_mng.cpp:223
s32 fopAcM_seenPlayerAngleY(const fopAc_ac_c *i_actor)
Definition f_op_actor_mng.h:667
fpc_ProcID fopAcM_createDemoItem(const cXyz *i_pos, int i_itemNo, int i_itemBitNo, const csXyz *i_angle, int i_roomNo, const cXyz *scale, u8 param_7)
Definition f_op_actor_mng.cpp:1300
void make_prm_bokkuri(u32 *i_params, csXyz *i_angle, u8 param_2, u8 param_3, u8 param_4, u8 param_5, u8 param_6)
Definition f_op_actor_mng.h:635
BOOL fopAcM_rollPlayerCrash(fopAc_ac_c const *i_crashActor, f32 i_range, u32 i_flag, f32 i_max_y, f32 i_min_y, BOOL param_5, f32 param_6)
Definition f_op_actor_mng.cpp:602
void fopDwTg_ToDrawQ(create_tag_class *i_createTag, int i_priority)
Definition f_op_draw_tag.cpp:15
void fopDwTg_DrawQTo(create_tag_class *i_createTag)
Definition f_op_draw_tag.cpp:20
unsigned int fpc_ProcID
Definition f_pc_base.h:10
fpc_ProcID fpcM_GetID(const void *i_process)
Definition f_pc_manager.h:19
s16 fpcM_DrawPriority(const void *i_process)
Definition f_pc_manager.h:44
s16 fpcM_GetName(const void *i_process)
Definition f_pc_manager.h:23
void * fpcM_GetAppend(const void *i_process)
Definition f_pc_manager.h:64
BOOL fpcM_IsExecuting(fpc_ProcID id)
Definition f_pc_manager.h:68
void fpcM_SetParam(void *i_process, u32 param)
Definition f_pc_manager.h:31
int(* FastCreateReqFunc)(void *)
Definition f_pc_manager.h:15
u32 fpcM_GetParam(const void *i_process)
Definition f_pc_manager.h:27
s16 fpcM_GetProfName(const void *i_process)
Definition f_pc_manager.h:35
void * fpcSch_JudgeForPName(void *i_proc, void *i_data)
Definition f_pc_searcher.cpp:9
void * fpcSch_JudgeByID(void *i_proc, void *i_data)
Definition f_pc_searcher.cpp:18
static s32 status
Definition fstload.c:6
void mDoAud_seStart(u32 i_sfxID, const Vec *i_sePos, u32 param_2, s8 i_reverb)
Definition m_Do_audio.h:84
void mDoAud_seStartLevel(u32 i_sfxID, const Vec *i_sePos, u32 param_2, s8 i_reverb)
Definition m_Do_audio.h:89
f32(* MtxP)[4]
Definition mtx.h:18
u32 getSDevice()
Definition JUTAssert.cpp:84
int snprintf(char *s, size_t n, const char *format,...)
Definition printf.c:1254
Definition f_op_actor_mng.h:94
double y
Definition f_op_actor_mng.h:95
double x
Definition f_op_actor_mng.h:95
double z
Definition f_op_actor_mng.h:95
Definition d_a_ep.cpp:51
Definition d_a_ep.cpp:155
Definition d_a_hozelda.cpp:18
cXyz * GetCrossP()
Definition c_bg_s_lin_chk.h:40
void ClrSttsRoofOff()
Definition c_bg_s_lin_chk.h:50
Definition d_a_ep.cpp:134
void GetTriPla(cBgS_PolyInfo const &, cM3dGPla *) const
Definition d_bg_s.cpp:259
Definition d_a_npc_fguard.cpp:122
Definition d_a_hozelda.cpp:20
Definition d_a_ep.cpp:66
Definition d_a_ep.cpp:120
Definition d_a_ep.cpp:110
Definition d_a_npc_fguard.cpp:109
s32 GetPolyColor(cBgS_PolyInfo const &)
Definition d_bg_s.cpp:390
BOOL GetHorseNoEntry(cBgS_PolyInfo const &)
Definition d_bg_s.cpp:404
bool ChkMoveBG(cBgS_PolyInfo const &)
Definition d_bg_s.cpp:353
int GetPolyAtt0(cBgS_PolyInfo const &)
Definition d_bg_s.cpp:466
s32 GetRoomId(cBgS_PolyInfo const &)
Definition d_bg_s.cpp:552
Definition d_a_ep.cpp:49
Definition f_op_actor_mng.h:73
virtual ~fOpAcm_HIO_entry_c()
Definition f_op_actor_mng.h:74
Definition d_a_ep.cpp:23
static dBgS_ObjGndChk mGndCheck
Definition f_op_actor_mng.h:775
static bool gndCheck(const cXyz *)
static int getPolyColor()
Definition f_op_actor_mng.h:789
static int getPolyAtt0()
Definition f_op_actor_mng.h:790
static f32 getGroundY()
Definition f_op_actor_mng.h:793
static f32 mGroundY
Definition d_a_ep.cpp:27
static dBgS_ObjGndChk * getGroundCheck()
Definition f_op_actor_mng.h:792
static bool getTriPla(cM3dGPla *i_plane)
Definition f_op_actor_mng.h:778
static s16 getGroundAngleDirection(s16 param_0)
Definition f_op_actor_mng.h:782
static u8 mGndCheck[84]
Definition d_a_ep.cpp:26
static int getRoomId()
Definition f_op_actor_mng.h:788
static int getHorseNoEntry()
Definition f_op_actor_mng.h:791
Definition f_op_actor_mng.h:31
u32 field_0x00
Definition f_op_actor_mng.h:32
u16 field_0x16
Definition f_op_actor_mng.h:35
cXyz field_0x04
Definition f_op_actor_mng.h:33
csXyz field_0x10
Definition f_op_actor_mng.h:34
Definition f_op_actor_mng.h:38
u16 setId
Definition f_op_actor_mng.h:42
s8 subtype
Definition f_op_actor_mng.h:45
s8 room_no
Definition f_op_actor_mng.h:46
u32 parameters
Definition f_op_actor_mng.h:39
csXyz angle
Definition f_op_actor_mng.h:41
cXyz position
Definition f_op_actor_mng.h:40
fpc_ProcID parent_id
Definition f_op_actor_mng.h:44
u8 scale[3]
Definition f_op_actor_mng.h:43
Definition f_op_actor_mng.h:49
char name[30]
Definition f_op_actor_mng.h:58
fopAcM_search4ev_prm()
Definition f_op_actor_mng.h:50
s8 subtype
Definition f_op_actor_mng.h:61
s16 procname
Definition f_op_actor_mng.h:60
void clear()
Definition f_op_actor_mng.h:51
s16 event_id
Definition f_op_actor_mng.h:59
Definition f_op_actor_mng.h:64
s8 subtype
Definition f_op_actor_mng.h:68
u32 prm1
Definition f_op_actor_mng.h:66
s16 procname
Definition f_op_actor_mng.h:67
u32 prm0
Definition f_op_actor_mng.h:65
Definition d_a_ep.cpp:19
int BOOL
Definition types.h:27
signed char s8
Definition types.h:4
unsigned long u32
Definition types.h:10
float f32
Definition types.h:22
signed short s16
Definition types.h:5
unsigned short u16
Definition types.h:9
signed long s32
Definition types.h:6
unsigned char u8
Definition types.h:8