Batch #4423 by youko: 7 byte-identical, 15 confirmed by peer review. - fn_19201 CSpriteEffect::Slot04: byte-identical - fn_19203 CStarEffect::Close: logic confirmed by peer review - fn_19204 CStarEffect::Slot01: logic confirmed by peer review - fn_19205 CStarEffect::SetupParticle: logic confirmed by peer review - fn_19206 CStarEffect::Slot06: byte-identical - fn_19207 CStarEffect::Slot03: byte-identical - fn_19208 CStarEffect::UpdateParticle: logic confirmed by peer review - fn_19209 CStarEffect::Slot04: byte-identical - fn_19211 CStormGustEffect::Close: logic confirmed by peer review - fn_19212 CStormGustEffect::Slot01: logic confirmed by peer review - fn_19213 CStormGustEffect::Slot06: byte-identical - fn_19214 CStormGustEffect::Slot03: logic confirmed by peer review - fn_19215 CStormGustEffect::Slot04: byte-identical - fn_19216 CStormKickEffect::CStormKickEffect: logic confirmed by peer review - fn_19218 CStormKickEffect::CreateStorms: logic confirmed by peer review - fn_19219 CStormKickEffect::CreateClouds: logic confirmed by peer review - fn_19220 CStormKickEffect::UpdateStorm: logic confirmed by peer review - fn_19221 CStormKickEffect::Close: logic confirmed by peer review - fn_19222 CStormKickEffect::Slot01: logic confirmed by peer review - fn_19223 CStormKickEffect::Slot12: logic confirmed by peer review - fn_19224 CStormKickEffect::Slot06: byte-identical - fn_19225 CStormKickEffect::Slot03: logic confirmed by peer review Peer-reviewed-by: eAthena, KWDev Reviewed-by: ragnarok-clanker Adds to the build: Source/Contents/Effects/StarEffect.cpp, Source/Contents/Effects/StormGustEffect.cpp, Source/Contents/Effects/StormKickEffect.cpp
30 lines
722 B
C++
30 lines
722 B
C++
#ifndef RAGNAROK_SOURCE_CONTENTS_EFFECTS_STAREFFECT_H
|
|
#define RAGNAROK_SOURCE_CONTENTS_EFFECTS_STAREFFECT_H
|
|
|
|
#include "Contents/Effects/Effect.h"
|
|
|
|
#include <cstddef>
|
|
#include <vector>
|
|
|
|
class CParticle;
|
|
|
|
class CStarEffect : public CEffect {
|
|
public:
|
|
void Slot01() override;
|
|
void Slot03() override;
|
|
void Slot04() override;
|
|
void Close() override;
|
|
bool Slot06() override;
|
|
void SetupParticle(CParticle* particle);
|
|
void UpdateParticle(CParticle* particle);
|
|
|
|
/* 00CC */ unsigned char unknown_00CC[0x34];
|
|
/* 0100 */ std::vector<CParticle*> particles;
|
|
};
|
|
|
|
#if defined(_WIN32) && !defined(_WIN64)
|
|
static_assert(offsetof(CStarEffect, particles) == 0x100);
|
|
static_assert(sizeof(CStarEffect) == 0x10C);
|
|
#endif
|
|
|
|
#endif
|