diff options
author | aap <aap@papnet.eu> | 2020-09-01 17:30:49 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-09-01 17:30:49 +0200 |
commit | 6fc6ed863547629abaade3f0fb9ef8f3251c5bcc (patch) | |
tree | c52cb6802ffbe2c23af63f8d20477a7bee814502 /src/render | |
parent | Merge pull request #697 from erorcun/miami (diff) | |
parent | fix melee car damage (diff) | |
download | re3-6fc6ed863547629abaade3f0fb9ef8f3251c5bcc.tar re3-6fc6ed863547629abaade3f0fb9ef8f3251c5bcc.tar.gz re3-6fc6ed863547629abaade3f0fb9ef8f3251c5bcc.tar.bz2 re3-6fc6ed863547629abaade3f0fb9ef8f3251c5bcc.tar.lz re3-6fc6ed863547629abaade3f0fb9ef8f3251c5bcc.tar.xz re3-6fc6ed863547629abaade3f0fb9ef8f3251c5bcc.tar.zst re3-6fc6ed863547629abaade3f0fb9ef8f3251c5bcc.zip |
Diffstat (limited to 'src/render')
-rw-r--r-- | src/render/Glass.h | 1 | ||||
-rw-r--r-- | src/render/SpecialFX.cpp | 1 | ||||
-rw-r--r-- | src/render/SpecialFX.h | 8 |
3 files changed, 10 insertions, 0 deletions
diff --git a/src/render/Glass.h b/src/render/Glass.h index 736e5205..937ab6a9 100644 --- a/src/render/Glass.h +++ b/src/render/Glass.h @@ -53,4 +53,5 @@ public: //TODO(MIAMI) static void CarWindscreenShatters(CVehicle *vehicle, bool unk) {} + static void BreakGlassPhysically(CVector, float) {} };
\ No newline at end of file diff --git a/src/render/SpecialFX.cpp b/src/render/SpecialFX.cpp index e9079bef..fa8379f0 100644 --- a/src/render/SpecialFX.cpp +++ b/src/render/SpecialFX.cpp @@ -32,6 +32,7 @@ RwIm3DVertex TraceVertices[6]; RwImVertexIndex TraceIndexList[12]; bool CSpecialFX::bSnapShotActive; +int32 CSpecialFX::SnapShotFrames; void CSpecialFX::Init(void) diff --git a/src/render/SpecialFX.h b/src/render/SpecialFX.h index 8c79856b..8bd0d5e1 100644 --- a/src/render/SpecialFX.h +++ b/src/render/SpecialFX.h @@ -4,6 +4,7 @@ class CSpecialFX { public: static bool bSnapShotActive; + static int32 SnapShotFrames; static void Render(void); static void Update(void); @@ -56,6 +57,13 @@ public: static void AddTrace(CVector*, CVector*); static void Render(void); static void Update(void); + +//TODO(MIAMI) + static void AddTrace(CVector *, CVector *, float, unsigned int, unsigned char) {} + static void AddTrace(CVector *a, CVector *b, int32 weapontype, class CEntity *shooter) + { + AddTrace(a, b); //TODO: temp + } }; enum |