blob: b9180379506c73dc51c46cee1dff2f88cc06db0f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
|
#ifndef D_A_OBJ_LV6CHANGEGATE_H
#define D_A_OBJ_LV6CHANGEGATE_H
#include "f_op/f_op_actor_mng.h"
#include "d/d_bg_s_movebg_actor.h"
#include "d/d_event_lib.h"
#include "d/d_cc_d.h"
/**
* @ingroup actors-objects
* @class daLv6ChangeGate_c
* @brief Temple of Time Change Block?
*
* @details
*
*/
class daLv6ChangeGate_c : public dBgS_MoveBgActor, public request_of_phase_process_class, public dEvLib_callback_c {
public:
daLv6ChangeGate_c() : dEvLib_callback_c(this) {}
void setBaseMtx();
int create();
u8 isSwitch();
void moveGate();
void init_modeWait();
void modeWait();
void init_modeSlideRight();
void modeSlideRight();
void init_modeSlideLeft();
void modeSlideLeft();
void init_modeBreak();
void modeBreak();
virtual int CreateHeap();
virtual int Execute(Mtx**);
virtual int Draw();
virtual int Delete();
virtual ~daLv6ChangeGate_c() {}
virtual bool eventStart();
int getEventID() { return fopAcM_GetParamBit(this, 24, 8); }
int getWaitTime() { return fopAcM_GetParamBit(this, 16, 8); }
int getSwState() { return fopAcM_GetParamBit(this, 12, 4); }
int getSw() { return fopAcM_GetParamBit(this, 0, 8); }
int getSw2() { return shape_angle.x & 0xFF; }
static const dCcD_SrcGObjInf mCcDObjInfo;
static dCcD_SrcCyl mCcDCyl;
/* 0x05B8 */ request_of_phase_process_class mPhase;
/* 0x05C0 */ J3DModel* mpModel;
/* 0x05C4 */ u8 mMode;
/* 0x05C8 */ dCcD_Stts mCcStts;
/* 0x0604 */ dCcD_Cyl mCcCyls[12];
/* 0x14D4 */ u8 mSwState;
/* 0x14D5 */ u8 mSwbit;
/* 0x14D6 */ u8 mIsSwitch;
/* 0x14D7 */ u8 mTimer;
/* 0x14D8 */ f32 mMoveTransX;
};
STATIC_ASSERT(sizeof(daLv6ChangeGate_c) == 0x14dc);
#endif /* D_A_OBJ_LV6CHANGEGATE_H */
|