rodecomp/Source/Contents/Effects/RotateLineEffect.h
ragnarok-clanker bdee571333 Decompile 2 functions in Source/Contents/Effects/RotateLineEffect.cpp, Source/Contents/Effects/RotateLineEffect.h
Batch #4026 by Yommy: 0 byte-identical, 2 confirmed by peer review.

- fn_19158 CRotateLineEffect::Slot03: logic confirmed by peer review
- fn_19159 CRotateLineEffect::Slot04: logic confirmed by peer review

Peer-reviewed-by: ragnarok-clanker, willerthal, superintelligence
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/RotateLineEffect.cpp
2026-10-30 00:32:26 +00:00

35 lines
883 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 Slot03() override;
void Slot04() 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