Decompile 2 functions in Source/Contents/Effects/MeteorEffect.cpp, Source/Contents/Effects/SkillEffects.h
Batch #4740 by eAthena: 0 byte-identical, 2 confirmed by peer review. - fn_07055 CMeteorEffect::Close: logic confirmed by peer review - fn_07059 CMeteorEffect::Slot04: logic confirmed by peer review Peer-reviewed-by: alisonrag, youko Accepted without human review: peers confirmed the logic ("same" ahead by at least 3, with 70% of the votes).
This commit is contained in:
parent
95547259c7
commit
8cca543bb0
2 changed files with 26 additions and 1 deletions
|
|
@ -1,7 +1,31 @@
|
|||
#include "Contents/Effects/SkillEffects.h"
|
||||
|
||||
#include "Contents/Effects/EffectMemoryMgr.h"
|
||||
#include "Contents/Effects/Particle.h"
|
||||
#include "Contents/Effects/SpriteParticle.h"
|
||||
|
||||
// OFFSET: 0x007077D0
|
||||
// FUNCTION: fn_07055
|
||||
void CMeteorEffect::Close() {
|
||||
for (CParticle* particle : this->unknown_00CC) {
|
||||
FreeParticle(particle);
|
||||
}
|
||||
|
||||
this->unknown_00CC.clear();
|
||||
}
|
||||
|
||||
// OFFSET: 0x00707B40
|
||||
// FUNCTION: fn_07057
|
||||
bool CMeteorEffect::Slot06() {
|
||||
return !this->unknown_00CC.empty();
|
||||
}
|
||||
|
||||
// OFFSET: 0x00707CA0
|
||||
// FUNCTION: fn_07059
|
||||
void CMeteorEffect::Slot04() {
|
||||
for (CParticle* particle : this->unknown_00CC) {
|
||||
if ((particle->life == 0.0f || particle->life * 60.0f > static_cast<float>(particle->unknown_00E8)) && particle) {
|
||||
static_cast<CSpriteParticle*>(particle)->sub_B40F30(0);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue