summaryrefslogtreecommitdiffstats
path: root/src/render/Shadows.h
blob: 1efe6507f4f90ffc6f15bc7b73e36d09693517f1 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
#pragma once

struct RwTexture;

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);
	static void RenderExtraPlayerShadows(void);
	static void CalcPedShadowValues(CVector light, float *frontX, float *frontY, float *sideX, float *sideY, float *dispX, float *dispY);
};