1#ifndef F_OP_ACTOR_MNG_H_
2#define F_OP_ACTOR_MNG_H_
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); \
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); \
73#ifndef HIO_entry_c_NO_VIRTUAL
181 return pActor->current.roomNo;
197 return pActor->actor_status & actor_status;
217 return actor->carryType & type;
265 return pActor->parentActorID;
269 return &
pActor->current.pos;
273 return pActor->current.pos;
285 return &
pActor->current.angle;
289 return &
pActor->shape_angle;
309 actor->current.roomNo = roomNo;
321 return pActor->home.roomNo;
325 actor->gravity = gravity;
329 actor->group = group;
333 actor->maxFallSpeed = speed;
349 actor->actor_status = actor_status;
353 actor->model = model;
413 return i_actor->cull.sphere.center;
417 return i_actor->cull.sphere.radius;
666 u32 pp3 = (
p1 << 0x1B) | 0x170000FF;
672 p_angle->x = (param_4 << 0x8) | (param_3 & 0xFF);
bool cBgW_CheckBWall(float y)
Definition c_bg_w.cpp:34
T cLib_calcTimer(T *value)
Definition c_lib.h:74
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
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: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: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 f_op_actor_mng.h:74
virtual ~fOpAcm_HIO_entry_c()
Definition f_op_actor_mng.h:75
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
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