rodecomp/Source/Contents/Effects/MagnumBreak.h
ragnarok-clanker ff4c02b3d8 Decompile 4 functions in Source/Contents/Effects/MagnumBreak.cpp, Source/Contents/Effects/MagnumBreak.h
Batch #4386 by eAthena: 2 byte-identical, 2 confirmed by peer review.

- fn_18938 CMagnumBreak::AddRings: logic confirmed by peer review
- fn_18939 CMagnumBreak::Close: byte-identical
- fn_18940 CMagnumBreak::Slot01: logic confirmed by peer review
- fn_18941 CMagnumBreak::Slot06: byte-identical

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

37 lines
849 B
C++

#ifndef RAGNAROK_SOURCE_CONTENTS_EFFECTS_MAGNUMBREAK_H
#define RAGNAROK_SOURCE_CONTENTS_EFFECTS_MAGNUMBREAK_H
#include "Contents/Effects/Effect.h"
#include <cstddef>
#include <vector>
class CParticle;
class CMagnumBreak : public CEffect {
public:
void Slot01() override;
void Slot03() override;
void Slot04() override;
void Close() override;
bool Slot06() override;
void AddRings();
void AddWaves();
static void UpdateWave(CParticle* particle);
/* 00CC */ std::vector<CParticle*> rings;
/* 00D8 */ std::vector<CParticle*> waves;
/* 00E4 */ float fadeStep;
/* 00E8 */ int fadeFrame;
/* 00EC */ int alpha;
};
#if defined(_WIN32) && !defined(_WIN64)
static_assert(offsetof(CMagnumBreak, waves) == 0xD8);
static_assert(offsetof(CMagnumBreak, alpha) == 0xEC);
static_assert(sizeof(CMagnumBreak) == 0xF0);
#endif
#endif