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
46 lines
1.3 KiB
C++
46 lines
1.3 KiB
C++
#ifndef RAGNAROK_SOURCE_CONTENTS_EFFECTS_HEALEFFECT_H
|
|
#define RAGNAROK_SOURCE_CONTENTS_EFFECTS_HEALEFFECT_H
|
|
|
|
#include "Contents/Effects/Effect.h"
|
|
#include "Utility/Math/Vector3d.h"
|
|
|
|
#include <cstddef>
|
|
#include <vector>
|
|
|
|
class CParticle;
|
|
|
|
class CHealEffect : public CEffect {
|
|
public:
|
|
CHealEffect();
|
|
|
|
void Slot01() override;
|
|
void Close() override;
|
|
void Slot12() override;
|
|
|
|
void AddSparks(int kind);
|
|
void AddColumn(int kind);
|
|
void AddCone(int kind);
|
|
void SpawnParticles();
|
|
|
|
/* 00CC */ vector3d columnEdge[2];
|
|
/* 00E4 */ vector3d coneEdge[2];
|
|
/* 00FC */ int columnLifetime;
|
|
/* 0100 */ int coneLifetime;
|
|
/* 0104 */ int spawnTick;
|
|
/* 0108 */ std::vector<CParticle*> columnParticles;
|
|
/* 0114 */ std::vector<CParticle*> coneParticles;
|
|
/* 0120 */ std::vector<CParticle*> sparkParticles;
|
|
};
|
|
|
|
#if defined(_WIN32) && !defined(_WIN64)
|
|
static_assert(sizeof(CHealEffect) == 0x12C);
|
|
static_assert(offsetof(CHealEffect, columnEdge) == 0xCC);
|
|
static_assert(offsetof(CHealEffect, coneEdge) == 0xE4);
|
|
static_assert(offsetof(CHealEffect, columnLifetime) == 0xFC);
|
|
static_assert(offsetof(CHealEffect, spawnTick) == 0x104);
|
|
static_assert(offsetof(CHealEffect, columnParticles) == 0x108);
|
|
static_assert(offsetof(CHealEffect, coneParticles) == 0x114);
|
|
static_assert(offsetof(CHealEffect, sparkParticles) == 0x120);
|
|
#endif
|
|
|
|
#endif
|