From 31e7428bdf788a465c2f72f75793cac88ec5d77a Mon Sep 17 00:00:00 2001 From: Fire-Head Date: Wed, 29 May 2019 03:52:30 +0300 Subject: Particle, ParticleMgr done --- src/render/Shadows.cpp | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 src/render/Shadows.cpp (limited to 'src/render/Shadows.cpp') diff --git a/src/render/Shadows.cpp b/src/render/Shadows.cpp new file mode 100644 index 00000000..ead84e92 --- /dev/null +++ b/src/render/Shadows.cpp @@ -0,0 +1,7 @@ +#include "common.h" +#include "Shadows.h" + +void CShadows::AddPermanentShadow(unsigned char ShadowType, RwTexture* pTexture, CVector* pPosn, float fX1, float fY1, float fX2, float fY2, short nTransparency, unsigned char nRed, unsigned char nGreen, unsigned char nBlue, float fZDistance, unsigned int nTime, float fScale) +{ + ((void (__cdecl *)(unsigned char, RwTexture*, CVector*, float, float, float, float, short, unsigned char, unsigned char, unsigned char, float, unsigned int, float))0x56EC50)(ShadowType, pTexture, pPosn, fX1, fY1, fX2, fY2, nTransparency, nRed, nGreen, nBlue, fZDistance, nTime, fScale); +} -- cgit v1.2.3