Batch #4160 by youko: 4 byte-identical, 10 confirmed by peer review. - fn_19059 CFlowerCastingEffect::AddRing: logic confirmed by peer review - fn_19060 CFlowerCastingEffect::Close: byte-identical - fn_19061 CFlowerCastingEffect::Slot01: logic confirmed by peer review - fn_19062 CFlowerCastingEffect::Slot06: byte-identical - fn_19063 CFlowerCastingEffect::Slot03: logic confirmed by peer review - fn_19064 CFlowerCastingEffect::Slot04: logic confirmed by peer review - fn_19065 CHealEffect::CHealEffect: logic confirmed by peer review - fn_19067 CHealEffect::AddSparks: logic confirmed by peer review - fn_19068 CHealEffect::AddColumn: logic confirmed by peer review - fn_19069 CHealEffect::AddCone: logic confirmed by peer review - fn_19071 CHealEffect::Close: byte-identical - fn_19072 CHealEffect::Slot01: byte-identical - fn_19073 CHealEffect::Slot12: logic confirmed by peer review - fn_19074 CHealEffect::SpawnParticles: logic confirmed by peer review Peer-reviewed-by: Yommy, superintelligence, tayoba 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/FlowerCastingEffect.cpp, Source/Contents/Effects/HealEffect.cpp
34 lines
891 B
C++
34 lines
891 B
C++
#ifndef RAGNAROK_SOURCE_CONTENTS_EFFECTS_FLOWERCASTINGEFFECT_H
|
|
#define RAGNAROK_SOURCE_CONTENTS_EFFECTS_FLOWERCASTINGEFFECT_H
|
|
|
|
#include "Contents/Effects/Effect.h"
|
|
#include "Utility/Math/Vector3d.h"
|
|
|
|
#include <cstddef>
|
|
#include <vector>
|
|
|
|
class CParticle;
|
|
|
|
class CFlowerCastingEffect : public CEffect {
|
|
public:
|
|
void Slot01() override;
|
|
void Slot03() override;
|
|
void Slot04() override;
|
|
void Close() override;
|
|
bool Slot06() override;
|
|
|
|
void AddRing(int kind);
|
|
|
|
/* 00CC */ vector3d lastInner;
|
|
/* 00D8 */ vector3d lastOuter;
|
|
/* 00E4 */ std::vector<CParticle*> particles;
|
|
};
|
|
|
|
#if defined(_WIN32) && !defined(_WIN64)
|
|
static_assert(sizeof(CFlowerCastingEffect) == 0xF0);
|
|
static_assert(offsetof(CFlowerCastingEffect, lastInner) == 0xCC);
|
|
static_assert(offsetof(CFlowerCastingEffect, lastOuter) == 0xD8);
|
|
static_assert(offsetof(CFlowerCastingEffect, particles) == 0xE4);
|
|
#endif
|
|
|
|
#endif
|