1
0
Fork 0
mirror of https://git.rip/DMCA_FUCKER/re3.git synced 2024-10-31 22:55:54 +00:00
re3/src/render/Shadows.h

16 lines
706 B
C
Raw Normal View History

2019-05-29 00:52:30 +00:00
#pragma once
struct RwTexture;
class CEntity;
2019-05-29 00:52:30 +00:00
class CShadows
{
public:
static void AddPermanentShadow(uint8 ShadowType, RwTexture* pTexture, CVector* pPosn, float fX1, float fY1, float fX2, float fY2, short nTransparency, uint8 nRed, uint8 nGreen, uint8 nBlue, float fZDistance, uint32 nTime, float fScale);
static void RenderStaticShadows(void);
static void RenderStoredShadows(void);
2019-05-31 09:44:43 +00:00
static void RenderExtraPlayerShadows(void);
2019-06-12 14:52:26 +00:00
static void CalcPedShadowValues(CVector light, float *frontX, float *frontY, float *sideX, float *sideY, float *dispX, float *dispY);
static void StoreShadowForPedObject(CEntity *ent, float dispX, float dispY, float frontX, float frontY, float sideX, float sideY);
2019-05-31 09:44:43 +00:00
};