rodecomp/Source/Contents/Effects/Level150Effect.h
ragnarok-clanker 7bedc81c95 Decompile 8 functions in Source/Contents/Effects/EffectPoint.h, Source/Contents/Effects/HealSpEffect.cpp, ...
Batch #4286 by youko: 7 byte-identical, 1 confirmed by peer review.

- fn_18913 CLevel150Effect::Slot01: byte-identical
- fn_18914 CLevel150Effect::Slot06: byte-identical
- fn_18923 CLevel150SubEffect::Slot01: byte-identical
- fn_18924 CLevel150SubEffect::Slot06: byte-identical
- fn_18926 CLevel150SubEffect::Slot04: byte-identical
- fn_18932 CMagicFloorEffect::Slot01: byte-identical
- fn_18933 CMagicFloorEffect::Slot07: logic confirmed by peer review
- fn_18934 CMagicFloorEffect::Slot06: byte-identical

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/HealSpEffect.cpp, Source/Contents/Effects/Level150Effect.cpp
2026-10-30 02:01:09 +00:00

54 lines
1.5 KiB
C++

#ifndef RAGNAROK_SOURCE_CONTENTS_EFFECTS_LEVEL150EFFECT_H
#define RAGNAROK_SOURCE_CONTENTS_EFFECTS_LEVEL150EFFECT_H
#include "Contents/Effects/Effect.h"
#include "Contents/Effects/EffectPoint.h"
#include <cstddef>
#include <vector>
class CParticle;
class CLevel150Effect : public CEffect {
public:
CLevel150Effect();
void Slot01() override;
void Slot03() override;
void Slot04() override;
void Close() override;
bool Slot06() override;
void Slot08(int red, int green, int blue) override;
void Slot10(int blend) override;
void AddBubbleRing(int alphaOffset);
void AddShock(int kind);
/* 00CC */ EffectPoint lastPoints[2];
/* 00E4 */ std::vector<CParticle*> bubbles;
/* 00F0 */ std::vector<CParticle*> shocks;
};
class CLevel150SubEffect : public CEffect {
public:
CLevel150SubEffect();
void Slot01() override;
void Slot03() override;
void Slot04() override;
void Close() override;
bool Slot06() override;
void Slot08(int red, int green, int blue) override;
void Slot10(int blend) override;
void Init();
/* 00CC */ std::vector<CParticle*> particles;
};
#if defined(_WIN32) && !defined(_WIN64)
static_assert(offsetof(CLevel150Effect, lastPoints) == 0xCC);
static_assert(offsetof(CLevel150Effect, bubbles) == 0xE4);
static_assert(offsetof(CLevel150Effect, shocks) == 0xF0);
static_assert(sizeof(CLevel150Effect) == 0xFC);
static_assert(offsetof(CLevel150SubEffect, particles) == 0xCC);
static_assert(sizeof(CLevel150SubEffect) == 0xD8);
#endif
#endif