summaryrefslogtreecommitdiffstats
path: root/src/render
diff options
context:
space:
mode:
authorNikolay Korolev <nickvnuk@gmail.com>2020-05-13 10:38:05 +0200
committerNikolay Korolev <nickvnuk@gmail.com>2020-05-13 10:38:05 +0200
commit81ea6f0258895e9087e0cb89cbd8bd30346974e2 (patch)
tree5cd55aa0bd44c45ff21d58692ff838cc7187a2e4 /src/render
parentMerge remote-tracking branch 'upstream/miami' into miami (diff)
downloadre3-81ea6f0258895e9087e0cb89cbd8bd30346974e2.tar
re3-81ea6f0258895e9087e0cb89cbd8bd30346974e2.tar.gz
re3-81ea6f0258895e9087e0cb89cbd8bd30346974e2.tar.bz2
re3-81ea6f0258895e9087e0cb89cbd8bd30346974e2.tar.lz
re3-81ea6f0258895e9087e0cb89cbd8bd30346974e2.tar.xz
re3-81ea6f0258895e9087e0cb89cbd8bd30346974e2.tar.zst
re3-81ea6f0258895e9087e0cb89cbd8bd30346974e2.zip
Diffstat (limited to 'src/render')
-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..33b553bd 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 useDir;
+ CVector queueDir;
+ int8 type;
+ };
CVector pos;
CRGBA col;
@@ -71,6 +77,7 @@ public:
Light light;
Particle particle;
Attractor attractor;
+ PedAttractor pedattr;
};
C2dEffect(void) {}