blob: 508b13573fda6d9e6eb6516fbeb5d95dc4f8685a (
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
67
68
69
70
71
72
73
74
75
76
77
78
|
#ifndef D_A_OBJ_THDOOR_H
#define D_A_OBJ_THDOOR_H
#include "d/d_bg_s_movebg_actor.h"
#include "d/d_cc_d.h"
#include "d/d_msg_flow.h"
#include "f_op/f_op_actor_mng.h"
/**
* @ingroup actors-objects
* @class daObjThDoor_c
* @brief Telma's Bar Door
*
* @details
*
*/
class daObjThDoor_c : public dBgS_MoveBgActor {
public:
typedef void (daObjThDoor_c::*actionFunc)();
enum Action {
ACTION_WAIT,
ACTION_ORDER_EVENT,
ACTION_EVENT,
ACTION_DEAD,
};
void initBaseMtx();
void setBaseMtx();
int Create();
int CreateHeap();
int create1st();
int Execute(Mtx**);
void set_cyl();
void action();
void event_proc_call();
void actionWait();
void actionOrderEvent();
void actionEvent();
void actionDead();
int demoProc();
BOOL checkArea();
int Draw();
int Delete();
u8 getSwbit() { return fopAcM_GetParamBit(this, 0, 8); }
int getMsg() { return fopAcM_GetParamBit(this, 8, 16); }
BOOL checkDemo() { return fopAcM_GetParamBit(this, 24, 1); }
void setAction(u8 action) { mAction = action; }
/* 0x5A0 */ request_of_phase_process_class mPhase;
/* 0x5A8 */ J3DModel* mModel;
/* 0x5AC */ u8 mAction;
/* 0x5AD */ u8 mMapToolId;
/* 0x5AE */ s16 mEventIdx;
/* 0x5B0 */ int mStaffId;
/* 0x5B4 */ u8 field_0x5b4;
/* 0x5B5 */ u8 field_0x5b5;
/* 0x5B6 */ u8 field_0x5b6;
/* 0x5B8 */ s16 field_0x5b8;
/* 0x5BC */ dMsgFlow_c mMsgFlow;
/* 0x608 */ s16 field_0x608;
/* 0x60A */ s16 field_0x60a;
/* 0x60C */ dCcD_Stts mStts;
/* 0x648 */ dCcD_Cyl mCyls[2];
};
STATIC_ASSERT(sizeof(daObjThDoor_c) == 0x8c0);
#if DEBUG
class daObjThDoor_HIO_c : public mDoHIO_entry_c {
public:
daObjThDoor_HIO_c();
void genMessage(JORMContext* ctx);
};
#endif
#endif /* D_A_OBJ_THDOOR_H */
|