Batch #4067 by Yommy: 1 byte-identical, 2 confirmed by peer review. - fn_19155 CRotateLineEffect::Close: logic confirmed by peer review - fn_19156 CRotateLineEffect::Slot01: logic confirmed by peer review - fn_19157 CRotateLineEffect::Slot06: byte-identical Peer-reviewed-by: ragnarok-clanker, youko, tayoba, superintelligence Accepted without human review: peers confirmed the logic ("same" ahead by at least 3, with 70% of the votes).
38 lines
960 B
C++
38 lines
960 B
C++
#ifndef RAGNAROK_SOURCE_CONTENTS_EFFECTS_ROTATELINEEFFECT_H
|
|
#define RAGNAROK_SOURCE_CONTENTS_EFFECTS_ROTATELINEEFFECT_H
|
|
|
|
#include "Contents/Effects/Effect.h"
|
|
#include "Utility/Math/Vector3d.h"
|
|
|
|
#include <cstddef>
|
|
#include <vector>
|
|
|
|
class CParticle;
|
|
|
|
class CRotateLineEffect : public CEffect {
|
|
public:
|
|
CRotateLineEffect();
|
|
|
|
void Slot01() override;
|
|
void Slot03() override;
|
|
void Slot04() override;
|
|
void Close() override;
|
|
bool Slot06() override;
|
|
|
|
/* 00CC */ float scale;
|
|
/* 00D0 */ int angle;
|
|
/* 00D4 */ int spread;
|
|
/* 00D8 */ int alpha;
|
|
/* 00DC */ bool started;
|
|
/* 00E0 */ vector3d previous[2];
|
|
/* 00F8 */ std::vector<CParticle*> particles;
|
|
};
|
|
|
|
#if defined(_WIN32) && !defined(_WIN64)
|
|
static_assert(sizeof(CRotateLineEffect) == 0x104);
|
|
static_assert(offsetof(CRotateLineEffect, started) == 0xDC);
|
|
static_assert(offsetof(CRotateLineEffect, previous) == 0xE0);
|
|
static_assert(offsetof(CRotateLineEffect, particles) == 0xF8);
|
|
#endif
|
|
|
|
#endif
|