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
31 lines
747 B
C++
31 lines
747 B
C++
#ifndef RAGNAROK_SOURCE_CONTENTS_EFFECTS_GLASSWALLEFFECT_H
|
|
#define RAGNAROK_SOURCE_CONTENTS_EFFECTS_GLASSWALLEFFECT_H
|
|
|
|
#include "Contents/Effects/Effect.h"
|
|
|
|
#include <cstddef>
|
|
#include <vector>
|
|
|
|
class CParticle;
|
|
|
|
class CGlassWall : public CEffect {
|
|
public:
|
|
~CGlassWall() override;
|
|
void Slot03() override;
|
|
void Slot04() override;
|
|
void Close() override;
|
|
bool Slot06() override;
|
|
|
|
void AddPanel(float angle, float scale, float x, float y, float z);
|
|
|
|
/* 00CC */ std::vector<CParticle*> particles;
|
|
/* 00D8 */ CEffect* effect;
|
|
};
|
|
|
|
#if defined(_WIN32) && !defined(_WIN64)
|
|
static_assert(offsetof(CGlassWall, particles) == 0xCC);
|
|
static_assert(offsetof(CGlassWall, effect) == 0xD8);
|
|
static_assert(sizeof(CGlassWall) == 0xDC);
|
|
#endif
|
|
|
|
#endif
|