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
6
struct
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
common.h
Particle
Definition
particles.h:7
Particle::unk1
char unk1
Definition
particles.h:12
Particle::subtype
char subtype
Definition
particles.h:9
Particle::unk2
char unk2
Definition
particles.h:20
Particle::type
char type
Definition
particles.h:8
Particle::scale
struct Vec2_u8 scale
Definition
particles.h:16
Particle::color
struct RGB_u8 color
Definition
particles.h:18
Particle::decayTimer
char decayTimer
Definition
particles.h:11
Particle::unk4
short unk4
Definition
particles.h:23
Particle::unk5
short unk5
Definition
particles.h:24
Particle::position
struct Vec3_u16 position
Definition
particles.h:14
Particle::unk3
short unk3
Definition
particles.h:22
RGB_u8
Definition
common.h:194
Vec2_u8
Definition
vector.h:52
Vec3_u16
Definition
vector.h:31
include
particles.h
Generated by
1.9.7