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); \
72#ifndef HIO_entry_c_NO_VIRTUAL
123 return i_actor->current.roomNo;
139 return i_actor->actor_status & actor_status;
159 return actor->carryType & type;
227 return &
i_actor->current.angle;
251 actor->current.roomNo = roomNo;
267 actor->gravity = gravity;
271 actor->group = group;
275 actor->maxFallSpeed = speed;
291 actor->actor_status = actor_status;
295 actor->model = model;
363 return i_actor->cull.sphere.center;
367 return i_actor->cull.sphere.radius;
631 u32 pprm3 = (prm1 << 0x1B) | 0x170000FF;
637 i_angle->x = (param_4 << 0x8) | (param_3 & 0xFF);
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__)
739#define fopAcM_setWarningMessage(...)
bool cBgW_CheckBWall(float y)
Definition c_bg_w.cpp:34
T cLib_calcTimer(T *value)
Definition c_lib.h:79
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
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: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 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 f_op_actor_mng.h:73
virtual ~fOpAcm_HIO_entry_c()
Definition f_op_actor_mng.h:74
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
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