Decompile 2 functions in Source/Contents/Effects/SpriteParticle.cpp
Batch #6197 by eAthena: 1 byte-identical, 1 confirmed by peer review. - fn_18861 CSpriteParticle::CSpriteParticle: logic confirmed by peer review - fn_18863 CSpriteParticle::Reset: byte-identical Peer-reviewed-by: ragnarok-clanker, gordaoprogramas, KWDev 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
a558ed0804
commit
70c3ee44a4
1 changed files with 28 additions and 0 deletions
|
|
@ -27,6 +27,34 @@ static __forceinline float ToRadians(float degrees) {
|
|||
return (degrees / 180.0f) * 3.141592f;
|
||||
}
|
||||
|
||||
// OFFSET: 0x00B40B60
|
||||
// FUNCTION: fn_18861
|
||||
CSpriteParticle::CSpriteParticle(vector3d position, int flags)
|
||||
: CParticle(position, flags), unknown_02BC(0), unknown_02BD(0), velocity(), sprite(nullptr), action(nullptr) {
|
||||
this->Reset();
|
||||
}
|
||||
|
||||
// OFFSET: 0x00B40D90
|
||||
// FUNCTION: fn_18863
|
||||
void CSpriteParticle::Reset() {
|
||||
CParticle::Reset();
|
||||
this->sprite = nullptr;
|
||||
this->action = nullptr;
|
||||
this->frameDelay = 0;
|
||||
this->unknown_02D4 = 0;
|
||||
this->velocity.x = 0;
|
||||
this->velocity.y = 0;
|
||||
this->velocity.z = 0;
|
||||
this->animation = 0;
|
||||
this->frame = 0;
|
||||
this->loopMode = 0;
|
||||
this->unknown_02BC = 0;
|
||||
this->unknown_02BD = 0;
|
||||
this->unknown_02C0 = 0;
|
||||
this->unknown_02C4 = 0;
|
||||
this->unknown_02F4 = 0;
|
||||
}
|
||||
|
||||
// OFFSET: 0x00B40E30
|
||||
// FUNCTION: fn_18864
|
||||
void CSpriteParticle::UpdateFrame() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue