summaryrefslogtreecommitdiffstats
path: root/src/render/SpecialFX.h
diff options
context:
space:
mode:
authoraap <aap@papnet.eu>2019-06-30 22:55:48 +0200
committeraap <aap@papnet.eu>2019-06-30 22:55:48 +0200
commitc661485ef74cb7dacca119c794b7b3a831549d15 (patch)
treed78bed07f2dabfef7a1185a8705d563e623ad6f8 /src/render/SpecialFX.h
parentMerge pull request #80 from ShFil119/special (diff)
downloadre3-c661485ef74cb7dacca119c794b7b3a831549d15.tar
re3-c661485ef74cb7dacca119c794b7b3a831549d15.tar.gz
re3-c661485ef74cb7dacca119c794b7b3a831549d15.tar.bz2
re3-c661485ef74cb7dacca119c794b7b3a831549d15.tar.lz
re3-c661485ef74cb7dacca119c794b7b3a831549d15.tar.xz
re3-c661485ef74cb7dacca119c794b7b3a831549d15.tar.zst
re3-c661485ef74cb7dacca119c794b7b3a831549d15.zip
Diffstat (limited to 'src/render/SpecialFX.h')
-rw-r--r--src/render/SpecialFX.h17
1 files changed, 17 insertions, 0 deletions
diff --git a/src/render/SpecialFX.h b/src/render/SpecialFX.h
index 1a1a4c1e..1035b315 100644
--- a/src/render/SpecialFX.h
+++ b/src/render/SpecialFX.h
@@ -11,3 +11,20 @@ class CMotionBlurStreaks
public:
static void RegisterStreak(int32 id, uint8 r, uint8 g, uint8 b, CVector p1, CVector p2);
};
+
+struct CBulletTrace
+{
+ CVector m_vecInf;
+ CVector m_vecSup;
+ bool m_bInUse;
+ uint8 m_framesInUse;
+ uint8 m_lifeTime;
+};
+
+class CBulletTraces
+{
+public:
+ static CBulletTrace (&aTraces)[16];
+
+ static void Init(void);
+};