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
37 lines
982 B
C++
37 lines
982 B
C++
#ifndef RAGNAROK_SOURCE_CONTENTS_EFFECTS_STORMKICKEFFECT_H
|
|
#define RAGNAROK_SOURCE_CONTENTS_EFFECTS_STORMKICKEFFECT_H
|
|
|
|
#include "Contents/Effects/Effect.h"
|
|
#include "Contents/Effects/EffectPoint.h"
|
|
|
|
#include <cstddef>
|
|
#include <vector>
|
|
|
|
class CParticle;
|
|
|
|
class CStormKickEffect : public CEffect {
|
|
public:
|
|
CStormKickEffect();
|
|
|
|
void Slot01() override;
|
|
void Slot03() override;
|
|
void Close() override;
|
|
bool Slot06() override;
|
|
void Slot12() override;
|
|
void CreateStorms(int layer);
|
|
void CreateClouds(int layer);
|
|
void UpdateStorm(CParticle* particle);
|
|
|
|
/* 00CC */ EffectPoint lastPoints[2];
|
|
/* 00E4 */ std::vector<CParticle*> storms;
|
|
/* 00F0 */ std::vector<CParticle*> clouds;
|
|
};
|
|
|
|
#if defined(_WIN32) && !defined(_WIN64)
|
|
static_assert(offsetof(CStormKickEffect, lastPoints) == 0xCC);
|
|
static_assert(offsetof(CStormKickEffect, storms) == 0xE4);
|
|
static_assert(offsetof(CStormKickEffect, clouds) == 0xF0);
|
|
static_assert(sizeof(CStormKickEffect) == 0xFC);
|
|
#endif
|
|
|
|
#endif
|