Batch #4020 by kyoshi: 1 byte-identical, 5 confirmed by peer review. - fn_19188 CSphereWindEffect::Close: logic confirmed by peer review - fn_19189 CSphereWindEffect::Slot01: logic confirmed by peer review - fn_19190 CSphereWindEffect::Slot06: byte-identical - fn_19191 CSphereWindEffect::Slot03: logic confirmed by peer review - fn_19192 CSphereWindEffect::UpdateParticle: logic confirmed by peer review - fn_19193 CSphereWindEffect::Slot04: logic confirmed by peer review Peer-reviewed-by: youko, superintelligence 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/SphereWindEffect.cpp
31 lines
774 B
C++
31 lines
774 B
C++
#ifndef RAGNAROK_SOURCE_CONTENTS_EFFECTS_SPHEREWINDEFFECT_H
|
|
#define RAGNAROK_SOURCE_CONTENTS_EFFECTS_SPHEREWINDEFFECT_H
|
|
|
|
#include "Contents/Effects/Effect.h"
|
|
#include "Utility/Math/Vector3d.h"
|
|
|
|
#include <cstddef>
|
|
#include <vector>
|
|
|
|
class CParticle;
|
|
|
|
class CSphereWindEffect : public CEffect {
|
|
public:
|
|
void Slot01() override;
|
|
void Slot03() override;
|
|
void Slot04() override;
|
|
void Close() override;
|
|
bool Slot06() override;
|
|
void UpdateParticle(CParticle* particle);
|
|
|
|
/* 00CC */ vector3d lastInner;
|
|
/* 00D8 */ vector3d lastOuter;
|
|
/* 00E4 */ std::vector<CParticle*> particles;
|
|
};
|
|
|
|
#if defined(_WIN32) && !defined(_WIN64)
|
|
static_assert(offsetof(CSphereWindEffect, lastInner) == 0xCC);
|
|
static_assert(offsetof(CSphereWindEffect, particles) == 0xE4);
|
|
#endif
|
|
|
|
#endif
|