mirror of
https://github.com/GTAmodding/re3.git
synced 2025-07-15 17:34:08 +00:00
first commit
This commit is contained in:
commit
600bf03514
116 changed files with 15132 additions and 0 deletions
39
src/render/2dEffect.h
Normal file
39
src/render/2dEffect.h
Normal file
|
@ -0,0 +1,39 @@
|
|||
class C2dEffect
|
||||
{
|
||||
public:
|
||||
struct Light {
|
||||
float dist;
|
||||
float outerRange;
|
||||
float size;
|
||||
float innerRange;
|
||||
uint8 flash;
|
||||
uint8 wet;
|
||||
uint8 flare;
|
||||
uint8 shadowIntens;
|
||||
uint8 flag;
|
||||
RwTexture *corona;
|
||||
RwTexture *shadow;
|
||||
};
|
||||
struct Particle {
|
||||
int particleType;
|
||||
float dir[3];
|
||||
float scale;
|
||||
};
|
||||
struct Attractor {
|
||||
CVector dir;
|
||||
uint8 flag;
|
||||
uint8 probability;
|
||||
};
|
||||
|
||||
CVector pos;
|
||||
RwRGBA col;
|
||||
uint8 type;
|
||||
union {
|
||||
Light light;
|
||||
Particle particle;
|
||||
Attractor attractor;
|
||||
};
|
||||
|
||||
C2dEffect(void) {}
|
||||
};
|
||||
static_assert(sizeof(C2dEffect) == 0x34, "C2dEffect: error");
|
Loading…
Add table
Add a link
Reference in a new issue