comparison DecalBuilder.h @ 1465:090ff42290c4

Слияние
author Ritor1
date Mon, 26 Aug 2013 10:39:24 +0600
parents 934074e7fcc1
children af57b3b76fe4
comparison
equal deleted inserted replaced
1464:b870630761df 1465:090ff42290c4
13 //this->field_24 = 0; 13 //this->field_24 = 0;
14 //this->vdestructor_ptr = &Bloodsplat_pvdtor; 14 //this->vdestructor_ptr = &Bloodsplat_pvdtor;
15 } 15 }
16 16
17 //----- (0043B54C) -------------------------------------------------------- 17 //----- (0043B54C) --------------------------------------------------------
18 //void __thiscall Bloodsplat::vdtor(Bloodsplat *this, char a2) 18 //void Bloodsplat::vdtor(Bloodsplat *this, char a2)
19 19
20 //----- (0043B569) -------------------------------------------------------- 20 //----- (0043B569) --------------------------------------------------------
21 virtual ~Bloodsplat() 21 virtual ~Bloodsplat()
22 { 22 {
23 } 23 }
24 24
25 //void (__thiscall ***vdestructor_ptr)(Bloodsplat *, bool); 25 //void ( ***vdestructor_ptr)(Bloodsplat *, bool);
26 float x; 26 float x;
27 float y; 27 float y;
28 float z; 28 float z;
29 float radius; 29 float radius;
30 float dot_dist; 30 float dot_dist;
47 { 47 {
48 /*_eh_vector_constructor_iterator_( 48 /*_eh_vector_constructor_iterator_(
49 this->std__vector_pBloodsplats, 49 this->std__vector_pBloodsplats,
50 40, 50 40,
51 64, 51 64,
52 (void (__thiscall *)(void *))Bloodsplat::Bloodsplat, 52 (void ( *)(void *))Bloodsplat::Bloodsplat,
53 (void (__thiscall *)(void *))Bloodsplat::dtor); 53 (void ( *)(void *))Bloodsplat::dtor);
54 v1->std__vector_pBloodsplats_size = 0;*/ 54 v1->std__vector_pBloodsplats_size = 0;*/
55 uNumBloodsplats = 0; 55 uNumBloodsplats = 0;
56 } 56 }
57 //----- (0043B6D6) -------------------------------------------------------- 57 //----- (0043B6D6) --------------------------------------------------------
58 virtual ~BloodsplatContainer() 58 virtual ~BloodsplatContainer()
64 64
65 bool AddBloodsplat(float x, float y, float z, float r, float g, float b, float radius, int a8, int a9); 65 bool AddBloodsplat(float x, float y, float z, float r, float g, float b, float radius, int a8, int a9);
66 bool AddBloodsplat(float x, float y, float z, float radius, char r, char g, char b); 66 bool AddBloodsplat(float x, float y, float z, float radius, char r, char g, char b);
67 67
68 68
69 //void (__thiscall ***vdestructor_ptr)(BloodsplatContainer *, bool); 69 //void ( ***vdestructor_ptr)(BloodsplatContainer *, bool);
70 Bloodsplat std__vector_pBloodsplats[64]; 70 Bloodsplat std__vector_pBloodsplats[64];
71 unsigned int std__vector_pBloodsplats_size; 71 unsigned int std__vector_pBloodsplats_size;
72 int uNumBloodsplats; 72 int uNumBloodsplats;
73 }; 73 };
74 #pragma pack(pop) 74 #pragma pack(pop)
105 Decal_base_ctor(); 105 Decal_base_ctor();
106 field_C1C = 0; 106 field_C1C = 0;
107 } 107 }
108 108
109 //----- (0043B625) -------------------------------------------------------- 109 //----- (0043B625) --------------------------------------------------------
110 //void __thiscall Decal::vdtor(Decal *this, bool a2) 110 //void Decal::vdtor(Decal *this, bool a2)
111 //----- (0043B641) -------------------------------------------------------- 111 //----- (0043B641) --------------------------------------------------------
112 virtual ~Decal() 112 virtual ~Decal()
113 { 113 {
114 } 114 }
115 115
116 //void (__thiscall ***vdestructor_ptr)(Decal *, bool); 116 //void ( ***vdestructor_ptr)(Decal *, bool);
117 int uNumVertices; 117 int uNumVertices;
118 RenderVertexSoft pVertices[64]; 118 RenderVertexSoft pVertices[64];
119 __int16 field_C08; 119 __int16 field_C08;
120 __int16 field_C0A; 120 __int16 field_C0A;
121 __int16 field_C0C; 121 __int16 field_C0C;
140 auto v1 = this; 140 auto v1 = this;
141 /*_eh_vector_constructor_iterator_( 141 /*_eh_vector_constructor_iterator_(
142 this->std__vector_pDecals, 142 this->std__vector_pDecals,
143 3104, 143 3104,
144 1024, 144 1024,
145 (void (__thiscall *)(void *))Decal::Decal, 145 (void ( *)(void *))Decal::Decal,
146 (void (__thiscall *)(void *))Decal::dtor);*/ 146 (void ( *)(void *))Decal::dtor);*/
147 v1->std__vector_pDecals_size = 0; 147 v1->std__vector_pDecals_size = 0;
148 v1->field_308008 = 0; 148 v1->field_308008 = 0;
149 v2 = (char *)&v1->pVertices[0].flt_2C; 149 v2 = (char *)&v1->pVertices[0].flt_2C;
150 v3 = 256; 150 v3 = 256;
151 do 151 do
174 void DrawBloodsplats(); 174 void DrawBloodsplats();
175 void DrawDecalDebugOutlines(); 175 void DrawDecalDebugOutlines();
176 176
177 177
178 178
179 //void (__thiscall ***vdestructor_ptr)(DecalBuilder *, bool); 179 //void ( ***vdestructor_ptr)(DecalBuilder *, bool);
180 Decal std__vector_pDecals[1024]; 180 Decal std__vector_pDecals[1024];
181 unsigned int std__vector_pDecals_size; 181 unsigned int std__vector_pDecals_size;
182 int field_308008; 182 int field_308008;
183 RenderVertexSoft pVertices[256]; 183 RenderVertexSoft pVertices[256];
184 int std__vector_30B00C[1024]; 184 int std__vector_30B00C[1024];