diff options
author | Nikolay Korolev <nickvnuk@gmail.com> | 2020-05-16 12:40:20 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-05-16 12:40:20 +0200 |
commit | 81e711517d30846b0387a01a8d40d40ea9ae47c1 (patch) | |
tree | 8215b0cc9170c387f504cf58a4c6bcb5cbc37f07 /src/render/2dEffect.h | |
parent | remove some unneeded plane paths for the moment; also different exe icon (diff) | |
parent | Merge remote-tracking branch 'upstream/miami' into miami (diff) | |
download | re3-81e711517d30846b0387a01a8d40d40ea9ae47c1.tar re3-81e711517d30846b0387a01a8d40d40ea9ae47c1.tar.gz re3-81e711517d30846b0387a01a8d40d40ea9ae47c1.tar.bz2 re3-81e711517d30846b0387a01a8d40d40ea9ae47c1.tar.lz re3-81e711517d30846b0387a01a8d40d40ea9ae47c1.tar.xz re3-81e711517d30846b0387a01a8d40d40ea9ae47c1.tar.zst re3-81e711517d30846b0387a01a8d40d40ea9ae47c1.zip |
Diffstat (limited to 'src/render/2dEffect.h')
-rw-r--r-- | src/render/2dEffect.h | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/src/render/2dEffect.h b/src/render/2dEffect.h index 2a71a8d5..ed5ce5ba 100644 --- a/src/render/2dEffect.h +++ b/src/render/2dEffect.h @@ -3,7 +3,8 @@ enum { EFFECT_LIGHT, EFFECT_PARTICLE, - EFFECT_ATTRACTOR + EFFECT_ATTRACTOR, + EFFECT_PED_ATTRACTOR }; enum { @@ -63,6 +64,11 @@ public: uint8 flags; uint8 probability; }; + struct PedAttractor { + CVector queueDir; + CVector useDir; + int8 type; + }; CVector pos; CRGBA col; @@ -71,6 +77,7 @@ public: Light light; Particle particle; Attractor attractor; + PedAttractor pedattr; }; C2dEffect(void) {} |