Batch #4453 by eAthena: 0 byte-identical, 3 confirmed by peer review. - fn_06890 CAnimatedEmitterEffect::Slot01: logic confirmed by peer review - fn_06891 CAnimatedEmitterEffect::InitParticle: logic confirmed by peer review - fn_06892 CAnimatedEmitterEffect::UpdateParticle: logic confirmed by peer review Peer-reviewed-by: willerthal, KWDev Accepted without human review: peers confirmed the logic ("same" ahead by at least 3, with 70% of the votes). Adds to the build: Source/Contents/Effects/AnimatedEmitterEffect.cpp
26 lines
674 B
C++
26 lines
674 B
C++
#ifndef RAGNAROK_SOURCE_CONTENTS_EFFECTS_ANIMATEDEMITTEREFFECT_H
|
|
#define RAGNAROK_SOURCE_CONTENTS_EFFECTS_ANIMATEDEMITTEREFFECT_H
|
|
|
|
#include "Contents/Effects/EmitterEffect.h"
|
|
|
|
#include <cstddef>
|
|
#include <string>
|
|
#include <vector>
|
|
|
|
class CParticle;
|
|
|
|
class CAnimatedEmitterEffect : public CEmitterEffect {
|
|
public:
|
|
void Slot01() override;
|
|
void InitParticle(CParticle* particle) override;
|
|
void UpdateParticle(CParticle* particle) override;
|
|
|
|
/* 018C */ std::vector<std::string> frames[2];
|
|
};
|
|
|
|
#if defined(_WIN32) && !defined(_WIN64)
|
|
static_assert(offsetof(CAnimatedEmitterEffect, frames) == 0x18C);
|
|
static_assert(sizeof(CAnimatedEmitterEffect) == 0x1A4);
|
|
#endif
|
|
|
|
#endif
|