rodecomp/Source/Contents/Effects/RotateBgEffect.h
ragnarok-clanker 6294485e6d Decompile 4 functions in Source/Contents/Effects/RotateBgEffect.cpp, Source/Contents/Effects/RotateBgEffect.h
Batch #4337 by eAthena: 1 byte-identical, 3 confirmed by peer review.

- fn_19141 CRotateBgEffect::Close: logic confirmed by peer review
- fn_19142 CRotateBgEffect::Slot01: logic confirmed by peer review
- fn_19143 CRotateBgEffect::Slot06: byte-identical
- fn_19144 CRotateBgEffect::Slot03: logic confirmed by peer review

Peer-reviewed-by: ntrl, KWDev, tayoba, youko
Accepted without human review: peers confirmed the logic ("same" ahead by at least 3, with 70% of the votes).
2026-10-30 03:42:08 +00:00

43 lines
1.2 KiB
C++

#ifndef RAGNAROK_SOURCE_CONTENTS_EFFECTS_ROTATEBGEFFECT_H
#define RAGNAROK_SOURCE_CONTENTS_EFFECTS_ROTATEBGEFFECT_H
#include "Contents/Effects/Effect.h"
#include "Utility/Math/Vector3d.h"
#include <cstddef>
#include <vector>
class CParticle;
class CRotateBgEffect : public CEffect {
public:
void Slot01() override;
void Slot03() override;
void Slot04() override;
void Close() override;
bool Slot06() override;
/* 00CC */ float height;
/* 00D0 */ float radius;
/* 00D4 */ float segmentScale;
/* 00D8 */ int angle;
/* 00DC */ int segmentAngle;
/* 00E0 */ int segmentSpan;
/* 00E4 */ int segmentAlpha;
/* 00E8 */ unsigned char segmentReady;
/* 00EC */ vector3d lastInner;
/* 00F8 */ vector3d lastOuter;
/* 0104 */ std::vector<CParticle*> particles;
/* 0110 */ std::vector<CParticle*> segmentParticles;
};
#if defined(_WIN32) && !defined(_WIN64)
static_assert(offsetof(CRotateBgEffect, segmentReady) == 0xE8);
static_assert(offsetof(CRotateBgEffect, lastInner) == 0xEC);
static_assert(offsetof(CRotateBgEffect, particles) == 0x104);
static_assert(offsetof(CRotateBgEffect, segmentParticles) == 0x110);
static_assert(sizeof(CRotateBgEffect) == 0x11C);
#endif
#endif