From b4ecb3e3dad654e01d0ceb4c359721650dda425b Mon Sep 17 00:00:00 2001 From: Fire-Head Date: Wed, 24 Jul 2019 19:55:43 +0300 Subject: shadows done --- src/render/Timecycle.h | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'src/render/Timecycle.h') 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]; } }; -- cgit v1.2.3