Batch #3940 by kyoshi: 2 byte-identical, 5 confirmed by peer review. - fn_19161 CSaintCastingEffect::AddRing: logic confirmed by peer review - fn_19162 CSaintCastingEffect::Close: logic confirmed by peer review - fn_19163 CSaintCastingEffect::Slot01: logic confirmed by peer review - fn_19164 CSaintCastingEffect::Slot06: byte-identical - fn_19165 CSaintCastingEffect::Slot03: logic confirmed by peer review - fn_19166 CSaintCastingEffect::Slot04: logic confirmed by peer review - fn_19000 CEffect::IsFinished: byte-identical Peer-reviewed-by: eAthena, Yommy, willerthal 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/SaintCastingEffect.cpp
31 lines
788 B
C++
31 lines
788 B
C++
#ifndef RAGNAROK_SOURCE_CONTENTS_EFFECTS_SAINTCASTINGEFFECT_H
|
|
#define RAGNAROK_SOURCE_CONTENTS_EFFECTS_SAINTCASTINGEFFECT_H
|
|
|
|
#include "Contents/Effects/Effect.h"
|
|
#include "Utility/Math/Vector3d.h"
|
|
|
|
#include <cstddef>
|
|
#include <vector>
|
|
|
|
class CParticle;
|
|
|
|
class CSaintCastingEffect : public CEffect {
|
|
public:
|
|
void Slot01() override;
|
|
void Slot03() override;
|
|
void Slot04() override;
|
|
void Close() override;
|
|
bool Slot06() override;
|
|
void AddRing(const char* texture, int alpha);
|
|
|
|
/* 00CC */ vector3d lastInner;
|
|
/* 00D8 */ vector3d lastOuter;
|
|
/* 00E4 */ std::vector<CParticle*> particles;
|
|
};
|
|
|
|
#if defined(_WIN32) && !defined(_WIN64)
|
|
static_assert(offsetof(CSaintCastingEffect, lastInner) == 0xCC);
|
|
static_assert(offsetof(CSaintCastingEffect, particles) == 0xE4);
|
|
#endif
|
|
|
|
#endif
|