diff options
author | Nikolay Korolev <nickvnuk@gmail.com> | 2020-08-08 12:08:21 +0200 |
---|---|---|
committer | Nikolay Korolev <nickvnuk@gmail.com> | 2020-08-08 12:08:21 +0200 |
commit | 9bc105c92346494bc4c36bcebd0a4a86bf9d6a86 (patch) | |
tree | b0582e41c8bc4d5fa0979d8a453b0a2d128f012c /src/render/Shadows.h | |
parent | submodules? (diff) | |
parent | Merge pull request #680 from ShFil119/actions (diff) | |
download | re3-9bc105c92346494bc4c36bcebd0a4a86bf9d6a86.tar re3-9bc105c92346494bc4c36bcebd0a4a86bf9d6a86.tar.gz re3-9bc105c92346494bc4c36bcebd0a4a86bf9d6a86.tar.bz2 re3-9bc105c92346494bc4c36bcebd0a4a86bf9d6a86.tar.lz re3-9bc105c92346494bc4c36bcebd0a4a86bf9d6a86.tar.xz re3-9bc105c92346494bc4c36bcebd0a4a86bf9d6a86.tar.zst re3-9bc105c92346494bc4c36bcebd0a4a86bf9d6a86.zip |
Diffstat (limited to 'src/render/Shadows.h')
-rw-r--r-- | src/render/Shadows.h | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/src/render/Shadows.h b/src/render/Shadows.h index 63aaaaf2..8c909df3 100644 --- a/src/render/Shadows.h +++ b/src/render/Shadows.h @@ -128,21 +128,12 @@ class CPed; class CShadows { public: -#if 1 static int16 ShadowsStoredToBeRendered; static CStoredShadow asShadowsStored [MAX_STOREDSHADOWS]; static CPolyBunch aPolyBunches [MAX_POLYBUNCHES]; static CStaticShadow aStaticShadows [MAX_STATICSHADOWS]; static CPolyBunch *pEmptyBunchList; static CPermanentShadow aPermanentShadows[MAX_PERMAMENTSHADOWS]; -#else - static int16 &ShadowsStoredToBeRendered; - static CStoredShadow (&asShadowsStored) [MAX_STOREDSHADOWS]; - static CPolyBunch (&aPolyBunches) [MAX_POLYBUNCHES]; - static CStaticShadow (&aStaticShadows) [MAX_STATICSHADOWS]; - static CPolyBunch *&pEmptyBunchList; - static CPermanentShadow (&aPermanentShadows)[MAX_PERMAMENTSHADOWS]; -#endif static void Init (void); static void Shutdown (void); @@ -166,7 +157,7 @@ public: CVector *pPosn, float fFrontX, float fFrontY, float fSideX, float fSideY, int16 nIntensity, uint8 nRed, uint8 nGreen, uint8 nBlue, float fZDistance, float fScale, CPolyBunch **ppPolyBunch); static void UpdateStaticShadows (void); static void UpdatePermanentShadows (void); - static void CalcPedShadowValues (CVector vecLightDir, float *pfDisplacementX, float *pfDisplacementY, float *pfFrontX, float *pfFrontY, float *pfSideX, float *pfSideY); + static void CalcPedShadowValues (CVector vecLightDir, float *pfFrontX, float *pfFrontY, float *pfSideX, float *pfSideY, float *pfDisplacementX, float *pfDisplacementY); static void RenderExtraPlayerShadows (void); static void TidyUpShadows (void); static void RenderIndicatorShadow (uint32 nID, uint8 ShadowType, RwTexture *pTexture, CVector *pPosn, float fFrontX, float fFrontY, float fSideX, float fSideY, int16 nIntensity); |