diff options
author | eray orçunus <erayorcunus@gmail.com> | 2019-06-30 21:36:53 +0200 |
---|---|---|
committer | eray orçunus <erayorcunus@gmail.com> | 2019-06-30 21:36:53 +0200 |
commit | 99295827f79ccffa9d3976af2b9a19920d7d8bde (patch) | |
tree | e61ef805296e034766fca5e852224c6e522f8854 /src/render/Shadows.h | |
parent | Merge branch 'master' of git://github.com/GTAmodding/re3 into erorcun (diff) | |
parent | Merge pull request #80 from ShFil119/special (diff) | |
download | re3-99295827f79ccffa9d3976af2b9a19920d7d8bde.tar re3-99295827f79ccffa9d3976af2b9a19920d7d8bde.tar.gz re3-99295827f79ccffa9d3976af2b9a19920d7d8bde.tar.bz2 re3-99295827f79ccffa9d3976af2b9a19920d7d8bde.tar.lz re3-99295827f79ccffa9d3976af2b9a19920d7d8bde.tar.xz re3-99295827f79ccffa9d3976af2b9a19920d7d8bde.tar.zst re3-99295827f79ccffa9d3976af2b9a19920d7d8bde.zip |
Diffstat (limited to '')
-rw-r--r-- | src/render/Shadows.h | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/src/render/Shadows.h b/src/render/Shadows.h index 2a41f81e..37749de4 100644 --- a/src/render/Shadows.h +++ b/src/render/Shadows.h @@ -3,6 +3,11 @@ struct RwTexture; class CEntity; +enum +{ + SHADOWTYPE_2 = 2 +}; + class CShadows { public: @@ -11,7 +16,12 @@ public: 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); + static void StoreShadowForTree(CEntity *ent); + static void StoreShadowForPole(CEntity *ent, float offsetX, float offsetY, float offsetZ, float poleHeight, float poleWidth, uint32 subId); static void StoreShadowForPedObject(CEntity *ent, float dispX, float dispY, float frontX, float frontY, float sideX, float sideY); + static void 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);; + static void 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); }; -extern RwTexture*& gpBloodPoolTex; +extern RwTexture *&gpBloodPoolTex; +extern RwTexture *&gpShadowExplosionTex; |