summaryrefslogtreecommitdiffstats
path: root/src/render/Shadows.cpp
diff options
context:
space:
mode:
authorFire-Head <Fire-Head@users.noreply.github.com>2019-05-30 23:49:06 +0200
committerFire-Head <Fire-Head@users.noreply.github.com>2019-05-30 23:49:06 +0200
commit3ef6029764cfcba7e73bf62c19addbe1732480b8 (patch)
treeff4354c0a3056af8f580356787982021edf62963 /src/render/Shadows.cpp
parentadded CText (diff)
downloadre3-3ef6029764cfcba7e73bf62c19addbe1732480b8.tar
re3-3ef6029764cfcba7e73bf62c19addbe1732480b8.tar.gz
re3-3ef6029764cfcba7e73bf62c19addbe1732480b8.tar.bz2
re3-3ef6029764cfcba7e73bf62c19addbe1732480b8.tar.lz
re3-3ef6029764cfcba7e73bf62c19addbe1732480b8.tar.xz
re3-3ef6029764cfcba7e73bf62c19addbe1732480b8.tar.zst
re3-3ef6029764cfcba7e73bf62c19addbe1732480b8.zip
Diffstat (limited to '')
-rw-r--r--src/render/Shadows.cpp6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/render/Shadows.cpp b/src/render/Shadows.cpp
index 587dda99..81ba75aa 100644
--- a/src/render/Shadows.cpp
+++ b/src/render/Shadows.cpp
@@ -2,10 +2,6 @@
#include "patcher.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);
-}
-
+WRAPPER 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) { EAXJMP(0x512FD0); }
WRAPPER void CShadows::RenderStaticShadows(void) { EAXJMP(0x5145F0); }
WRAPPER void CShadows::RenderStoredShadows(void) { EAXJMP(0x514010); }