diff options
author | aap <aap@papnet.eu> | 2019-05-15 16:52:37 +0200 |
---|---|---|
committer | aap <aap@papnet.eu> | 2019-05-15 16:52:37 +0200 |
commit | 600bf0351476a5a21aabb5429132ddf7f52ac0b9 (patch) | |
tree | d8e48b3a581679e33830fb7c98ed69e1e242e2c2 /src/render/2dEffect.h |
first commit
Diffstat (limited to 'src/render/2dEffect.h')
-rw-r--r-- | src/render/2dEffect.h | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/src/render/2dEffect.h b/src/render/2dEffect.h new file mode 100644 index 00000000..6cba85d1 --- /dev/null +++ b/src/render/2dEffect.h @@ -0,0 +1,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"); |