1#ifndef D_A_OBJ_MOVEBOX_H
2#define D_A_OBJ_MOVEBOX_H
79 Hio_c(daObjMovebox::Type_e);
86 static const char*
const M_name[];
Definition JORMContext.h:120
Definition JORReflexible.h:43
Definition d_bg_s_movebg_actor.h:11
Definition d_bg_s_gnd_chk.h:19
Definition d_bg_s_lin_chk.h:48
Definition d_bg_s_wtr_chk.h:6
PushPullLabel
Definition d_bg_w_base.h:28
Type_e
Definition d_a_obj_movebox.h:24
@ pp_field
Definition d_a_obj_movebox.h:24
Definition f_op_actor.h:230
STATIC_ASSERT(sizeof(daObjMovebox::Act_c)==0x90C)
f32 Mtx[3][4]
Definition mtx.h:25
signed char s8
Definition types.h:7
unsigned long u32
Definition types.h:12
signed short int s16
Definition types.h:9
float f32
Definition types.h:25
unsigned short int u16
Definition types.h:10
unsigned char u8
Definition types.h:8
BOOL fopAcM_isSwitch(const fopAc_ac_c *i_actor, int sw)
Definition f_op_actor_mng.h:459
void fopAcM_offSwitch(const fopAc_ac_c *i_actor, int sw)
Definition f_op_actor_mng.h:451
void fopAcM_onSwitch(const fopAc_ac_c *i_actor, int sw)
Definition f_op_actor_mng.h:447
Definition d_a_obj_movebox.cpp:70
T PrmAbstract(const fopAc_ac_c *i_actor, T i_nbits, T i_shift)
Definition d_a_obj.h:20
Definition d_a_obj_movebox.h:145
void sound_slip()
Definition d_a_obj_movebox.cpp:1124
f32 field_0x8c4
Definition d_a_obj_movebox.h:226
s16 field_0x8f8
Definition d_a_obj_movebox.h:238
void afl_sway()
Definition d_a_obj_movebox.cpp:818
int getType()
Definition d_a_obj_movebox.h:205
void sound_limit()
Definition d_a_obj_movebox.cpp:1137
void mode_afl_init()
Definition d_a_obj_movebox.cpp:1063
dCcD_Cyl mCcCyl
Definition d_a_obj_movebox.h:217
void eff_land_smoke()
Definition d_a_obj_movebox.cpp:1171
Prm_e
Definition d_a_obj_movebox.h:146
@ PRM_18_e
Definition d_a_obj_movebox.h:149
@ PRM_4_e
Definition d_a_obj_movebox.h:147
@ PRM_1C_e
Definition d_a_obj_movebox.h:150
@ PRM_8_e
Definition d_a_obj_movebox.h:148
virtual int Create()
Definition d_a_obj_movebox.cpp:744
virtual int CreateHeap()
Definition d_a_obj_movebox.cpp:628
dCcD_Stts mCcStts
Definition d_a_obj_movebox.h:216
bool chk_appear() const
Definition d_a_obj_movebox.cpp:927
void off_switch1() const
Definition d_a_obj_movebox.h:202
static daObjMovebox::Hio_c M_hio[]
Definition d_a_obj_movebox.h:359
f32 field_0x8e4
Definition d_a_obj_movebox.h:234
const daObjMovebox::Attr_c & attr() const
Definition d_a_obj_movebox.cpp:503
int field_0x904
Definition d_a_obj_movebox.h:246
s8 field_0x908
Definition d_a_obj_movebox.h:247
s8 mReverb
Definition d_a_obj_movebox.h:242
u8 field_0x901
Definition d_a_obj_movebox.h:244
f32 field_0x8c0
Definition d_a_obj_movebox.h:225
static const dCcD_SrcCyl M_cyl_src
Definition d_a_obj_movebox.h:422
void vib_land()
Definition d_a_obj_movebox.cpp:1163
static const daObjMovebox::Attr_c M_attr[8]
Definition d_a_obj_movebox.h:438
u16 mPrmX
Definition d_a_obj_movebox.h:221
void prmX_init()
Definition d_a_obj_movebox.cpp:407
static const char *const M_arcname[8]
Definition d_a_obj_movebox.h:418
int field_0x8dc
Definition d_a_obj_movebox.h:232
Bgc_c mBgc
Definition d_a_obj_movebox.h:218
s16 field_0x8f0[4]
Definition d_a_obj_movebox.h:237
void mode_walk_init()
Definition d_a_obj_movebox.cpp:1001
f32 field_0x8cc
Definition d_a_obj_movebox.h:228
int prm_get_type() const
Definition d_a_obj_movebox.h:195
int mType
Definition d_a_obj_movebox.h:219
int Mthd_Delete()
Definition d_a_obj_movebox.cpp:1377
virtual int Draw()
Definition d_a_obj_movebox.cpp:1296
static fopAc_ac_c * PPCallBack(fopAc_ac_c *, fopAc_ac_c *, s16, dBgW_Base::PushPullLabel)
Definition d_a_obj_movebox.cpp:698
u8 prm_get_answer() const
Definition d_a_obj_movebox.h:194
int field_0x5ac
Definition d_a_obj_movebox.h:215
int is_switch2() const
Definition d_a_obj_movebox.h:198
virtual int Delete()
Definition d_a_obj_movebox.cpp:1340
void mode_wait_init()
Definition d_a_obj_movebox.cpp:949
void on_switch2() const
Definition d_a_obj_movebox.h:201
void clr_moment_cnt()
Definition d_a_obj_movebox.cpp:921
f32 field_0x8d8
Definition d_a_obj_movebox.h:231
int prmZ_get_swSave2() const
Definition d_a_obj_movebox.h:191
f32 field_0x8d4
Definition d_a_obj_movebox.h:230
s16 field_0x8fc
Definition d_a_obj_movebox.h:240
void mode_afl()
Definition d_a_obj_movebox.cpp:1069
void prmZ_init()
Definition d_a_obj_movebox.cpp:391
int field_0x8e0
Definition d_a_obj_movebox.h:233
u8 field_0x8fe
Definition d_a_obj_movebox.h:241
bool is_switch1() const
Definition d_a_obj_movebox.h:197
void mode_wait()
Definition d_a_obj_movebox.cpp:958
J3DModel * mpModel
Definition d_a_obj_movebox.h:214
void path_save()
Definition d_a_obj_movebox.cpp:571
u8 field_0x902
Definition d_a_obj_movebox.h:245
f32 field_0x8d0
Definition d_a_obj_movebox.h:229
f32 field_0x8bc
Definition d_a_obj_movebox.h:224
void set_mtx()
Definition d_a_obj_movebox.cpp:511
int check_to_walk()
Definition d_a_obj_movebox.cpp:873
virtual int Execute(Mtx **)
Definition d_a_obj_movebox.cpp:1181
dBgW::PushPullLabel mPPLabel
Definition d_a_obj_movebox.h:236
void sound_land()
Definition d_a_obj_movebox.cpp:1150
void path_init()
Definition d_a_obj_movebox.cpp:546
void eff_smoke_slip_start()
Definition d_a_obj_movebox.cpp:941
void mode_walk()
Definition d_a_obj_movebox.cpp:1007
static const s16 M_dir_base[4]
Definition d_a_obj_movebox.h:272
static void RideCallBack(dBgW *, fopAc_ac_c *, fopAc_ac_c *)
Definition d_a_obj_movebox.cpp:645
int prm_get_swSave1() const
Definition d_a_obj_movebox.cpp:387
int prm_get_swSave() const
Definition d_a_obj_movebox.h:190
int field_0x8e8
Definition d_a_obj_movebox.h:235
f32 field_0x8c8
Definition d_a_obj_movebox.h:227
void mode_proc_call()
Definition d_a_obj_movebox.cpp:1113
s16 field_0x8b8
Definition d_a_obj_movebox.h:223
u16 mPrmZ
Definition d_a_obj_movebox.h:220
int Mthd_Create()
Definition d_a_obj_movebox.cpp:1353
request_of_phase_process_class mPhase
Definition d_a_obj_movebox.h:213
int prmZ_get_pathId() const
Definition d_a_obj_movebox.h:193
dPath * mpPath
Definition d_a_obj_movebox.h:222
void on_switch1() const
Definition d_a_obj_movebox.h:200
void off_switch2() const
Definition d_a_obj_movebox.h:203
u8 field_0x900
Definition d_a_obj_movebox.h:243
int prm_get_dmy() const
Definition d_a_obj_movebox.h:192
void init_mtx()
Definition d_a_obj_movebox.cpp:538
s16 field_0x8fa
Definition d_a_obj_movebox.h:239
Definition d_a_obj_movebox.h:27
s16 max
Definition d_a_obj_movebox.h:29
s16 min
Definition d_a_obj_movebox.h:28
Definition d_a_obj_movebox.h:26
sMinMax mCullZ
Definition d_a_obj_movebox.h:72
int field_0x58
Definition d_a_obj_movebox.h:56
f32 field_0x70
Definition d_a_obj_movebox.h:62
f32 field_0x68
Definition d_a_obj_movebox.h:60
f32 mShadowSize
Definition d_a_obj_movebox.h:38
f32 mTiltSpringFactor
Definition d_a_obj_movebox.h:54
s16 mPullMoveTime
Definition d_a_obj_movebox.h:36
f32 mPlayerTiltPower
Definition d_a_obj_movebox.h:51
s16 mRepeatPushStopTime
Definition d_a_obj_movebox.h:32
sMinMax mCullX
Definition d_a_obj_movebox.h:70
f32 mMiscGravity
Definition d_a_obj_movebox.h:46
f32 mInertiaResistance
Definition d_a_obj_movebox.h:41
s16 mFirstPushStopTime
Definition d_a_obj_movebox.h:31
f32 mBuoyancy
Definition d_a_obj_movebox.h:44
u8 field_0x9d
Definition d_a_obj_movebox.h:74
f32 field_0x78
Definition d_a_obj_movebox.h:64
s16 mFirstPullStopTime
Definition d_a_obj_movebox.h:34
int field_0x5c
Definition d_a_obj_movebox.h:57
f32 mGravity
Definition d_a_obj_movebox.h:39
f32 field_0x6c
Definition d_a_obj_movebox.h:61
f32 mLandSmokeScale
Definition d_a_obj_movebox.h:43
s16 mPushMoveTime
Definition d_a_obj_movebox.h:33
u32 field_0x7c
Definition d_a_obj_movebox.h:65
f32 mFallYInitSpeed
Definition d_a_obj_movebox.h:42
s16 mRepeatPullStopTime
Definition d_a_obj_movebox.h:35
f32 mWaterViscoscityResistance
Definition d_a_obj_movebox.h:49
f32 mPlayerGravity
Definition d_a_obj_movebox.h:45
f32 mTiltViscoscityResistance
Definition d_a_obj_movebox.h:55
f32 mViscosityResistance
Definition d_a_obj_movebox.h:40
u32 field_0x84
Definition d_a_obj_movebox.h:67
f32 field_0x74
Definition d_a_obj_movebox.h:63
f32 mWaterOscillationAccel
Definition d_a_obj_movebox.h:47
f32 mMiscTiltPower
Definition d_a_obj_movebox.h:52
sMinMax mCullY
Definition d_a_obj_movebox.h:71
u32 field_0x60
Definition d_a_obj_movebox.h:58
u8 field_0x9c
Definition d_a_obj_movebox.h:73
f32 mWaterInertiaResistance
Definition d_a_obj_movebox.h:50
u8 field_0x9e
Definition d_a_obj_movebox.h:75
f32 mUnitDistance
Definition d_a_obj_movebox.h:37
int field_0x8c
Definition d_a_obj_movebox.h:69
u32 field_0x88
Definition d_a_obj_movebox.h:68
f32 field_0x64
Definition d_a_obj_movebox.h:59
f32 mMaxTiltPower
Definition d_a_obj_movebox.h:53
u32 field_0x80
Definition d_a_obj_movebox.h:66
s16 mWaterOscillationAngleSpeed
Definition d_a_obj_movebox.h:48
Definition d_a_obj_movebox.h:93
f32 field_0xc
Definition d_a_obj_movebox.h:97
f32 field_0x0
Definition d_a_obj_movebox.h:94
f32 field_0x8
Definition d_a_obj_movebox.h:96
f32 field_0x4
Definition d_a_obj_movebox.h:95
Definition d_a_obj_movebox.h:102
static dBgS_WtrChk M_wrt_work
Definition d_a_obj_movebox.h:127
int field_0x178
Definition d_a_obj_movebox.h:134
cXyz field_0x5D4[92]
Definition d_a_obj_movebox.h:139
static dBgS_ObjLinChk M_wall_work[23]
Definition d_a_obj_movebox.h:128
f32 field_0x0[23]
Definition d_a_obj_movebox.h:130
f32 field_0x60
Definition d_a_obj_movebox.h:132
void gnd_pos(daObjMovebox::Act_c const *, daObjMovebox::BgcSrc_c const *, int, f32)
Definition d_a_obj_movebox.cpp:140
f32 field_0x17c
Definition d_a_obj_movebox.h:135
bool chk_wall_pre(daObjMovebox::Act_c const *, daObjMovebox::BgcSrc_c const *, int, s16)
Definition d_a_obj_movebox.cpp:298
bool chk_wall_touch2(daObjMovebox::Act_c const *, daObjMovebox::BgcSrc_c const *, int, s16)
Definition d_a_obj_movebox.cpp:372
bool chk_wall_touch(daObjMovebox::Act_c const *, daObjMovebox::BgcSrc_c const *, s16)
Definition d_a_obj_movebox.cpp:305
static const daObjMovebox::BgcSrc_c M_lin5[]
Definition d_a_obj_movebox.h:39
static const daObjMovebox::BgcSrc_c M_lin20[]
Definition d_a_obj_movebox.h:44
void wall_pos(daObjMovebox::Act_c const *, daObjMovebox::BgcSrc_c const *, int, s16, f32)
Definition d_a_obj_movebox.cpp:199
Bgc_c()
Definition d_a_obj_movebox.cpp:55
cXyz field_0x184[92]
Definition d_a_obj_movebox.h:138
cXyz field_0x64[23]
Definition d_a_obj_movebox.h:133
State_e
Definition d_a_obj_movebox.h:103
@ STATE_8_e
Definition d_a_obj_movebox.h:108
@ STATE_10_e
Definition d_a_obj_movebox.h:109
@ STATE_0_e
Definition d_a_obj_movebox.h:104
@ STATE_20_e
Definition d_a_obj_movebox.h:110
@ STATE_4_e
Definition d_a_obj_movebox.h:107
@ STATE_40_e
Definition d_a_obj_movebox.h:111
@ STATE_2_e
Definition d_a_obj_movebox.h:106
@ STATE_1_e
Definition d_a_obj_movebox.h:105
static dBgS_ObjGndChk M_gnd_work[23]
Definition d_a_obj_movebox.h:126
int field_0xA24
Definition d_a_obj_movebox.h:140
int field_0xA28
Definition d_a_obj_movebox.h:141
void wrt_pos(cXyz const &)
Definition d_a_obj_movebox.cpp:178
State_e mState
Definition d_a_obj_movebox.h:136
int field_0x5c
Definition d_a_obj_movebox.h:131
void proc_vertical(daObjMovebox::Act_c *)
Definition d_a_obj_movebox.cpp:259
Definition d_a_obj_movebox.h:78
void genMessage(JORMContext *)
Definition d_a_obj_movebox.cpp:103
void ct()
Definition d_a_obj_movebox.cpp:91
void default_set()
Definition d_a_obj_movebox.cpp:87
Hio_c(daObjMovebox::Type_e)
Definition d_a_obj_movebox.cpp:81
void dt()
Definition d_a_obj_movebox.cpp:97
static u8 M_flag_bgc[8]
Definition d_a_obj_movebox.h:85
Type_e mType
Definition d_a_obj_movebox.h:88
int mCount
Definition d_a_obj_movebox.h:89
static const char *const M_name[]
Definition d_a_obj_movebox.h:27
daObjMovebox::Attr_c mAttr
Definition d_a_obj_movebox.h:90