Batch #4501 by eAthena: 1 byte-identical, 4 confirmed by peer review. - fn_07035 CHitLineEffect::Close: logic confirmed by peer review - fn_07036 CHitLineEffect::Slot01: logic confirmed by peer review - fn_07037 CHitLineEffect::Slot06: byte-identical - fn_07038 CHitLineEffect::Slot03: logic confirmed by peer review - fn_07039 CHitLineEffect::Slot04: logic confirmed by peer review Peer-reviewed-by: willerthal, youko, KWDev 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/HitLineEffect.cpp
30 lines
730 B
C++
30 lines
730 B
C++
#ifndef RAGNAROK_SOURCE_CONTENTS_EFFECTS_HITLINEEFFECT_H
|
|
#define RAGNAROK_SOURCE_CONTENTS_EFFECTS_HITLINEEFFECT_H
|
|
|
|
#include "Contents/Effects/Effect.h"
|
|
#include "Utility/Math/Vector3d.h"
|
|
|
|
#include <cstddef>
|
|
#include <vector>
|
|
|
|
class CParticle;
|
|
|
|
class CHitLineEffect : public CEffect {
|
|
public:
|
|
void Slot01() override;
|
|
void Slot03() override;
|
|
void Slot04() override;
|
|
void Close() override;
|
|
bool Slot06() override;
|
|
|
|
/* 00CC */ std::vector<CParticle*> particles;
|
|
/* 00D8 */ vector3d previous[2];
|
|
};
|
|
|
|
#if defined(_WIN32) && !defined(_WIN64)
|
|
static_assert(offsetof(CHitLineEffect, particles) == 0xCC);
|
|
static_assert(offsetof(CHitLineEffect, previous) == 0xD8);
|
|
static_assert(sizeof(CHitLineEffect) == 0xF0);
|
|
#endif
|
|
|
|
#endif
|