diff options
author | aap <aap@papnet.eu> | 2020-03-22 14:41:03 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-03-22 14:41:03 +0100 |
commit | f9342c7e8341130d3783316584acaff91fe96660 (patch) | |
tree | 16ce4d0b84913ca71c47dcb65b48590f7c6ed633 /src/render/SpecialFX.h | |
parent | fixed vehicle rendering bug (diff) | |
parent | bullet traces fixes (diff) | |
download | re3-f9342c7e8341130d3783316584acaff91fe96660.tar re3-f9342c7e8341130d3783316584acaff91fe96660.tar.gz re3-f9342c7e8341130d3783316584acaff91fe96660.tar.bz2 re3-f9342c7e8341130d3783316584acaff91fe96660.tar.lz re3-f9342c7e8341130d3783316584acaff91fe96660.tar.xz re3-f9342c7e8341130d3783316584acaff91fe96660.tar.zst re3-f9342c7e8341130d3783316584acaff91fe96660.zip |
Diffstat (limited to 'src/render/SpecialFX.h')
-rw-r--r-- | src/render/SpecialFX.h | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/src/render/SpecialFX.h b/src/render/SpecialFX.h index 7c0e3436..ecd3ad87 100644 --- a/src/render/SpecialFX.h +++ b/src/render/SpecialFX.h @@ -15,19 +15,24 @@ public: struct CBulletTrace { - CVector m_vecInf; - CVector m_vecSup; + CVector m_vecCurrentPos; + CVector m_vecTargetPos; bool m_bInUse; uint8 m_framesInUse; uint8 m_lifeTime; + + void Update(void); }; class CBulletTraces { public: - static CBulletTrace (&aTraces)[16]; + static CBulletTrace (&aTraces)[NUMBULLETTRACES]; static void Init(void); + static void AddTrace(CVector*, CVector*); + static void Render(void); + static void Update(void); }; class CBrightLights |