Batch #4035 by kyoshi: 2 byte-identical, 2 confirmed by peer review. - fn_06962 CEZ2STREffectEx::CEZ2STREffectEx: logic confirmed by peer review - fn_06964 CEZ2STREffectEx::Close: byte-identical - fn_06965 CEZ2STREffectEx::Slot31: byte-identical - fn_06966 ScreenAngle: 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). Adds to the build: Source/Contents/Effects/EZ2STREffectEx.cpp
29 lines
718 B
C++
29 lines
718 B
C++
#ifndef RAGNAROK_SOURCE_CONTENTS_EFFECTS_EZ2STREFFECTEX_H
|
|
#define RAGNAROK_SOURCE_CONTENTS_EFFECTS_EZ2STREFFECTEX_H
|
|
|
|
#include "Contents/Effects/Effect.h"
|
|
|
|
#include <cstddef>
|
|
|
|
class CParticle;
|
|
|
|
class CEZ2STREffectEx : public CEffect {
|
|
public:
|
|
CEZ2STREffectEx();
|
|
void Close() override;
|
|
void Slot31() override;
|
|
|
|
/* 00CC */ CParticle* particle;
|
|
/* 00D0 */ unsigned char finished;
|
|
/* 00D4 */ int unknown_00D4;
|
|
/* 00D8 */ unsigned char unknown_00D8;
|
|
};
|
|
|
|
float ScreenAngle(const float* from, const float* to, const float* matrix);
|
|
|
|
#if defined(_WIN32) && !defined(_WIN64)
|
|
static_assert(offsetof(CEZ2STREffectEx, particle) == 0xCC);
|
|
static_assert(offsetof(CEZ2STREffectEx, unknown_00D8) == 0xD8);
|
|
#endif
|
|
|
|
#endif
|