Batch #3880 by eAthena: 0 byte-identical, 5 confirmed by peer review. - fn_18936 CMagicFloorEffect::Slot04: logic confirmed by peer review - fn_18943 CMagnumBreak::Slot04: logic confirmed by peer review - fn_18944 CMagnumBreak::UpdateWave: logic confirmed by peer review - fn_18953 CMapChainEffect::Slot04: logic confirmed by peer review - fn_18959 CMappillarEffect::Slot04: logic confirmed by peer review Peer-reviewed-by: ragnarok-clanker, Yommy, superintelligence Accepted without human review: peers confirmed the logic ("same" ahead by at least 3, with 70% of the votes).
29 lines
798 B
C++
29 lines
798 B
C++
#include "Contents/Effects/MappillarEffect.h"
|
|
|
|
#include "Contents/Effects/Particle.h"
|
|
|
|
// OFFSET: 0x00B4C0B0
|
|
// FUNCTION: fn_18957
|
|
bool CMappillarEffect::Slot06() {
|
|
return this->ActorExists();
|
|
}
|
|
|
|
// OFFSET: 0x00B4C4C0
|
|
// FUNCTION: fn_18959
|
|
void CMappillarEffect::Slot04() {
|
|
for (std::vector<CParticle*>::iterator it = this->particles.begin(); it != this->particles.end(); ++it) {
|
|
CParticle* particle = *it;
|
|
if (particle) {
|
|
const int texPart = particle->unknown_000C;
|
|
ParticleQuad quad;
|
|
quad.billboard = false;
|
|
quad.top = 0.0f;
|
|
quad.bottom = 1.0f;
|
|
quad.left = static_cast<float>(texPart - 1) / 21.0f;
|
|
quad.right = static_cast<float>(texPart) / 21.0f;
|
|
quad.unused = false;
|
|
quad.depth = true;
|
|
particle->Render(quad);
|
|
}
|
|
}
|
|
}
|