comparison DecalBuilder.cpp @ 2:2ca04ccb612a

NoCD, main menu, various
author Nomad
date Wed, 10 Oct 2012 14:21:15 +0200
parents 8b8875f5b359
children be2066176d89
comparison
equal deleted inserted replaced
1:ac0fb48cd27a 2:2ca04ccb612a
71 } 71 }
72 72
73 //----- (0049B490) -------------------------------------------------------- 73 //----- (0049B490) --------------------------------------------------------
74 bool DecalBuilder::AddBloodsplat(float x, float y, float z, float r, float g, float b, float radius, int a8, int a9) 74 bool DecalBuilder::AddBloodsplat(float x, float y, float z, float r, float g, float b, float radius, int a8, int a9)
75 { 75 {
76 double v10; // ST1C_8@1 76 //double v10; // ST1C_8@1
77 char v11; // ST24_1@1 77 char v11; // ST24_1@1
78 double v12; // ST1C_8@1 78 //double v12; // ST1C_8@1
79 double v13; // ST1C_8@1 79 //double v13; // ST1C_8@1
80 int a7a; // [sp+40h] [bp+18h]@1 80 int a7a; // [sp+40h] [bp+18h]@1
81 float arg14a; // [sp+44h] [bp+1Ch]@1 81 //float arg14a; // [sp+44h] [bp+1Ch]@1
82 float arg14b; // [sp+44h] [bp+1Ch]@1 82 //float arg14b; // [sp+44h] [bp+1Ch]@1
83 float arg14c; // [sp+44h] [bp+1Ch]@1 83 //float arg14c; // [sp+44h] [bp+1Ch]@1
84 84
85 arg14a = b * 255.0; 85 /*arg14a = b * 255.0;
86 v10 = arg14a + 6.7553994e15; 86 v10 = arg14a + 6.7553994e15;
87 v11 = LOBYTE(v10); 87 v11 = LOBYTE(v10);
88 arg14b = g * 255.0; 88 arg14b = g * 255.0;
89 v12 = arg14b + 6.7553994e15; 89 v12 = arg14b + 6.7553994e15;
90 a7a = LODWORD(v12); 90 a7a = LODWORD(v12);
91 arg14c = r * 255.0; 91 arg14c = r * 255.0;
92 v13 = arg14c + 6.7553994e15; 92 v13 = arg14c + 6.7553994e15;*/
93 return pBloodsplatContainer->AddBloodsplat(x, y, z, radius, SLOBYTE(v13), a7a, v11); 93 return pBloodsplatContainer->AddBloodsplat(x, y, z, radius,
94 //SLOBYTE(v13), a7a, v11);
95 r * 255.0f,
96 g * 255.0f,
97 b * 255.0f);
94 } 98 }
95 99
96 //----- (0049B525) -------------------------------------------------------- 100 //----- (0049B525) --------------------------------------------------------
97 void DecalBuilder::Reset(unsigned int bPreserveBloodsplats) 101 void DecalBuilder::Reset(unsigned int bPreserveBloodsplats)
98 { 102 {