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 "f_op/f_op_actor.h"
6#include "f_pc/f_pc_manager.h"
8#include "d/d_bg_s.h"
9#include "d/d_bg_s_gnd_chk.h"
10#include "d/d_bg_s_lin_chk.h"
11#include "d/d_bg_s_wtr_chk.h"
12#include "d/d_bg_s_roof_chk.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 mParameter; // single U32 Parameter
40 /* 0x04 */ cXyz mPos;
41 /* 0x10 */ csXyz mAngle; // rotation
42 /* 0x16 */ u16 mEnemyNo;
43 /* 0x18 */ u8 mScale[3];
44 /* 0x1B */ u8 mGbaName; // from WW, maybe a different parameter here
45 /* 0x1C */ fpc_ProcID mParentPId; // parent process ID
46 /* 0x20 */ s8 mSubtype;
47 /* 0x21 */ s8 mRoomNo;
48};
49
52 void clear() {
53 mName[0] = 0;
54 mEventID = -1;
55 mProcName = 11;
56 mSubType = 0;
57 }
58
59 /* 0x00 */ char mName[30];
60 /* 0x1E */ s16 mEventID;
61 /* 0x20 */ s16 mProcName;
62 /* 0x22 */ s8 mSubType;
63};
64
66 /* 0x00 */ u32 mParam0;
67 /* 0x04 */ u32 mParam1;
68 /* 0x08 */ s16 mProcName;
69 /* 0x0A */ s8 mSubType;
70};
71
72// define to avoid vtable mess in WIP TUs
73#ifndef HIO_entry_c_NO_VIRTUAL
76};
77#else
78struct fOpAcm_HIO_entry_c {
80};
81#endif
82
83class l_HIO {
84public:
85 /* 8001E098 */ ~l_HIO() {}
86};
87
89
91public:
95
96 static dBgS_ObjLinChk* getLineCheck() { return &mLineCheck; }
97 static bool checkMoveBG() { return dComIfG_Bgsp().ChkMoveBG(mLineCheck); }
98 static cXyz* getCrossP() { return mLineCheck.GetCrossP(); }
99 static bool lineCheck(const cXyz*, const cXyz*, const fopAc_ac_c*);
101 static bool checkWallHit() {
103 getTriPla(&poly);
104 return cBgW_CheckBWall(poly.mNormal.y);
105 }
106
108};
109
110class dBgS_RoofChk;
112public:
114 static f32 getRoofY() { return mRoofY; }
115 static bool roofCheck(const cXyz*);
116
118 static f32 mRoofY;
119};
120
121class dBgS_GndChk;
122class fopAcM_gc_c {
123public:
124 static bool gndCheck(const cXyz*);
126 static f32 mGroundY;
127
129 static int getRoomId() { return dComIfG_Bgsp().GetRoomId(mGndCheck); }
131 static int getPolyAtt0() { return dComIfG_Bgsp().GetPolyAtt0(mGndCheck); }
133 static f32 getGroundY() { return mGroundY; }
134};
135
137public:
138 static dBgS_WtrChk* getWaterCheck() { return &mWaterCheck; }
139 static f32 getWaterY() { return mWaterY; }
141
142 static bool waterCheck(const cXyz*);
144 static f32 mWaterY;
145};
146
147class dKy_tevstr_c;
148class cBgS_PolyInfo;
150typedef int (*createFunc)(void*);
151
153 double x, y, z;
154};
155
157 /* 0x000001 */ fopAcM_STATUS_UNK_000001 = 1 << 0,
158 /* 0x000002 */ fopAcM_STATUS_UNK_000002 = 1 << 1,
159 /* 0x000004 */ fopAcM_STATUS_UNK_000004 = 1 << 2,
160 /* 0x000008 */ fopAcM_STATUS_UNK_000008 = 1 << 3,
161 /* 0x000010 */ fopAcM_STATUS_UNK_000010 = 1 << 4,
162 /* 0x000020 */ fopAcM_STATUS_UNK_000020 = 1 << 5,
163 /* 0x000040 */ fopAcM_STATUS_UNK_000040 = 1 << 6,
164 /* 0x000080 */ fopAcM_STATUS_UNK_000080 = 1 << 7,
165 /* 0x000100 */ fopAcM_STATUS_UNK_000100 = 1 << 8,
166 /* 0x000200 */ fopAcM_STATUS_UNK_000200 = 1 << 9,
167 /* 0x000400 */ fopAcM_STATUS_UNK_000400 = 1 << 10,
168 /* 0x000800 */ fopAcM_STATUS_UNK_000800 = 1 << 11,
169 /* 0x001000 */ fopAcM_STATUS_UNK_001000 = 1 << 12,
170 /* 0x002000 */ fopAcM_STATUS_CARRY_NOW = 1 << 13,
171 /* 0x004000 */ fopAcM_STATUS_UNK_004000 = 1 << 14,
172 /* 0x008000 */ fopAcM_STATUS_UNK_008000 = 1 << 15,
173 /* 0x010000 */ fopAcM_STATUS_UNK_010000 = 1 << 16,
174 /* 0x020000 */ fopAcM_STATUS_UNK_200000 = 1 << 17,
175 /* 0x040000 */ fopAcM_STATUS_UNK_400000 = 1 << 18,
176 /* 0x080000 */ fopAcM_STATUS_UNK_800000 = 1 << 19,
177 /* 0x100000 */ fopAcM_STATUS_HOOK_CARRY_NOW = 1 << 20,
178};
179
181 return pActor->current.roomNo;
182}
183
184inline fpc_ProcID fopAcM_GetID(const void* pActor) {
185 return fpcM_GetID(pActor);
186}
187
188inline s16 fopAcM_GetName(void* pActor) {
189 return fpcM_GetName(pActor);
190}
191
193 return pActor->cullMtx;
194}
195
197 return pActor->actor_status & actor_status;
198}
199
201 return pActor->actor_status & fopAcM_STATUS_CARRY_NOW;
202}
203
205 /* 0x01 */ fopAcM_CARRY_TYPE_1 = 1,
206 /* 0x02 */ fopAcM_CARRY_HEAVY = 2,
207 /* 0x04 */ fopAcM_CARRY_SIDE = 4,
208 /* 0x08 */ fopAcM_CARRY_TYPE_8 = 8,
209 /* 0x10 */ fopAcM_CARRY_LIGHT = 16, // guess based on context
210 /* 0x20 */ fopAcM_CARRY_ITEM = 32,
211 /* 0x30 */ fopAcM_CARRY_UNK_30 = 0x30,
212 /* 0x40 */ fopAcM_CARRY_UNK_40 = 0x40,
213 /* 0x80 */ fopAcM_CARRY_CHICKEN = 0x80,
214};
215
217 return actor->carryType & type;
218}
219
223
224inline u32 fopAcM_GetParam(const void* pActor) {
225 return fpcM_GetParam(pActor);
226}
227
229 return (fopAcM_GetParam(ac) >> shift) & ((1 << bit) - 1);
230}
231
232inline void fopAcM_SetParam(void* p_actor, u32 param) {
233 fpcM_SetParam(p_actor, param);
234}
235
239
240inline s16 fopAcM_GetProfName(const void* pActor) {
241 return fpcM_GetProfName(pActor);
242}
243
245 return p_actor->group;
246}
247
249 pActor->actor_status |= flag;
250}
251
253 pActor->actor_status &= ~flag;
254}
255
256inline fopAc_ac_c* fopAcM_Search(fopAcIt_JudgeFunc func, void* param) {
257 return (fopAc_ac_c*)fopAcIt_Judge(func, param);
258}
259
263
265 return pActor->parentActorID;
266}
267
269 return &pActor->current.pos;
270}
271
273 return pActor->current.pos;
274}
275
277 return &pActor->old.pos;
278}
279
281 return &pActor->speed;
282}
283
285 return &pActor->current.angle;
286}
287
289 return &pActor->shape_angle;
290}
291
293 return p_actor->actor_condition & flag;
294}
295
297 p_actor->actor_condition |= flag;
298}
299
301 p_actor->actor_condition &= ~flag;
302}
303
304inline BOOL fopAcM_IsActor(void* actor) {
305 return fopAc_IsActor(actor);
306}
307
308inline void fopAcM_SetRoomNo(fopAc_ac_c* actor, s8 roomNo) {
309 actor->current.roomNo = roomNo;
310}
311
315
319
321 return pActor->home.roomNo;
322}
323
324inline void fopAcM_SetGravity(fopAc_ac_c* actor, f32 gravity) {
325 actor->gravity = gravity;
326}
327
328inline void fopAcM_SetGroup(fopAc_ac_c* actor, u8 group) {
329 actor->group = group;
330}
331
333 actor->maxFallSpeed = speed;
334}
335
337 actor->cullMtx = m;
338}
339
341 actor->speed.set(x, y, z);
342}
343
345 actor->speedF = f;
346}
347
348inline void fopAcM_SetStatus(fopAc_ac_c* actor, u32 actor_status) {
349 actor->actor_status = actor_status;
350}
351
353 actor->model = model;
354}
355
359
361 return fpcM_IsExecuting(id);
362}
363
365 return p_actor->speedF;
366}
367
369 return p_actor->gravity;
370}
371
373 return p_actor->maxFallSpeed;
374}
375
377 return &p_actor->speed;
378}
379
381 return p_actor->speed;
382}
383
385 return &p_actor->current.pos;
386}
387
389 return i_actor->jntCol;
390}
391
393 i_actor->cullSizeFar = i_far;
394}
395
397 return i_actor->cullSizeFar;
398}
399
401 i_actor->cullType = i_cullsize;
402}
403
405 return i_actor->cullType;
406}
407
409 return (i_culltype >= 0 && i_culltype < 14) || i_culltype == 14;
410}
411
413 return i_actor->cull.sphere.center;
414}
415
417 return i_actor->cull.sphere.radius;
418}
419
420inline void dComIfGs_onSwitch(int i_no, int i_roomNo);
421inline void dComIfGs_offSwitch(int i_no, int i_roomNo);
422inline BOOL dComIfGs_isSwitch(int i_no, int i_roomNo);
423inline void dComIfGs_offActor(int i_no, int i_roomNo);
424
425inline void fopAcM_onSwitch(const fopAc_ac_c* pActor, int sw) {
427}
428
432
436
440
441inline void dComIfGs_onItem(int bitNo, int roomNo);
445
446inline bool dComIfGs_isItem(int bitNo, int roomNo);
447inline bool fopAcM_isItem(const fopAc_ac_c* item, int bitNo) {
449}
450
452 return actorB->current.pos.y - actorA->current.pos.y;
453}
454
456 return p_actor->setID;
457}
458
459inline void dComIfGs_onActor(int bitNo, int roomNo);
460
461inline void fopAcM_onActor(const fopAc_ac_c* p_actor) {
462 int setId = fopAcM_GetSetId(p_actor);
464}
465
469
471 fopDwTg_DrawQTo(&i_actor->draw_tag);
472}
473
474void fopAcM_initManager();
475
476void* fopAcM_FastCreate(s16 pProcTypeID, FastCreateReqFunc param_2, void* param_3, void* pData);
477
478void fopAcM_setStageLayer(void* p_proc);
479
480void fopAcM_setRoomLayer(void* p_proc, int roomNo);
481
483
485
487
489 const csXyz* p_angle, const cXyz* p_scale, s8 subType,
491
492void fopAcM_Log(fopAc_ac_c const* p_actor, char const* str);
493
495
497
500
501s32 fopAcM_create(s16 procName, u32 parameter, const cXyz* p_pos, int roomNo, const csXyz* p_angle,
502 const cXyz* p_scale, s8 subType);
503
504void* fopAcM_fastCreate(s16 procName, u32 parameter, const cXyz* p_pos, int roomNo,
505 const csXyz* p_angle, const cXyz* p_scale, s8 subType,
507
508void* fopAcM_fastCreate(const char* p_actorName, u32 parameter, const cXyz* pActorPos, int roomNo,
510 void* p_createFuncData);
511
513 int roomNo, const csXyz* p_angle, const cXyz* p_scale, s8 subType,
515
517 const cXyz* p_pos, int roomNo, const csXyz* p_angle,
519
521
523
525
527
529
531
533 f32 maxZ);
534
536
538
540
542
544
546
548
550
552
554
556
558
560
574 u16 priority, u16 flag);
583
585 int i_roomNo, csXyz const* p_angle, cXyz const* p_scale);
586
588 csXyz const* p_angle, cXyz const* p_scale);
589
591
593 csXyz const* p_angle, cXyz const* p_scale, f32* speedF,
594 f32* speedY);
595
597 csXyz const* p_angle, int param_5, cXyz const* p_scale, f32* speedF,
598 f32* speedY, bool createDirect);
599
601 int roomNo, const cXyz* scale, u8 param_7);
602
603s32 fopAcM_createItemForBoss(const cXyz* p_pos, int i_itemNo, int roomNo, const csXyz* p_angle,
604 const cXyz* p_scale, f32 speedF, f32 speedY, int param_8);
605
607 const cXyz* p_scale, int param_6, int param_7);
608
610 const csXyz* p_angle, const cXyz* p_scale, f32 speedF,
611 f32 speedY);
612
614 const csXyz* p_angle, const cXyz* p_scale, f32 speedF,
615 f32 speedY);
616
617s32 fopAcM_createItem(const cXyz* p_pos, int itemNo, int param_3, int roomNo, const csXyz* p_angle,
618 const cXyz* p_scale, int param_7);
619
620void* fopAcM_fastCreateItem2(const cXyz* p_pos, int itemNo, int param_3, int roomNo, int param_5,
621 const csXyz* p_angle, const cXyz* p_scale);
622
623void* fopAcM_fastCreateItem(const cXyz* p_pos, int i_itemNo, int i_roomNo, const csXyz* p_angle,
624 const cXyz* p_scale, f32* p_speedF, f32* p_speedY, int param_8,
626
627s32 fopAcM_createBokkuri(u16, const cXyz*, int, int, int, const cXyz*, int, int);
628s32 fopAcM_createWarpHole(const cXyz*, const csXyz*, int, u8, u8, u8);
629
631
639void fopAcM_effSmokeSet1(u32*, u32*, const cXyz*, const csXyz*, f32, const dKy_tevstr_c*, int);
640void fopAcM_effHamonSet(u32*, const cXyz*, f32, f32);
643// void vectle_calc(const DOUBLE_POS*, cXyz*);
644// void get_vectle_calc(const cXyz*, const cXyz*, cXyz*);
645void fopAcM_setEffectMtx(const fopAc_ac_c*, const J3DModelData*);
646
647static const char* fopAcM_getProcNameString(const fopAc_ac_c* p_actor);
648
650
652
654
655fopAc_ac_c* fopAcM_searchFromName4Event(char const* name, s16 eventID);
656
657s32 fopAcM_getWaterY(const cXyz*, f32*);
659s32 fopAcM_getWaterStream(const cXyz*, const cBgS_PolyInfo&, cXyz*, int*, int);
662
664 u32 pp1 = (p3 << 0x8);
665 u32 pp2 = (p2 << 0x10);
666 u32 pp3 = (p1 << 0x1B) | 0x170000FF;
667 *actorParams = pp2 | pp3 | pp1;
668}
669
670inline void make_prm_bokkuri(u32* pActorParams, csXyz* p_angle, u8 param_2, u8 param_3, u8 param_4,
671 u8 param_5, u8 param_6) {
672 p_angle->x = (param_4 << 0x8) | (param_3 & 0xFF);
673 p_angle->z = (param_6 << 0xD) | (param_2 << 0x1) | param_5;
674}
675
676inline fopAc_ac_c* dComIfGp_getPlayer(int);
677
681
685
689
693
697
701
705
706s8 dComIfGp_getReverb(int roomNo);
707
711
715
719
723
727
729 pActor->carryType |= param_2;
730}
731
740
742 actor->field_0x567 = status;
743}
744
746 return actor->field_0x567 == status;
747}
748
749inline void fopAcM_effSmokeSet2(u32* param_0, u32* param_1, cXyz const* param_2, csXyz const* param_3,
750 f32 param_4, dKy_tevstr_c const* param_5) {
751 fopAcM_effSmokeSet1(param_0, param_1, param_2, param_3, param_4, param_5, 0);
752}
753
754#endif
bool cBgW_CheckBWall(float y)
Definition c_bg_w.cpp:34
T cLib_calcTimer(T *value)
Definition c_lib.h:74
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:90
static dBgS_ObjLinChk * getLineCheck()
Definition f_op_actor_mng.h:96
static bool checkWallHit()
Definition f_op_actor_mng.h:101
static bool getTriPla(cM3dGPla *o_tri)
Definition f_op_actor_mng.h:100
static bool lineCheck(const cXyz *, const cXyz *, const fopAc_ac_c *)
Definition f_op_actor_mng.cpp:2118
fopAcM_lc_c()
Definition f_op_actor_mng.h:92
static dBgS_ObjLinChk mLineCheck
Definition f_op_actor_mng.h:107
static bool checkMoveBG()
Definition f_op_actor_mng.h:97
static cXyz * getCrossP()
Definition f_op_actor_mng.h:98
Definition f_op_actor_mng.h:111
static dBgS_ObjRoofChk mRoofCheck
Definition f_op_actor_mng.h:117
static f32 mRoofY
Definition f_op_actor_mng.h:118
static dBgS_ObjRoofChk * getRoofCheck()
Definition f_op_actor_mng.h:113
static bool roofCheck(const cXyz *)
Definition f_op_actor_mng.cpp:2131
static f32 getRoofY()
Definition f_op_actor_mng.h:114
Definition f_op_actor_mng.h:136
static f32 mWaterY
Definition f_op_actor_mng.h:144
static int getPolyAtt0()
Definition f_op_actor_mng.h:140
static f32 getWaterY()
Definition f_op_actor_mng.h:139
static bool waterCheck(const cXyz *)
Definition f_op_actor_mng.cpp:2139
static dBgS_WtrChk * getWaterCheck()
Definition f_op_actor_mng.h:138
static dBgS_WtrChk mWaterCheck
Definition f_op_actor_mng.h:143
Definition f_op_actor_mng.h:83
~l_HIO()
Definition f_op_actor_mng.h:85
Definition m_Do_hostIO.h:5
static void * target
Definition d_a_npc_cd2.cpp:1908
static SECTION_RODATA u32 const itemNo
Definition d_a_obj_poFire.cpp:380
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
s32 fopAc_IsActor(void *i_this)
Definition f_op_actor.cpp:27
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
s32 fopAcM_otoCheck(const fopAc_ac_c *, f32)
Definition f_op_actor_mng.cpp:1686
void fopAcM_OffStatus(fopAc_ac_c *pActor, u32 flag)
Definition f_op_actor_mng.h:252
bool fopAcM_addAngleY(fopAc_ac_c *p_actor, s16 target, s16 step)
Definition f_op_actor_mng.cpp:499
f32 fopAcM_searchActorDistanceXZ2(const fopAc_ac_c *p_actorA, const fopAc_ac_c *p_actorB)
Definition f_op_actor_mng.cpp:607
f32 fopAcM_searchActorDistanceXZ(const fopAc_ac_c *p_actorA, const fopAc_ac_c *p_actorB)
Definition f_op_actor_mng.cpp:598
void dComIfGs_onItem(int bitNo, int roomNo)
Definition d_com_inf_game.h:1842
cXyz * fopAcM_GetPosition_p(fopAc_ac_c *pActor)
Definition f_op_actor_mng.h:268
BOOL fopAcM_CULLSIZE_IS_BOX(int i_culltype)
Definition f_op_actor_mng.h:408
void fopAcM_SetParam(void *p_actor, u32 param)
Definition f_op_actor_mng.h:232
cXyz & fopAcM_GetSpeed(fopAc_ac_c *p_actor)
Definition f_op_actor_mng.h:380
void fopAcM_seStartCurrentLevel(const fopAc_ac_c *actor, u32 sfxID, u32 param_2)
Definition f_op_actor_mng.h:720
void fopAcM_DeleteHeap(fopAc_ac_c *p_actor)
Definition f_op_actor_mng.cpp:282
fopAc_ac_c * fopAcM_Search(fopAcIt_JudgeFunc func, void *param)
Definition f_op_actor_mng.h:256
void * fopAcM_createItemForDirectGet(const cXyz *p_pos, int i_itemNo, int i_roomNo, const csXyz *p_angle, const cXyz *p_scale, f32 speedF, f32 speedY)
Definition f_op_actor_mng.cpp:1352
int(* createFunc)(void *)
Definition f_op_actor_mng.h:150
void fopAcM_calcSpeed(fopAc_ac_c *p_actor)
Definition f_op_actor_mng.cpp:504
s32 fopAcM_createItemForBoss(const cXyz *p_pos, int i_itemNo, int roomNo, const csXyz *p_angle, const cXyz *p_scale, f32 speedF, f32 speedY, int param_8)
Definition f_op_actor_mng.cpp:1331
void fopAcM_SetCullSize(fopAc_ac_c *i_actor, s8 i_cullsize)
Definition f_op_actor_mng.h:400
s32 fopAcM_createItemForMidBoss(const cXyz *p_pos, int i_itemNo, int i_roomNo, const csXyz *p_angle, const cXyz *p_scale, int param_6, int param_7)
Definition f_op_actor_mng.cpp:1345
void fopAcM_OnCondition(fopAc_ac_c *p_actor, u32 flag)
Definition f_op_actor_mng.h:296
u32 fopAcM_GetParam(const void *pActor)
Definition f_op_actor_mng.h:224
s32 fopAcM_orderOtherEvent(fopAc_ac_c *, const char *, u16, u16, u16)
Definition f_op_actor_mng.cpp:931
void make_prm_warp_hole(u32 *actorParams, u8 p1, u8 p2, u8 p3)
Definition f_op_actor_mng.h:663
f32 fopAcM_searchPlayerDistanceY(const fopAc_ac_c *actor)
Definition f_op_actor_mng.h:686
static const char * fopAcM_getProcNameString(const fopAc_ac_c *p_actor)
s32 fopAcM_createBokkuri(u16, const cXyz *, int, int, int, const cXyz *, int, int)
Definition f_op_actor_mng.cpp:1582
fpc_ProcID fopAcM_GetID(const void *pActor)
Definition f_op_actor_mng.h:184
s32 fopAcM_createItemFromTable(cXyz const *p_pos, int i_tableNo, int i_itemBitNo, int i_roomNo, csXyz const *p_angle, int param_5, cXyz const *p_scale, f32 *speedF, f32 *speedY, bool createDirect)
Definition f_op_actor_mng.cpp:1271
s32 fopAcM_create(s16 procName, u16 enemyNo, u32 parameter, const cXyz *p_pos, int roomNo, const csXyz *p_angle, const cXyz *p_scale, s8 subType, createFunc p_createFunc)
Definition f_op_actor_mng.cpp:160
void fopAcM_SetSpeedF(fopAc_ac_c *actor, f32 f)
Definition f_op_actor_mng.h:344
s32 fopAcM_riverStream(cXyz *, s16 *, f32 *, f32)
Definition f_op_actor_mng.cpp:1829
s32 fopAcM_orderSpeakEvent(fopAc_ac_c *i_actor, u16 i_priority, u16 i_flag)
Definition f_op_actor_mng.cpp:875
s32 fopAcM_otherBgCheck(const fopAc_ac_c *, const fopAc_ac_c *)
Definition f_op_actor_mng.cpp:1702
dJntCol_c * fopAcM_GetJntCol(fopAc_ac_c *i_actor)
Definition f_op_actor_mng.h:388
s32 fopAcM_getWaterStream(const cXyz *, const cBgS_PolyInfo &, cXyz *, int *, int)
Definition f_op_actor_mng.cpp:2056
void fopAcM_OnCarryType(fopAc_ac_c *pActor, fopAcM_CARRY param_2)
Definition f_op_actor_mng.h:728
s32 fopAcM_orderMapToolEvent(fopAc_ac_c *, u8, s16, u16, u16, u16)
Definition f_op_actor_mng.cpp:1035
fopAc_ac_c * fopAcM_searchFromName4Event(char const *name, s16 eventID)
Definition f_op_actor_mng.cpp:1990
void * fopAcM_createItemForSimpleDemo(const cXyz *p_pos, int i_itemNo, int i_roomNo, const csXyz *p_angle, const cXyz *p_scale, f32 speedF, f32 speedY)
Definition f_op_actor_mng.cpp:1361
s32 fopAcM_orderChangeEventId(fopAc_ac_c *, s16, u16, u16)
Definition f_op_actor_mng.cpp:987
void fopAcM_SetJntCol(fopAc_ac_c *i_actorP, dJntCol_c *i_jntColP)
Definition f_op_actor_mng.h:236
bool fopAcM_CheckFoodStatus(const fopAc_ac_c *actor, fopAcM_FOOD status)
Definition f_op_actor_mng.h:745
fopAc_ac_c * fopAcM_getItemEventPartner(const fopAc_ac_c *)
Definition f_op_actor_mng.cpp:1135
void * fopAcM_fastCreate(s16 procName, u32 parameter, const cXyz *p_pos, int roomNo, const csXyz *p_angle, const cXyz *p_scale, s8 subType, createFunc p_createFunc, void *p_createFuncData)
Definition f_op_actor_mng.cpp:182
s32 fopAcM_orderDoorEvent(fopAc_ac_c *, fopAc_ac_c *, u16, u16)
Definition f_op_actor_mng.cpp:892
int(* heapCallbackFunc)(fopAc_ac_c *)
Definition f_op_actor_mng.h:149
fopAcM_prm_class * fopAcM_GetAppend(void *actor)
Definition f_op_actor_mng.h:356
cXyz * fopAcM_GetSpeed_p(fopAc_ac_c *pActor)
Definition f_op_actor_mng.h:280
void fopAcM_SetModel(fopAc_ac_c *actor, J3DModel *model)
Definition f_op_actor_mng.h:352
void fopAcM_setCarryNow(fopAc_ac_c *, int)
Definition f_op_actor_mng.cpp:1651
void fopAcM_effHamonSet(u32 *, const cXyz *, f32, f32)
Definition f_op_actor_mng.cpp:1813
void fopAcM_seStartLevel(const fopAc_ac_c *actor, u32 sfxID, u32 param_2)
Definition f_op_actor_mng.h:716
void fpoAcM_relativePos(fopAc_ac_c const *actor, cXyz const *p_inPos, cXyz *p_outPos)
Definition f_op_actor_mng.cpp:2045
s16 fopAcM_getPolygonAngle(const cBgS_PolyInfo &, s16)
Definition f_op_actor_mng.cpp:2090
const Vec & fopAcM_getCullSizeSphereCenter(const fopAc_ac_c *i_actor)
Definition f_op_actor_mng.h:412
s32 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:1641
void fopAcM_offSwitch(const fopAc_ac_c *pActor, int sw)
Definition f_op_actor_mng.h:429
void fopAcM_SetFoodStatus(fopAc_ac_c *actor, fopAcM_FOOD status)
Definition f_op_actor_mng.h:741
s16 fopAcM_GetName(void *pActor)
Definition f_op_actor_mng.h:188
s8 fopAcM_GetHomeRoomNo(const fopAc_ac_c *pActor)
Definition f_op_actor_mng.h:320
void fopAcM_setHookCarryNow(fopAc_ac_c *actor)
Definition f_op_actor_mng.h:312
s32 fopAcM_orderMapToolAutoNextEvent(fopAc_ac_c *, u8, s16, u16, u16, u16)
Definition f_op_actor_mng.cpp:1072
s32 fopAcM_createChildFromOffset(s16 procName, fpc_ProcID parentProcID, u32 actorParams, const cXyz *p_pos, int roomNo, const csXyz *p_angle, const cXyz *p_scale, s8 subType, createFunc p_createFunc)
Definition f_op_actor_mng.cpp:224
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:1758
cXyz * fopAcM_GetOldPosition_p(fopAc_ac_c *pActor)
Definition f_op_actor_mng.h:276
csXyz * fopAcM_GetAngle_p(fopAc_ac_c *pActor)
Definition f_op_actor_mng.h:284
u32 fopAcM_GetParamBit(void *ac, u8 shift, u8 bit)
Definition f_op_actor_mng.h:228
void fopAcM_SetStatus(fopAc_ac_c *actor, u32 actor_status)
Definition f_op_actor_mng.h:348
s32 fopAcM_getWaterY(const cXyz *, f32 *)
Definition f_op_actor_mng.cpp:2033
s16 fopAcM_searchActorAngleY(const fopAc_ac_c *p_actorA, const fopAc_ac_c *p_actorB)
Definition f_op_actor_mng.cpp:543
f32 fopAcM_searchActorDistance(const fopAc_ac_c *p_actorA, const fopAc_ac_c *p_actorB)
Definition f_op_actor_mng.cpp:584
void fopAcM_delete(fopAc_ac_c *p_actor)
Definition f_op_actor_mng.cpp:139
void dComIfGs_offSwitch(int i_no, int i_roomNo)
Definition d_com_inf_game.h:1167
s16 fopAcM_GetProfName(const void *pActor)
Definition f_op_actor_mng.h:240
s32 fopAcM_orderTreasureEvent(fopAc_ac_c *, fopAc_ac_c *, u16, u16)
Definition f_op_actor_mng.cpp:1113
void fopAcM_posMove(fopAc_ac_c *p_actor, const cXyz *p_movePos)
Definition f_op_actor_mng.cpp:520
f32 fopAcM_GetMaxFallSpeed(const fopAc_ac_c *p_actor)
Definition f_op_actor_mng.h:372
void fopAcM_setStageLayer(void *p_proc)
Definition f_op_actor_mng.cpp:31
f32 fopAcM_searchActorDistance2(const fopAc_ac_c *p_actorA, const fopAc_ac_c *p_actorB)
Definition f_op_actor_mng.cpp:591
fopAc_ac_c * fopAcM_findObject4EventCB(fopAc_ac_c *p_actor, void *p_data)
Definition f_op_actor_mng.cpp:1972
s32 fopAcM_orderTalkEvent(fopAc_ac_c *, fopAc_ac_c *, u16, u16)
Definition f_op_actor_mng.cpp:842
void fopAcM_cancelCarryNow(fopAc_ac_c *)
Definition f_op_actor_mng.cpp:1661
void fopAcM_Log(fopAc_ac_c const *p_actor, char const *str)
Definition f_op_actor_mng.cpp:135
s32 fopAcM_plAngleCheck(const fopAc_ac_c *, s16)
Definition f_op_actor_mng.cpp:1750
fopAc_ac_c * fopAcM_getTalkEventPartner(const fopAc_ac_c *)
Definition f_op_actor_mng.cpp:1129
cXyz & fopAcM_GetPosition(fopAc_ac_c *pActor)
Definition f_op_actor_mng.h:272
fopAc_ac_c * fopAcM_SearchByName(s16 proc_id)
Definition f_op_actor_mng.h:437
s16 fopAcM_searchActorAngleX(const fopAc_ac_c *p_actorA, const fopAc_ac_c *p_actorB)
Definition f_op_actor_mng.cpp:549
u8 fopAcM_GetGroup(const fopAc_ac_c *p_actor)
Definition f_op_actor_mng.h:244
void * event_second_actor(u16)
Definition f_op_actor_mng.cpp:836
fpc_ProcID fopAcM_GetLinkId(const fopAc_ac_c *pActor)
Definition f_op_actor_mng.h:264
s32 fopAcM_cullingCheck(const fopAc_ac_c *)
Definition f_op_actor_mng.cpp:755
s8 dComIfGp_getReverb(int roomNo)
Definition d_com_inf_game.cpp:1106
bool fopAcM_isItem(const fopAc_ac_c *item, int bitNo)
Definition f_op_actor_mng.h:447
s32 fopAcM_orderCatchEvent(fopAc_ac_c *, fopAc_ac_c *, u16, u16)
Definition f_op_actor_mng.cpp:915
BOOL fopAcM_IsActor(void *actor)
Definition f_op_actor_mng.h:304
void fopAcM_setEffectMtx(const fopAc_ac_c *, const J3DModelData *)
Definition f_op_actor_mng.cpp:1891
bool fopAcM_entrySolidHeap_(fopAc_ac_c *p_actor, heapCallbackFunc p_heapCallback, u32 size)
Definition f_op_actor_mng.cpp:309
fopAcM_prm_class * fopAcM_CreateAppend()
Definition f_op_actor_mng.cpp:75
csXyz * fopAcM_GetShapeAngle_p(fopAc_ac_c *pActor)
Definition f_op_actor_mng.h:288
s32 fopAcM_rollPlayerCrash(const fopAc_ac_c *, f32, u32, f32, f32, int, f32)
Definition f_op_actor_mng.cpp:620
void fopAcM_SetMin(fopAc_ac_c *p_actor, f32 minX, f32 minY, f32 minZ)
Definition f_op_actor_mng.cpp:447
fopAc_ac_c * fopAcM_searchFromName(char const *name, u32 param0, u32 param1)
Definition f_op_actor_mng.cpp:1955
void make_prm_bokkuri(u32 *pActorParams, csXyz *p_angle, u8 param_2, u8 param_3, u8 param_4, u8 param_5, u8 param_6)
Definition f_op_actor_mng.h:670
void fopAcM_onItem(const fopAc_ac_c *item, int bitNo)
Definition f_op_actor_mng.h:442
BOOL fopAcM_IsExecuting(fpc_ProcID id)
Definition f_op_actor_mng.h:360
void fopAcM_onDraw(fopAc_ac_c *i_actor)
Definition f_op_actor_mng.h:466
void fopAcM_setCullSizeBox(fopAc_ac_c *p_actor, f32 minX, f32 minY, f32 minZ, f32 maxX, f32 maxY, f32 maxZ)
Definition f_op_actor_mng.cpp:462
bool dComIfGs_isItem(int bitNo, int roomNo)
Definition d_com_inf_game.h:1838
s32 fopAcM_createItemFromEnemyID(u8 i_enemyID, cXyz const *p_pos, int i_itemBitNo, int i_roomNo, csXyz const *p_angle, cXyz const *p_scale, f32 *speedF, f32 *speedY)
Definition f_op_actor_mng.cpp:1239
fopAcM_CARRY
Definition f_op_actor_mng.h:204
@ fopAcM_CARRY_LIGHT
Definition f_op_actor_mng.h:209
@ fopAcM_CARRY_TYPE_8
Definition f_op_actor_mng.h:208
@ fopAcM_CARRY_UNK_30
Definition f_op_actor_mng.h:211
@ fopAcM_CARRY_CHICKEN
Definition f_op_actor_mng.h:213
@ fopAcM_CARRY_SIDE
Definition f_op_actor_mng.h:207
@ fopAcM_CARRY_TYPE_1
Definition f_op_actor_mng.h:205
@ fopAcM_CARRY_ITEM
Definition f_op_actor_mng.h:210
@ fopAcM_CARRY_HEAVY
Definition f_op_actor_mng.h:206
@ fopAcM_CARRY_UNK_40
Definition f_op_actor_mng.h:212
void fopAcM_SetGravity(fopAc_ac_c *actor, f32 gravity)
Definition f_op_actor_mng.h:324
u32 fopAcM_CheckCondition(fopAc_ac_c *p_actor, u32 flag)
Definition f_op_actor_mng.h:292
void fopAcM_SetSpeed(fopAc_ac_c *actor, f32 x, f32 y, f32 z)
Definition f_op_actor_mng.h:340
u32 fopAcM_checkStatus(fopAc_ac_c *pActor, u32 actor_status)
Definition f_op_actor_mng.h:196
fopAcM_STATUS
Definition f_op_actor_mng.h:156
@ fopAcM_STATUS_HOOK_CARRY_NOW
Definition f_op_actor_mng.h:177
@ fopAcM_STATUS_UNK_001000
Definition f_op_actor_mng.h:169
@ fopAcM_STATUS_UNK_004000
Definition f_op_actor_mng.h:171
@ fopAcM_STATUS_UNK_000800
Definition f_op_actor_mng.h:168
@ fopAcM_STATUS_CARRY_NOW
Definition f_op_actor_mng.h:170
@ fopAcM_STATUS_UNK_000010
Definition f_op_actor_mng.h:161
@ fopAcM_STATUS_UNK_800000
Definition f_op_actor_mng.h:176
@ fopAcM_STATUS_UNK_400000
Definition f_op_actor_mng.h:175
@ fopAcM_STATUS_UNK_000040
Definition f_op_actor_mng.h:163
@ fopAcM_STATUS_UNK_000080
Definition f_op_actor_mng.h:164
@ fopAcM_STATUS_UNK_000200
Definition f_op_actor_mng.h:166
@ fopAcM_STATUS_UNK_000001
Definition f_op_actor_mng.h:157
@ fopAcM_STATUS_UNK_200000
Definition f_op_actor_mng.h:174
@ fopAcM_STATUS_UNK_000400
Definition f_op_actor_mng.h:167
@ fopAcM_STATUS_UNK_000002
Definition f_op_actor_mng.h:158
@ fopAcM_STATUS_UNK_000004
Definition f_op_actor_mng.h:159
@ fopAcM_STATUS_UNK_000100
Definition f_op_actor_mng.h:165
@ fopAcM_STATUS_UNK_000008
Definition f_op_actor_mng.h:160
@ fopAcM_STATUS_UNK_010000
Definition f_op_actor_mng.h:173
@ fopAcM_STATUS_UNK_008000
Definition f_op_actor_mng.h:172
@ fopAcM_STATUS_UNK_000020
Definition f_op_actor_mng.h:162
void * fopAcM_fastCreateItem(const cXyz *p_pos, int i_itemNo, int i_roomNo, const csXyz *p_angle, const cXyz *p_scale, f32 *p_speedF, f32 *p_speedY, int param_8, int param_9, createFunc p_createFunc)
Definition f_op_actor_mng.cpp:1487
void fopAcM_setCullSizeBox2(fopAc_ac_c *p_actor, J3DModelData *p_modelData)
Definition f_op_actor_mng.cpp:484
f32 fopAcM_searchActorDistanceY(const fopAc_ac_c *actorA, const fopAc_ac_c *actorB)
Definition f_op_actor_mng.h:451
s16 fopAcM_searchPlayerAngleX(const fopAc_ac_c *actor)
Definition f_op_actor_mng.h:682
s16 fopAcM_searchPlayerAngleY(const fopAc_ac_c *actor)
Definition f_op_actor_mng.h:678
void fopAcM_offDraw(fopAc_ac_c *i_actor)
Definition f_op_actor_mng.h:470
u32 fopAcM_checkHookCarryNow(fopAc_ac_c *pActor)
Definition f_op_actor_mng.h:220
void fopAcM_onActor(const fopAc_ac_c *p_actor)
Definition f_op_actor_mng.h:461
s32 fopAcM_createChild(s16 procName, fpc_ProcID parentPId, u32 parameters, const cXyz *p_pos, int roomNo, const csXyz *p_angle, const cXyz *p_scale, s8 subType, createFunc p_createFunc)
Definition f_op_actor_mng.cpp:210
f32 fopAcM_GetSpeedF(const fopAc_ac_c *p_actor)
Definition f_op_actor_mng.h:364
u32 fopAcM_CheckCarryType(fopAc_ac_c *actor, fopAcM_CARRY type)
Definition f_op_actor_mng.h:216
void fopAcM_seStart(const fopAc_ac_c *actor, u32 sfxID, u32 param_2)
Definition f_op_actor_mng.h:712
u32 fopAcM_checkCarryNow(fopAc_ac_c *pActor)
Definition f_op_actor_mng.h:200
u16 fopAcM_GetSetId(const fopAc_ac_c *p_actor)
Definition f_op_actor_mng.h:455
s32 fopAcM_orderItemEvent(fopAc_ac_c *, u16, u16)
Definition f_op_actor_mng.cpp:1096
BOOL fopAcM_isSwitch(const fopAc_ac_c *pActor, int sw)
Definition f_op_actor_mng.h:433
void fopAcM_cancelHookCarryNow(fopAc_ac_c *actor)
Definition f_op_actor_mng.h:316
void fopAcM_SetRoomNo(fopAc_ac_c *actor, s8 roomNo)
Definition f_op_actor_mng.h:308
bool fopAcM_entrySolidHeap(fopAc_ac_c *p_actor, heapCallbackFunc p_heapCallback, u32 size)
Definition f_op_actor_mng.cpp:427
static const fopAc_ac_c * fopAcM_findObjectCB(fopAc_ac_c const *p_actor, void *p_data)
s32 fopAcM_createItem(const cXyz *p_pos, int itemNo, int param_3, int roomNo, const csXyz *p_angle, const cXyz *p_scale, int param_7)
Definition f_op_actor_mng.cpp:1370
void fopAcM_effSmokeSet1(u32 *, u32 *, const cXyz *, const csXyz *, f32, const dKy_tevstr_c *, int)
Definition f_op_actor_mng.cpp:1799
void fopAcM_offActor(fopAc_ac_c *pActor, u32 flag)
Definition f_op_actor_mng.h:724
fopAcM_prm_class * createAppend(u16 enemyNo, u32 parameters, const cXyz *p_pos, int roomNo, const csXyz *p_angle, const cXyz *p_scale, s8 subType, fpc_ProcID parentPId)
Definition f_op_actor_mng.cpp:93
s32 fopAcM_wayBgCheck(const fopAc_ac_c *, f32, f32)
Definition f_op_actor_mng.cpp:1723
void * fopAcM_FastCreate(s16 pProcTypeID, FastCreateReqFunc param_2, void *param_3, void *pData)
Definition f_op_actor_mng.cpp:25
f32 fopAcM_GetGravity(const fopAc_ac_c *p_actor)
Definition f_op_actor_mng.h:368
void dComIfGs_onActor(int bitNo, int roomNo)
Definition d_com_inf_game.h:1846
void fopAcM_OnStatus(fopAc_ac_c *pActor, u32 flag)
Definition f_op_actor_mng.h:248
s32 fopAcM_seenActorAngleY(const fopAc_ac_c *, const fopAc_ac_c *)
Definition f_op_actor_mng.cpp:561
void fopAcM_setCullSizeSphere(fopAc_ac_c *p_actor, f32 minX, f32 minY, f32 minZ, f32 radius)
Definition f_op_actor_mng.cpp:475
void fopAcM_setRoomLayer(void *p_proc, int roomNo)
Definition f_op_actor_mng.cpp:39
fopAc_ac_c * fopAcM_myRoomSearchEnemy(s8 roomNo)
Definition f_op_actor_mng.cpp:1622
fopAc_ac_c * dComIfGp_getPlayer(int)
Definition d_com_inf_game.h:2087
void fopAcM_OffCondition(fopAc_ac_c *p_actor, u32 flag)
Definition f_op_actor_mng.h:300
void fopAcM_setCullSizeFar(fopAc_ac_c *i_actor, f32 i_far)
Definition f_op_actor_mng.h:392
void fopAcM_seStartCurrent(const fopAc_ac_c *actor, u32 sfxID, u32 param_2)
Definition f_op_actor_mng.h:708
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:749
MtxP fopAcM_GetMtx(const fopAc_ac_c *pActor)
Definition f_op_actor_mng.h:192
f32 fopAcM_searchPlayerDistanceXZ2(const fopAc_ac_c *actor)
Definition f_op_actor_mng.h:690
dBgS & dComIfG_Bgsp()
Definition d_com_inf_game.h:931
void fopAcM_onSwitch(const fopAc_ac_c *pActor, int sw)
Definition f_op_actor_mng.h:425
s8 fopAcM_GetRoomNo(const fopAc_ac_c *pActor)
Definition f_op_actor_mng.h:180
void fopAcM_posMoveF(fopAc_ac_c *p_actor, const cXyz *p_movePos)
Definition f_op_actor_mng.cpp:536
s32 fopAcM_callCallback(fopAc_ac_c *p_actor, heapCallbackFunc p_callbackFunc, JKRHeap *p_heap)
Definition f_op_actor_mng.cpp:293
void dComIfGs_onSwitch(int i_no, int i_roomNo)
Definition d_com_inf_game.h:1163
void fopAcM_SetGroup(fopAc_ac_c *actor, u8 group)
Definition f_op_actor_mng.h:328
s32 fopAcM_orderPotentialEvent(fopAc_ac_c *, u16, u16, u16)
Definition f_op_actor_mng.cpp:1079
u8 fopAcM_getItemNoFromTableNo(u8 i_tableNo)
Definition f_op_actor_mng.cpp:1183
fopAcM_FOOD
Definition f_op_actor_mng.h:732
@ fopAcM_FOOD_5
Definition f_op_actor_mng.h:738
@ fopAcM_FOOD_3
Definition f_op_actor_mng.h:736
@ fopAcM_FOOD_4
Definition f_op_actor_mng.h:737
@ fopAcM_FOOD_2
Definition f_op_actor_mng.h:735
@ fopAcM_FOOD_0
Definition f_op_actor_mng.h:733
@ fopAcM_FOOD_1
Definition f_op_actor_mng.h:734
f32 fopAcM_searchPlayerDistanceXZ(const fopAc_ac_c *actor)
Definition f_op_actor_mng.h:694
f32 fopAcM_getCullSizeFar(const fopAc_ac_c *i_actor)
Definition f_op_actor_mng.h:396
f32 fopAcM_searchPlayerDistance(const fopAc_ac_c *actor)
Definition f_op_actor_mng.h:698
fopAc_ac_c * fopAcM_getEventPartner(const fopAc_ac_c *)
Definition f_op_actor_mng.cpp:1140
s32 fopAcM_carryOffRevise(fopAc_ac_c *)
Definition f_op_actor_mng.cpp:1834
s32 fopAcM_createItemForPresentDemo(cXyz const *p_pos, int i_itemNo, u8 param_2, int i_itemBitNo, int i_roomNo, csXyz const *p_angle, cXyz const *p_scale)
Definition f_op_actor_mng.cpp:1150
s32 fopAcM_createWarpHole(const cXyz *, const csXyz *, int, u8, u8, u8)
Definition f_op_actor_mng.cpp:1598
BOOL dComIfGs_isSwitch(int i_no, int i_roomNo)
Definition d_com_inf_game.h:1171
void fopAcM_SetMaxFallSpeed(fopAc_ac_c *actor, f32 speed)
Definition f_op_actor_mng.h:332
void * fopAcM_fastCreateItem2(const cXyz *p_pos, int itemNo, int param_3, int roomNo, int param_5, const csXyz *p_angle, const cXyz *p_scale)
Definition f_op_actor_mng.cpp:1426
f32 fopAcM_getCullSizeSphereR(const fopAc_ac_c *i_actor)
Definition f_op_actor_mng.h:416
fopAc_ac_c * fopAcM_SearchByID(fpc_ProcID id)
Definition f_op_actor_mng.h:260
void fopAcM_initManager()
Definition f_op_actor_mng.cpp:2152
int fopAcM_GetCullSize(const fopAc_ac_c *i_actor)
Definition f_op_actor_mng.h:404
s32 fopAcM_orderOtherEventId(fopAc_ac_c *actor, s16 eventID, u8 mapToolID, u16 param_3, u16 priority, u16 flag)
Definition f_op_actor_mng.cpp:999
s32 fopAcM_createItemForTrBoxDemo(cXyz const *p_pos, int i_itemNo, int i_itemBitNo, int i_roomNo, csXyz const *p_angle, cXyz const *p_scale)
Definition f_op_actor_mng.cpp:1164
void fopAcM_SetMtx(fopAc_ac_c *actor, MtxP m)
Definition f_op_actor_mng.h:336
s32 fopAcM_seenPlayerAngleY(const fopAc_ac_c *i_actor)
Definition f_op_actor_mng.h:702
s32 fopAcM_createDemoItem(const cXyz *p_pos, int itemNo, int itemBitNo, const csXyz *p_angle, int roomNo, const cXyz *scale, u8 param_7)
Definition f_op_actor_mng.cpp:1314
s32 fopAcM_orderTalkItemBtnEvent(u16, fopAc_ac_c *, fopAc_ac_c *, u16, u16)
Definition f_op_actor_mng.cpp:858
void fopAcM_SetMax(fopAc_ac_c *p_actor, f32 maxX, f32 maxY, f32 maxZ)
Definition f_op_actor_mng.cpp:454
void fopDwTg_ToDrawQ(create_tag_class *i_createTag, int i_priority)
Definition f_op_draw_tag.cpp:16
void fopDwTg_DrawQTo(create_tag_class *i_createTag)
Definition f_op_draw_tag.cpp:21
unsigned int fpc_ProcID
Definition f_pc_base.h:10
s16 fpcM_DrawPriority(const void *param_0)
Definition f_pc_manager.h:42
u32 fpcM_GetParam(const void *pActor)
Definition f_pc_manager.h:25
void * fpcM_GetAppend(const void *proc)
Definition f_pc_manager.h:62
BOOL fpcM_IsExecuting(fpc_ProcID id)
Definition f_pc_manager.h:66
s16 fpcM_GetName(const void *pActor)
Definition f_pc_manager.h:22
int(* FastCreateReqFunc)(void *)
Definition f_pc_manager.h:15
fpc_ProcID fpcM_GetID(const void *pProc)
Definition f_pc_manager.h:19
void fpcM_SetParam(void *p_actor, u32 param)
Definition f_pc_manager.h:29
s16 fpcM_GetProfName(const void *pActor)
Definition f_pc_manager.h:33
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
Definition f_op_actor_mng.h:152
double y
Definition f_op_actor_mng.h:153
double x
Definition f_op_actor_mng.h:153
double z
Definition f_op_actor_mng.h:153
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 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:74
virtual ~fOpAcm_HIO_entry_c()
Definition f_op_actor_mng.h:75
Definition d_a_ep.cpp:23
static dBgS_ObjGndChk mGndCheck
Definition f_op_actor_mng.h:125
static bool gndCheck(const cXyz *)
static int getPolyColor()
Definition f_op_actor_mng.h:130
static int getPolyAtt0()
Definition f_op_actor_mng.h:131
static f32 getGroundY()
Definition f_op_actor_mng.h:133
static f32 mGroundY
Definition d_a_ep.cpp:27
static dBgS_ObjGndChk * getGroundCheck()
Definition f_op_actor_mng.h:132
static bool getTriPla(cM3dGPla *i_plane)
Definition f_op_actor_mng.h:128
static u8 mGndCheck[84]
Definition d_a_ep.cpp:26
static int getRoomId()
Definition f_op_actor_mng.h:129
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
s8 mRoomNo
Definition f_op_actor_mng.h:47
s8 mSubtype
Definition f_op_actor_mng.h:46
cXyz mPos
Definition f_op_actor_mng.h:40
u8 mScale[3]
Definition f_op_actor_mng.h:43
fpc_ProcID mParentPId
Definition f_op_actor_mng.h:45
u8 mGbaName
Definition f_op_actor_mng.h:44
csXyz mAngle
Definition f_op_actor_mng.h:41
u16 mEnemyNo
Definition f_op_actor_mng.h:42
u32 mParameter
Definition f_op_actor_mng.h:39
Definition f_op_actor_mng.h:50
char mName[30]
Definition f_op_actor_mng.h:59
fopAcM_search4ev_prm()
Definition f_op_actor_mng.h:51
s16 mEventID
Definition f_op_actor_mng.h:60
s8 mSubType
Definition f_op_actor_mng.h:62
void clear()
Definition f_op_actor_mng.h:52
s16 mProcName
Definition f_op_actor_mng.h:61
Definition f_op_actor_mng.h:65
s8 mSubType
Definition f_op_actor_mng.h:69
s16 mProcName
Definition f_op_actor_mng.h:68
u32 mParam0
Definition f_op_actor_mng.h:66
u32 mParam1
Definition f_op_actor_mng.h:67
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