diff options
author | aap <aap@papnet.eu> | 2019-06-30 21:06:55 +0200 |
---|---|---|
committer | aap <aap@papnet.eu> | 2019-06-30 21:06:55 +0200 |
commit | af2e764d81d6a5981bab0a0d1fd0c79cf2465f69 (patch) | |
tree | 7b3202766bcbe9711d4a0a24952bca3c4e39d6ae /src/render/Shadows.cpp | |
parent | Merge pull request #79 from Nick007J/master (diff) | |
download | re3-af2e764d81d6a5981bab0a0d1fd0c79cf2465f69.tar re3-af2e764d81d6a5981bab0a0d1fd0c79cf2465f69.tar.gz re3-af2e764d81d6a5981bab0a0d1fd0c79cf2465f69.tar.bz2 re3-af2e764d81d6a5981bab0a0d1fd0c79cf2465f69.tar.lz re3-af2e764d81d6a5981bab0a0d1fd0c79cf2465f69.tar.xz re3-af2e764d81d6a5981bab0a0d1fd0c79cf2465f69.tar.zst re3-af2e764d81d6a5981bab0a0d1fd0c79cf2465f69.zip |
Diffstat (limited to '')
-rw-r--r-- | src/render/Shadows.cpp | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/src/render/Shadows.cpp b/src/render/Shadows.cpp index cb5cedfb..0852938f 100644 --- a/src/render/Shadows.cpp +++ b/src/render/Shadows.cpp @@ -7,6 +7,16 @@ WRAPPER void CShadows::RenderStaticShadows(void) { EAXJMP(0x5145F0); } WRAPPER void CShadows::RenderStoredShadows(void) { EAXJMP(0x514010); } WRAPPER void CShadows::RenderExtraPlayerShadows(void) { EAXJMP(0x516F90); } WRAPPER void CShadows::CalcPedShadowValues(CVector light, float *frontX, float *frontY, float *sideX, float *sideY, float *dispX, float *dispY) { EAXJMP(0x516EB0); } +WRAPPER void CShadows::StoreShadowForPole(CEntity *ent, float offsetX, float offsetY, float offsetZ, float poleHeight, float poleWidth, uint32 subId) { EAXJMP(0x513E10); } WRAPPER void CShadows::StoreShadowForPedObject(CEntity *ent, float dispX, float dispY, float frontX, float frontY, float sideX, float sideY) { EAXJMP(0x513CB0); } +WRAPPER void CShadows::StoreStaticShadow(uint32 id, uint8 type, RwTexture *texture, CVector *coors, float frontX, float frontY, float sideX, float sideY, int16 intensity, uint8 red, uint8 green, uint8 blue, float zDistance, float scale, float drawDistance, bool temporaryShadow, float upDistance) { EAXJMP(0x5130A0); } +WRAPPER void CShadows::StoreShadowToBeRendered(uint8 type, RwTexture *texture, CVector *coors, float frontX, float frontY, float sideX, float sideY, int16 intensity, uint8 red, uint8 green, uint8 blue, float zDistance, bool drawOnWater, float upDistance) { EAXJMP(0x513750); } -RwTexture*& gpBloodPoolTex = *(RwTexture * *)0x9415F8;
\ No newline at end of file +RwTexture *&gpBloodPoolTex = *(RwTexture**)0x9415F8; +RwTexture *&gpShadowExplosionTex = *(RwTexture**)0x8F2A00; + +void +CShadows::StoreShadowForTree(CEntity *ent) +{ + // empty +} |