mirror of
https://github.com/GTAmodding/re3.git
synced 2025-07-14 07:54:08 +00:00
finished CEntity
This commit is contained in:
parent
6e4df804f7
commit
af2e764d81
27 changed files with 665 additions and 76 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue