diff options
Diffstat (limited to '')
-rw-r--r-- | src/render/PointLights.cpp | 2 | ||||
-rw-r--r-- | src/render/PointLights.h | 2 | ||||
-rw-r--r-- | src/render/Shadows.cpp | 2 | ||||
-rw-r--r-- | src/render/Shadows.h | 2 |
4 files changed, 4 insertions, 4 deletions
diff --git a/src/render/PointLights.cpp b/src/render/PointLights.cpp index b92e7e83..88b9aaea 100644 --- a/src/render/PointLights.cpp +++ b/src/render/PointLights.cpp @@ -58,7 +58,7 @@ CPointLights::AddLight(uint8 type, CVector coors, CVector dir, float radius, flo } float -CPointLights::GenerateLightsAffectingObject(CVector *objCoors) +CPointLights::GenerateLightsAffectingObject(Const CVector *objCoors) { int i; float ret; diff --git a/src/render/PointLights.h b/src/render/PointLights.h index 215e1dc9..56b84f71 100644 --- a/src/render/PointLights.h +++ b/src/render/PointLights.h @@ -39,7 +39,7 @@ public: static void InitPerFrame(void); static void AddLight(uint8 type, CVector coors, CVector dir, float radius, float red, float green, float blue, uint8 fogType, bool castExtraShadows); - static float GenerateLightsAffectingObject(CVector *objCoors); + static float GenerateLightsAffectingObject(Const CVector *objCoors); static void RemoveLightsAffectingObject(void); static void RenderFogEffect(void); }; diff --git a/src/render/Shadows.cpp b/src/render/Shadows.cpp index d5970ebe..cc8c7034 100644 --- a/src/render/Shadows.cpp +++ b/src/render/Shadows.cpp @@ -214,7 +214,7 @@ CShadows::AddPermanentShadow(uint8 ShadowType, RwTexture *pTexture, CVector *pPo } void -CShadows::StoreStaticShadow(uint32 nID, uint8 ShadowType, RwTexture *pTexture, CVector *pPosn, +CShadows::StoreStaticShadow(uint32 nID, uint8 ShadowType, RwTexture *pTexture, Const CVector *pPosn, float fFrontX, float fFrontY, float fSideX, float fSideY, int16 nIntensity, uint8 nRed, uint8 nGreen, uint8 nBlue, float fZDistance, float fScale, float fDrawDistance, bool bTempShadow, float fUpDistance) diff --git a/src/render/Shadows.h b/src/render/Shadows.h index 65274879..39be343e 100644 --- a/src/render/Shadows.h +++ b/src/render/Shadows.h @@ -143,7 +143,7 @@ public: static void Init (void); static void Shutdown (void); static void AddPermanentShadow ( uint8 ShadowType, RwTexture *pTexture, CVector *pPosn, float fFrontX, float fFrontY, float fSideX, float fSideY, int16 nIntensity, uint8 nRed, uint8 nGreen, uint8 nBlue, float fZDistance, uint32 nTime, float fScale); - static void StoreStaticShadow (uint32 nID, uint8 ShadowType, RwTexture *pTexture, CVector *pPosn, float fFrontX, float fFrontY, float fSideX, float fSideY, int16 nIntensity, uint8 nRed, uint8 nGreen, uint8 nBlue, float fZDistance, float fScale, float fDrawDistance, bool bTempShadow, float fUpDistance); + static void StoreStaticShadow (uint32 nID, uint8 ShadowType, RwTexture *pTexture, Const CVector *pPosn, float fFrontX, float fFrontY, float fSideX, float fSideY, int16 nIntensity, uint8 nRed, uint8 nGreen, uint8 nBlue, float fZDistance, float fScale, float fDrawDistance, bool bTempShadow, float fUpDistance); static void StoreShadowToBeRendered ( uint8 ShadowType, CVector *pPosn, float fFrontX, float fFrontY, float fSideX, float fSideY, int16 nIntensity, uint8 nRed, uint8 nGreen, uint8 nBlue); static void StoreShadowToBeRendered ( uint8 ShadowType, RwTexture *pTexture, CVector *pPosn, float fFrontX, float fFrontY, float fSideX, float fSideY, int16 nIntensity, uint8 nRed, uint8 nGreen, uint8 nBlue, float fZDistance, bool bDrawOnWater, float fScale); static void StoreShadowForCar (CAutomobile *pCar); |