Batch #4556 by eAthena: 3 byte-identical, 8 confirmed by peer review. - fn_18888 CCherryBlossomEffect::Slot04: logic confirmed by peer review - fn_18890 CGlassWall::AddPanel: logic confirmed by peer review - fn_18891 CGlassWall::Close: logic confirmed by peer review - fn_18893 CGlassWall::Slot06: byte-identical - fn_18894 CGlassWall::Slot03: logic confirmed by peer review - fn_18895 CGlassWall::Slot04: logic confirmed by peer review - fn_18898 CHealSp::AddRing: logic confirmed by peer review - fn_18900 CHealSp::Close: logic confirmed by peer review - fn_18901 CHealSp::Slot01: byte-identical - fn_18902 CHealSp::Slot06: byte-identical - fn_18903 CHealSp::Slot03: logic confirmed by peer review Peer-reviewed-by: alisonrag, 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/GlassWallEffect.cpp
32 lines
770 B
C++
32 lines
770 B
C++
#ifndef RAGNAROK_SOURCE_CONTENTS_EFFECTS_CHERRYBLOSSOMEFFECT_H
|
|
#define RAGNAROK_SOURCE_CONTENTS_EFFECTS_CHERRYBLOSSOMEFFECT_H
|
|
|
|
#include "Contents/Effects/Effect.h"
|
|
#include "Utility/Math/Vector3d.h"
|
|
|
|
#include <cstddef>
|
|
#include <vector>
|
|
|
|
class CParticle;
|
|
|
|
class CCherryBlossomEffect : public CEffect {
|
|
public:
|
|
CCherryBlossomEffect();
|
|
void Slot01() override;
|
|
void Slot03() override;
|
|
void Slot04() override;
|
|
void Close() override;
|
|
bool Slot06() override {
|
|
return this->ActorExists();
|
|
}
|
|
|
|
/* 00CC */ vector3d offsets[16];
|
|
/* 018C */ std::vector<CParticle*> petals;
|
|
};
|
|
|
|
#if defined(_WIN32) && !defined(_WIN64)
|
|
static_assert(offsetof(CCherryBlossomEffect, offsets) == 0xCC);
|
|
static_assert(offsetof(CCherryBlossomEffect, petals) == 0x18C);
|
|
#endif
|
|
|
|
#endif
|