Batch #4168 by zindokar: 1 byte-identical, 8 confirmed by peer review. - fn_06872 CCaneOfEvilEyeEffect::CreateEye: logic confirmed by peer review - fn_06873 CCaneOfEvilEyeEffect::CreateLight: logic confirmed by peer review - fn_06874 CCaneOfEvilEyeEffect::SpawnLights: logic confirmed by peer review - fn_06875 CCaneOfEvilEyeEffect::Close: byte-identical - fn_06877 CCaneOfEvilEyeEffect::Finish: logic confirmed by peer review - fn_06878 CCaneOfEvilEyeEffect::Slot01: logic confirmed by peer review - fn_06880 CCaneOfEvilEyeEffect::UpdateEyes: logic confirmed by peer review - fn_06881 CCaneOfEvilEyeEffect::Slot03: logic confirmed by peer review - fn_45459 CCaneOfEvilEyeEffect::UpdateLights: logic confirmed by peer review Peer-reviewed-by: youko, tayoba Accepted without human review: peers confirmed the logic ("same" ahead by at least 3, with 70% of the votes).
40 lines
1.1 KiB
C++
40 lines
1.1 KiB
C++
#ifndef RAGNAROK_SOURCE_CONTENTS_EFFECTS_CANEOFEVILEYEEFFECT_H
|
|
#define RAGNAROK_SOURCE_CONTENTS_EFFECTS_CANEOFEVILEYEEFFECT_H
|
|
|
|
#include "Contents/Effects/Effect.h"
|
|
#include "Contents/Effects/Particle.h"
|
|
|
|
#include <cstddef>
|
|
#include <cstdint>
|
|
#include <vector>
|
|
|
|
class CCaneOfEvilEyeEffect : public CEffect {
|
|
public:
|
|
CCaneOfEvilEyeEffect();
|
|
|
|
void Slot01() override;
|
|
void Slot03() override;
|
|
void Slot04() override;
|
|
void Close() override;
|
|
bool Slot06() override;
|
|
|
|
CEZ2STRParticle* CreateEye(int type, const float* position);
|
|
CEZ2STRParticle* CreateLight(int type, const float* position);
|
|
void SpawnLights();
|
|
void RemoveNullEmitters();
|
|
void Finish();
|
|
void UpdateEyes();
|
|
void UpdateLights();
|
|
|
|
/* 00CC */ std::uint32_t startTime;
|
|
/* 00D0 */ std::vector<CEZ2STRParticle*> unknown_00D0;
|
|
/* 00DC */ std::vector<CEZ2STRParticle*> unknown_00DC;
|
|
};
|
|
|
|
#if defined(_WIN32) && !defined(_WIN64)
|
|
static_assert(sizeof(CCaneOfEvilEyeEffect) == 0xE8);
|
|
static_assert(offsetof(CCaneOfEvilEyeEffect, unknown_00D0) == 0xD0);
|
|
static_assert(offsetof(CCaneOfEvilEyeEffect, unknown_00DC) == 0xDC);
|
|
#endif
|
|
|
|
#endif
|