blob: 196f02c12dbc5ebda7741b23c8605f96342c3b6a (
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
|
#ifndef D_T_SW_AREA_H
#define D_T_SW_AREA_H
#include "d/t/d_tg.h"
#include "m/m_mtx.h"
class dTgSwArea_c : public dTg_c {
public:
dTgSwArea_c() {}
virtual ~dTgSwArea_c() {}
virtual int create() override;
virtual int actorExecute() override;
private:
u8 getSetSceneflag() {
return mParams;
}
u8 getUnsetSceneflag() {
return mParams >> 0x8;
}
u8 getIsPersistent() {
return mParams >> 0x10 & 1;
}
mAng getSetStoryflag() {
return mRotation.x & 0x7FF;
}
mAng getUnsetStoryflag() {
return mRotation.z & 0x7FF;
}
mMtx_c area;
u8 setSceneflag;
u8 unsetSceneflag;
bool isTemporary;
f32 scale;
u16 setStoryflag;
u16 unsetStoryflag;
};
#endif
|