diff options
author | aap <aap@papnet.eu> | 2020-04-07 22:26:01 +0200 |
---|---|---|
committer | aap <aap@papnet.eu> | 2020-04-07 22:26:01 +0200 |
commit | daaf443cfaa0532aad8a0ede0cad826c66650593 (patch) | |
tree | d4d3940858a75f23b3bc67aa453c3723ea955a4d /src/render/SpecialFX.h | |
parent | implemented CRubbish (diff) | |
download | re3-daaf443cfaa0532aad8a0ede0cad826c66650593.tar re3-daaf443cfaa0532aad8a0ede0cad826c66650593.tar.gz re3-daaf443cfaa0532aad8a0ede0cad826c66650593.tar.bz2 re3-daaf443cfaa0532aad8a0ede0cad826c66650593.tar.lz re3-daaf443cfaa0532aad8a0ede0cad826c66650593.tar.xz re3-daaf443cfaa0532aad8a0ede0cad826c66650593.tar.zst re3-daaf443cfaa0532aad8a0ede0cad826c66650593.zip |
Diffstat (limited to '')
-rw-r--r-- | src/render/SpecialFX.h | 29 |
1 files changed, 24 insertions, 5 deletions
diff --git a/src/render/SpecialFX.h b/src/render/SpecialFX.h index 1cff55b3..8519ae79 100644 --- a/src/render/SpecialFX.h +++ b/src/render/SpecialFX.h @@ -9,10 +9,29 @@ public: static void Shutdown(void); }; +class CRegisteredMotionBlurStreak +{ +public: + uintptr m_id;
+ uint8 m_red;
+ uint8 m_green;
+ uint8 m_blue;
+ CVector m_pos1[3];
+ CVector m_pos2[3];
+ bool m_isValid[3]; + + void Update(void);
+ void Render(void);
+}; + class CMotionBlurStreaks { + static CRegisteredMotionBlurStreak aStreaks[NUMMBLURSTREAKS]; public: - static void RegisterStreak(int32 id, uint8 r, uint8 g, uint8 b, CVector p1, CVector p2); + static void Init(void);
+ static void Update(void);
+ static void RegisterStreak(uintptr id, uint8 r, uint8 g, uint8 b, CVector p1, CVector p2); + static void Render(void);
}; struct CBulletTrace @@ -29,7 +48,7 @@ struct CBulletTrace class CBulletTraces { public: - static CBulletTrace (&aTraces)[NUMBULLETTRACES]; + static CBulletTrace aTraces[NUMBULLETTRACES]; static void Init(void); static void AddTrace(CVector*, CVector*); @@ -84,9 +103,9 @@ public: static void Render(); static void Update(); - static C3dMarker(&m_aMarkerArray)[NUM3DMARKERS]; - static int32 &NumActiveMarkers; - static RpClump* (&m_pRpClumpArray)[NUMMARKERTYPES]; + static C3dMarker m_aMarkerArray[NUM3DMARKERS]; + static int32 NumActiveMarkers; + static RpClump* m_pRpClumpArray[NUMMARKERTYPES]; }; enum |