diff options
author | Fire-Head <Fire-Head@users.noreply.github.com> | 2019-07-24 19:55:43 +0300 |
---|---|---|
committer | Fire-Head <Fire-Head@users.noreply.github.com> | 2019-07-24 19:55:43 +0300 |
commit | b4ecb3e3dad654e01d0ceb4c359721650dda425b (patch) | |
tree | 27cfc6fb58ec53080d9c4850f13b8b97ad681b13 /src/render/Timecycle.h | |
parent | ad1920bc6f9eaad5d517352c3853e448a048965d (diff) |
shadows done
Diffstat (limited to 'src/render/Timecycle.h')
-rw-r--r-- | src/render/Timecycle.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/render/Timecycle.h b/src/render/Timecycle.h index 71ddedb7..235d559c 100644 --- a/src/render/Timecycle.h +++ b/src/render/Timecycle.h @@ -119,6 +119,8 @@ public: static int GetSunCoronaBlue(void) { return m_nCurrentSunCoronaBlue; } static float GetSunSize(void) { return m_fCurrentSunSize; } static float GetSpriteBrightness(void) { return m_fCurrentSpriteBrightness; } + static int GetShadowStrength(void) { return m_nCurrentShadowStrength; } + static int GetLightShadowStrength(void) { return m_nCurrentLightShadowStrength; } static float GetFarClip(void) { return m_fCurrentFarClip; } static float GetFogStart(void) { return m_fCurrentFogStart; } @@ -138,4 +140,10 @@ public: static void Initialise(void); static void Update(void); static CVector &GetSunPosition(void) { return m_VectorToSun[m_CurrentStoredValue]; } + static float GetShadowFrontX(void) { return m_fShadowFrontX[m_CurrentStoredValue]; } + static float GetShadowFrontY(void) { return m_fShadowFrontY[m_CurrentStoredValue]; } + static float GetShadowSideX(void) { return m_fShadowSideX[m_CurrentStoredValue]; } + static float GetShadowSideY(void) { return m_fShadowSideY[m_CurrentStoredValue]; } + static float GetShadowDisplacementX(void) { return m_fShadowDisplacementX[m_CurrentStoredValue]; } + static float GetShadowDisplacementY(void) { return m_fShadowDisplacementY[m_CurrentStoredValue]; } }; |