summaryrefslogtreecommitdiffstats
path: root/src/render/2dEffect.h
diff options
context:
space:
mode:
authorNikolay Korolev <nickvnuk@gmail.com>2020-05-16 12:40:20 +0200
committerGitHub <noreply@github.com>2020-05-16 12:40:20 +0200
commit81e711517d30846b0387a01a8d40d40ea9ae47c1 (patch)
tree8215b0cc9170c387f504cf58a4c6bcb5cbc37f07 /src/render/2dEffect.h
parentremove some unneeded plane paths for the moment; also different exe icon (diff)
parentMerge remote-tracking branch 'upstream/miami' into miami (diff)
downloadre3-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.h9
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) {}