forked from Phobos-developers/YRpp
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathParticleSystemClass.h
69 lines (55 loc) · 1.68 KB
/
ParticleSystemClass.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
/*
ParticleSystems
*/
#ifndef PARTICLESYS_H
#define PARTICLESYS_H
#include <ObjectClass.h>
#include <ParticleSystemTypeClass.h>
class ParticleSystemClass : public ObjectClass
{
public:
enum {AbsID = abs_ParticleSystem};
//Static
static DynamicVectorClass<ParticleSystemClass*>* Array;
//IPersist
virtual HRESULT __stdcall GetClassID(CLSID* pClassID) R0;
//IPersistStream
virtual HRESULT __stdcall Load(IStream* pStm) R0;
virtual HRESULT __stdcall Save(IStream* pStm, BOOL fClearDirty) R0;
//Destructor
virtual ~ParticleSystemClass() RX;
//AbstractClass
virtual eAbstractType WhatAmI() R0;
virtual int Size() R0;
//Constructor
ParticleSystemClass(
ParticleSystemTypeClass* pParticleSystemType,
CoordStruct Crd1,
AbstractClass* pTarget,
TechnoClass* pOwner,
CoordStruct Crd2,
DWORD dwUnk) : ObjectClass(false)
{ JMP_THIS(0x62DC50); }
protected:
ParticleSystemClass() : ObjectClass(false) { }
//===========================================================================
//===== Properties ==========================================================
//===========================================================================
public:
ParticleSystemTypeClass* Type;
DWORD unknown_B0;
DWORD unknown_B4;
DWORD unknown_B8;
DynamicVectorClass<ParticleClass*> Particles;
CoordStruct unknown_coords_D4;
TechnoClass* Owner;
CellClass* unknown_cell_E4;
int SpawnFrames; //from ParSysTypeClass
int Lifetime; //from ParSysTypeClass
int SparkSpawnFrames; //from ParSysTypeClass
int unknown_int_F4; //defaults to 29
bool unknown_bool_F8;
bool unknown_bool_F9;
DWORD unknown_FC;
};
#endif