mirror of
https://github.com/GTAmodding/re3.git
synced 2025-07-04 20:44:09 +00:00
fixed CParticle crash && RandTable
implemented PC codewarrior rand updated premake
This commit is contained in:
parent
2bf6674afc
commit
3ef6029764
9 changed files with 39 additions and 15 deletions
|
@ -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); }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue