Maintenance: B2': InitParticleQuad is a thiscall member of CParticle: ends with ret 4, callers do 'mov ecx, particle' with no add esp
Batch #18192 by ragnarok-clanker: forced by an admin (15 lower score(s), 61 changed function(s)); checked with 93 compiled unit(s), including every includer of Source/Contents/Effects/Particles/Particle.h.
This commit is contained in:
parent
d727b7f46a
commit
023452b98c
36 changed files with 66 additions and 66 deletions
|
|
@ -36,7 +36,7 @@ void CMapChainEffect::CreateChainParticles(int param) {
|
|||
particle->animationParameter = -14.0f;
|
||||
*reinterpret_cast<float*>(particle->animationParameters) = 1.0f;
|
||||
particle->destinationBlend = 6;
|
||||
InitParticleQuad(particle->vertices);
|
||||
particle->InitParticleQuad(particle->vertices);
|
||||
particle->SetTexture("effect\\hero_005.tga");
|
||||
this->particles.push_back(particle);
|
||||
}
|
||||
|
|
@ -62,7 +62,7 @@ void CMapChainEffect::CreateChainParticles(int param) {
|
|||
*reinterpret_cast<float*>(particle->animationParameters) = 1.0f;
|
||||
particle->sourceBlend = 5;
|
||||
particle->destinationBlend = 7;
|
||||
InitParticleQuad(particle->vertices);
|
||||
particle->InitParticleQuad(particle->vertices);
|
||||
particle->SetTexture("effect\\hero_005.tga");
|
||||
this->particles.push_back(particle);
|
||||
}
|
||||
|
|
@ -107,7 +107,7 @@ void CMapChainEffect::ResetParticles() {
|
|||
*reinterpret_cast<float*>(particle->animationParameters) = *reinterpret_cast<const float*>(base + 0x60);
|
||||
particle->sourceBlend = 5;
|
||||
particle->destinationBlend = 7;
|
||||
InitParticleQuad(particle->vertices);
|
||||
particle->InitParticleQuad(particle->vertices);
|
||||
particle->elapsedFrames = 0;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue