Spyro 1 Reverse Engineering
Decompilation of functions from Spyro 1 into human readable C
 
Loading...
Searching...
No Matches
particles.h
Go to the documentation of this file.
1#ifndef PARTICLES_H
2#define PARTICLES_H
3
4#include <common.h>
5
6struct Particle
7{
8 char type; //0x0
9 char subtype; //0x1
10
11 char decayTimer; //0x2 0 longest, bigger number shorter duration
12 char unk1; //0x3
13
14 struct Vec3_u16 position; //0x4 X POS, 0x6 Y POS, 0x8 Z POS
15
16 struct Vec2_u8 scale; //0xA X SCALE, 0xB Y SCALE
17
18 struct RGB_u8 color; //0xC RED, 0xD BLUE, 0xE GREEN
19
20 char unk2; //0xF
21
22 short unk3; //0x10
23 short unk4; //0x12
24 short unk5; //0x14
25};
26
27#endif //PARTICLES_H
char unk1
Definition particles.h:12
char subtype
Definition particles.h:9
char unk2
Definition particles.h:20
char type
Definition particles.h:8
struct Vec2_u8 scale
Definition particles.h:16
struct RGB_u8 color
Definition particles.h:18
char decayTimer
Definition particles.h:11
short unk4
Definition particles.h:23
short unk5
Definition particles.h:24
struct Vec3_u16 position
Definition particles.h:14
short unk3
Definition particles.h:22