summaryrefslogtreecommitdiffstats
path: root/src/render/SpecialFX.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/render/SpecialFX.h')
-rw-r--r--src/render/SpecialFX.h11
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