1#ifndef D_A_FORMATION_MNG_H
2#define D_A_FORMATION_MNG_H
212 (this->*(*mAction))();
237 if (
member->mNpcId != -1) {
265 attr().field_0x14,
attr().field_0x16);
311 attr().field_0x14,
attr().field_0x16);
s32 cLib_distanceAngleS(s16 x, s16 y)
Definition c_lib.cpp:341
s16 cLib_targetAngleY(const Vec *lhs, const Vec *rhs)
Definition c_lib.cpp:314
void cLib_addCalcAngleS2(s16 *pValue, s16 target, s16 scale, s16 maxStep)
Definition c_lib.cpp:192
T cLib_calcTimer(T *value)
Definition c_lib.h:74
f32 cM_ssin(s16 x)
Definition c_math.h:23
f32 cM_scos(s16 x)
Definition c_math.h:19
static void daPy_getPlayerActorClass()
Definition d_a_b_gnd.cpp:2857
static u8 pos[12]
Definition d_a_obj_kago.cpp:839
s32 dKy_getDarktime_minute()
Definition d_kankyo.cpp:1477
s32 dKy_getdaytime_hour()
Definition d_kankyo.cpp:1449
s32 dKy_getdaytime_minute()
Definition d_kankyo.cpp:1454
bool dKy_darkworld_check()
Definition d_kankyo.cpp:4460
s32 dKy_getDarktime_hour()
Definition d_kankyo.cpp:1471
dPath * dPath_GetRoomPath(int path_index, int room_no)
Definition d_path.cpp:19
dStage_dPnt_c * dPath_GetPnt(dPath const *path, int pnt_index)
Definition d_path.cpp:10
BOOL dPath_ChkClose(dPath *i_path)
Definition d_path.h:19
int i
Definition e_pow.c:165
int j
Definition e_pow.c:165
s32 fopAcM_SearchByID(fpc_ProcID i_actorID, fopAc_ac_c **i_outActor)
Definition f_op_actor_mng.cpp:49
void fopAcM_delete(fopAc_ac_c *i_actor)
Definition f_op_actor_mng.cpp:139
cXyz * fopAcM_GetPosition_p(fopAc_ac_c *pActor)
Definition f_op_actor_mng.h:268
u32 fopAcM_GetParam(const void *pActor)
Definition f_op_actor_mng.h:224
void fopAcM_SetSpeedF(fopAc_ac_c *actor, f32 f)
Definition f_op_actor_mng.h:344
csXyz * fopAcM_GetShapeAngle_p(fopAc_ac_c *pActor)
Definition f_op_actor_mng.h:288
u32 fopAcM_CheckCondition(fopAc_ac_c *p_actor, u32 flag)
Definition f_op_actor_mng.h:292
f32 fopAcM_searchPlayerDistanceXZ2(const fopAc_ac_c *actor)
Definition f_op_actor_mng.h:690
double pow(double, double)
Definition w_pow.c:4
Definition d_a_formation_mng.h:103
~FmtMember_c()
Definition d_a_formation_mng.h:104
cXyz field_0x10
Definition d_a_formation_mng.h:109
u16 field_0x1e
Definition d_a_formation_mng.h:111
FmtMember_c()
Definition d_a_formation_mng.h:105
cXyz field_0x04
Definition d_a_formation_mng.h:108
u32 mNpcId
Definition d_a_formation_mng.h:107
s16 field_0x1c
Definition d_a_formation_mng.h:110
Definition d_a_formation_mng.h:123
f32 field_0x10
Definition d_a_formation_mng.h:128
f32 field_0x08
Definition d_a_formation_mng.h:126
s16 field_0x14
Definition d_a_formation_mng.h:129
s16 field_0x16
Definition d_a_formation_mng.h:130
f32 field_0x04
Definition d_a_formation_mng.h:125
int field_0x00
Definition d_a_formation_mng.h:124
f32 field_0x0c
Definition d_a_formation_mng.h:127
Definition d_a_formation_mng.h:95
s16 field_0x1e
Definition d_a_formation_mng.h:100
s16 field_0x1c
Definition d_a_formation_mng.h:99
~FmtPos_c()
Definition d_a_formation_mng.h:96
FmtPos_c()
Definition d_a_formation_mng.h:97
cXyz field_0x10
Definition d_a_formation_mng.h:98
Definition d_a_hozelda.cpp:18
Definition d_a_hozelda.cpp:20
void set(f32 pX, f32 pY, f32 pZ)
Definition c_xyz.h:82
f32 abs() const
Definition c_xyz.h:142
Definition d_a_npc_cd2.cpp:35
u16 m_num
Definition d_path.h:11
dStage_dPnt_c * m_points
Definition d_path.h:16
Vec m_position
Definition d_stage.h:299
u8 field_0x0
Definition d_stage.h:295
u8 mArg0
Definition d_stage.h:298
Definition d_a_formation_mng.h:10
bool checkPoint(cXyz, f32)
Definition d_a_formation_mng.cpp:195
s8 getArg0()
Definition d_a_formation_mng.h:15
bool checkPathEnd(cXyz, f32)
Definition d_a_formation_mng.cpp:178
int field_0x4
Definition d_a_formation_mng.h:90
s8 getArg1()
Definition d_a_formation_mng.h:16
void chgDir()
Definition d_a_formation_mng.h:18
void getStartPoint(Vec *param_1, SVec *param_2)
Definition d_a_formation_mng.h:35
s8 field_0xc
Definition d_a_formation_mng.h:92
void setPath(int param_1, int param_2, cXyz *param_3)
Definition d_a_formation_mng.h:28
int incIndex(int param_1)
Definition d_a_formation_mng.h:63
void setNextPoint()
Definition d_a_formation_mng.h:75
dPath * mPath
Definition d_a_formation_mng.h:89
int decIndex(int param_1)
Definition d_a_formation_mng.h:51
void setNextPoint(cXyz *param_1)
Definition d_a_formation_mng.h:84
void getTargetPoint(Vec *param_1)
Definition d_a_formation_mng.h:47
bool isPathClose()
Definition d_a_formation_mng.h:14
f32 field_0x8
Definition d_a_formation_mng.h:91
Definition d_a_formation_mng.h:133
FmtMember_c * mMember
Definition d_a_formation_mng.h:325
int field_0x580
Definition d_a_formation_mng.h:330
int getStartTime()
Definition d_a_formation_mng.h:179
void executeFight()
Definition d_a_formation_mng.cpp:334
void setMovePos(cXyz *param_1, s16 *param_2)
Definition d_a_formation_mng.h:268
void create_init()
Definition d_a_formation_mng.cpp:391
ActionFunc * mAction
Definition d_a_formation_mng.h:327
int mDayOfWeek
Definition d_a_formation_mng.h:335
u8 getFormationLine()
Definition d_a_formation_mng.h:177
void initFight()
Definition d_a_formation_mng.cpp:318
void initReverse()
Definition d_a_formation_mng.cpp:205
int execute()
Definition d_a_formation_mng.h:223
int mFormationLine
Definition d_a_formation_mng.h:331
int field_0x598
Definition d_a_formation_mng.h:336
void initMemberPos()
Definition d_a_formation_mng.cpp:30
void setAction(int i_action)
Definition d_a_formation_mng.h:215
int field_0x59c
Definition d_a_formation_mng.h:337
void setMemberPos()
Definition d_a_formation_mng.h:285
void executeWait()
Definition d_a_formation_mng.cpp:96
u8 getPathID()
Definition d_a_formation_mng.h:176
void setMoveSpeed()
Definition d_a_formation_mng.h:250
void callExecute()
Definition d_a_formation_mng.h:182
bool checkEmergency()
Definition d_a_formation_mng.h:187
int getTimeMinute()
Definition d_a_formation_mng.h:165
int mPrevAction
Definition d_a_formation_mng.h:329
bool isAllMemberCulling()
Definition d_a_formation_mng.h:231
int mFormationRow
Definition d_a_formation_mng.h:332
int create()
Definition d_a_formation_mng.cpp:384
void initWait()
Definition d_a_formation_mng.cpp:17
int mEndTime
Definition d_a_formation_mng.h:334
static FmtMngAttributes const & attr()
Definition d_a_formation_mng.h:318
int getEndTime()
Definition d_a_formation_mng.h:180
int getTimeHour()
Definition d_a_formation_mng.h:158
void executeReverse()
Definition d_a_formation_mng.cpp:218
dPath * mRoomPath
Definition d_a_formation_mng.h:326
void setMoveAngle(FmtPos_c *member)
Definition d_a_formation_mng.h:257
int field_0x5a0
Definition d_a_formation_mng.h:338
void setMovePath(FmtPos_c *, int)
Definition d_a_formation_mng.cpp:152
void correctFormation()
Definition d_a_formation_mng.h:273
int mStartTime
Definition d_a_formation_mng.h:333
FmtPos_c * mPos
Definition d_a_formation_mng.h:324
void executeWalk()
Definition d_a_formation_mng.cpp:138
void initMotion()
Definition d_a_formation_mng.cpp:264
void(daFmtMng_c::* ActionFunc)()
Definition d_a_formation_mng.h:321
u8 getFormationRow()
Definition d_a_formation_mng.h:178
static daFmtMng_c::ActionFunc ActionTable[10]
Definition d_a_formation_mng.h:86
~daFmtMng_c()
Definition d_a_formation_mng.h:149
int mCurrentAction
Definition d_a_formation_mng.h:328
void initWalk()
Definition d_a_formation_mng.cpp:126
void callInit()
Definition d_a_formation_mng.h:210
int getTime()
Definition d_a_formation_mng.h:172
static FmtMngAttributes const M_attr
Definition d_a_formation_mng.h:11
void executeMotion()
Definition d_a_formation_mng.cpp:300
static u32 i_checkNowWolf()
Definition d_a_player.h:969
static f32 getGroundY()
Definition f_op_actor_mng.h:133
void gndCheck(cXyz const *)
Definition f_op_actor_mng.cpp:2124
csXyz shape_angle
Definition f_op_actor.h:216
f32 speedF
Definition f_op_actor.h:227
void transS(cXyz const &)
Definition m_Do_mtx.cpp:358
static void YrotM(s16 y)
Definition m_Do_mtx.h:294
static void multVec(const Vec *a, Vec *b)
Definition m_Do_mtx.h:249
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
unsigned char u8
Definition types.h:8