blob: 6cba85d11a88dc0e11c6cb48c2d0ccb31b9bcdcb (
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
|
class C2dEffect
{
public:
struct Light {
float dist;
float outerRange;
float size;
float innerRange;
uint8 flash;
uint8 wet;
uint8 flare;
uint8 shadowIntens;
uint8 flag;
RwTexture *corona;
RwTexture *shadow;
};
struct Particle {
int particleType;
float dir[3];
float scale;
};
struct Attractor {
CVector dir;
uint8 flag;
uint8 probability;
};
CVector pos;
RwRGBA col;
uint8 type;
union {
Light light;
Particle particle;
Attractor attractor;
};
C2dEffect(void) {}
};
static_assert(sizeof(C2dEffect) == 0x34, "C2dEffect: error");
|