0
|
1 #pragma once
|
|
2 #include "Render.h"
|
|
3
|
|
4
|
|
5
|
|
6 /* 305 */
|
|
7 #pragma pack(push, 1)
|
|
8 struct Particle_
|
|
9 {
|
|
10 int bFree;
|
|
11 float x;
|
|
12 float y;
|
|
13 float z;
|
|
14 float flt_10;
|
|
15 float flt_14;
|
|
16 float flt_18;
|
|
17 unsigned int uDiffuse;
|
|
18 int field_20;
|
|
19 unsigned int uTextureID;
|
|
20 float flt_28;
|
|
21 int field_2C;
|
|
22 int field_30;
|
|
23 int field_34;
|
|
24 int field_38[12];
|
|
25 };
|
|
26 #pragma pack(pop)
|
|
27
|
|
28
|
|
29 /* 109 */
|
|
30 #pragma pack(push, 1)
|
|
31 struct Particle
|
|
32 {
|
|
33 int bFree;
|
|
34 float x;
|
|
35 float y;
|
|
36 float z;
|
|
37 float flt_10;
|
|
38 float flt_14;
|
|
39 float flt_18;
|
|
40 int uParticleColor;
|
|
41 int field_20;
|
|
42 unsigned int uTextureID;
|
|
43 float flt_28;
|
|
44 float _x;
|
|
45 float _y;
|
|
46 float _z;
|
|
47 int field_38;
|
|
48 int _rotation;
|
|
49 int uScreenSpaceX;
|
|
50 int uScreenSpaceY;
|
|
51 float field_48;
|
|
52 int field_4C;
|
|
53 int field_50;
|
|
54 int field_54;
|
|
55 int field_58;
|
|
56 float flt_5C;
|
|
57 float flt_60;
|
|
58 int uLightColor;
|
|
59 };
|
|
60 #pragma pack(pop)
|
|
61
|
|
62
|
|
63
|
|
64 /* 111 */
|
|
65 #pragma pack(push, 1)
|
|
66 struct stru2_LineList
|
|
67 {
|
|
68 unsigned int uNumLines;
|
|
69 RenderVertexD3D3 pLineVertices[48];
|
|
70 char field_604[60];
|
|
71 };
|
|
72 #pragma pack(pop)
|
|
73
|
|
74
|
|
75
|
|
76
|
|
77
|
|
78 /* 110 */
|
|
79 #pragma pack(push, 1)
|
|
80 struct ParticleEngine
|
|
81 {
|
|
82 ParticleEngine();
|
|
83
|
|
84 void ResetParticles();
|
|
85 void AddParticle(Particle_ *a2);
|
|
86 void Draw();
|
|
87 int UpdateParticles();
|
|
88 bool ViewProject_TrueIfStillVisible(unsigned int uParticleID);
|
|
89 bool _48B5B3(unsigned int uID);
|
|
90 void DrawParticles_BLV();
|
|
91 void DrawParticles_ODM();
|
|
92
|
|
93 Particle pParticles[500];
|
|
94 stru2_LineList pLines;
|
|
95 char field_D160[4800];
|
|
96 float field_E420;
|
|
97 int uStartParticle;
|
|
98 int uEndParticle;
|
|
99 int uTimeElapsed;
|
|
100 };
|
|
101 #pragma pack(pop) |