Batch #1425 by ragnarok-clanker: 0 byte-identical, 8 confirmed by peer review. - fn_19772 EffectParticle::UpdateFireWall: logic confirmed by peer review - fn_19775 EffectParticle::UpdateStoneCurse: logic confirmed by peer review - fn_19776 EffectParticle::UpdateBeginSpell: logic confirmed by peer review - fn_19779 EffectParticle::UpdateHit6: logic confirmed by peer review - fn_19781 EffectParticle::UpdateDetoxication: logic confirmed by peer review - fn_19782 EffectParticle::UpdateExit: logic confirmed by peer review - fn_19764 EffectParticle::AdvanceFrame: logic confirmed by peer review - fn_19931 EffectParticle::UpdateRecords: logic confirmed by peer review Accepted without human review: peers confirmed the logic ("same" ahead by at least 3, with 70% of the votes).
40 lines
1 KiB
C++
40 lines
1 KiB
C++
#ifndef RAGNAROK_SOURCE_CONTENTS_EFFECTS_EFFECTPARTICLE_H
|
|
#define RAGNAROK_SOURCE_CONTENTS_EFFECTS_EFFECTPARTICLE_H
|
|
|
|
#include "Contents/Effects/EffectPrimitiveState.h"
|
|
#include "Contents/Actors/RenderObject.h"
|
|
|
|
#include <list>
|
|
|
|
struct JobNames;
|
|
class ResourceMgr;
|
|
struct RagEffectState;
|
|
|
|
struct EffectParticle : CRenderObject {
|
|
EffectParticle(ResourceMgr& resources, JobNames& names);
|
|
|
|
bool UpdateFireWall();
|
|
bool UpdateStoneCurse();
|
|
void UpdateBeginSpell();
|
|
bool UpdateHit6();
|
|
bool UpdateDetoxication();
|
|
bool UpdateExit();
|
|
bool UpdateWarp();
|
|
|
|
bool AdvanceFrame();
|
|
void UpdateRecords();
|
|
|
|
/* 0138 */ EffectPrimitiveState state;
|
|
};
|
|
|
|
EffectParticle* CreateEffectParticle(
|
|
RagEffectState& parent, const RenderObjectState& parentRender, int type, float x, float y, float z, ResourceMgr& resources, JobNames& names,
|
|
std::list<CRenderObject*>& worldObjects
|
|
);
|
|
|
|
#if defined(_WIN32) && !defined(_WIN64)
|
|
static_assert(sizeof(EffectParticle) == 0xFA18);
|
|
static_assert(offsetof(EffectParticle, state) == 0x138);
|
|
#endif
|
|
|
|
#endif
|