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
38 lines
1 KiB
C++
38 lines
1 KiB
C++
#ifndef RAGNAROK_SOURCE_CONTENTS_EFFECTS_MAGICFLOOREFFECT_H
|
|
#define RAGNAROK_SOURCE_CONTENTS_EFFECTS_MAGICFLOOREFFECT_H
|
|
|
|
#include "Contents/Effects/Effect.h"
|
|
#include "Contents/Effects/EffectPoint.h"
|
|
|
|
#include <cstddef>
|
|
#include <vector>
|
|
|
|
class CParticle;
|
|
|
|
class CMagicFloorEffect : public CEffect {
|
|
public:
|
|
CMagicFloorEffect();
|
|
void Slot01() override;
|
|
void Slot03() override;
|
|
void Slot04() override;
|
|
void Close() override;
|
|
bool Slot06() override;
|
|
void Slot07() override;
|
|
void AddFloors();
|
|
void AddClouds(int layer);
|
|
|
|
/* 00CC */ EffectPoint lastPoints[2];
|
|
/* 00E4 */ EffectPoint unknown_00E4[2];
|
|
/* 00FC */ std::vector<CParticle*> floors;
|
|
/* 0108 */ std::vector<CParticle*> particles;
|
|
};
|
|
|
|
#if defined(_WIN32) && !defined(_WIN64)
|
|
static_assert(offsetof(CMagicFloorEffect, lastPoints) == 0xCC);
|
|
static_assert(offsetof(CMagicFloorEffect, unknown_00E4) == 0xE4);
|
|
static_assert(offsetof(CMagicFloorEffect, floors) == 0xFC);
|
|
static_assert(offsetof(CMagicFloorEffect, particles) == 0x108);
|
|
static_assert(sizeof(CMagicFloorEffect) == 0x114);
|
|
#endif
|
|
|
|
#endif
|