Batch #3980 by Yommy: 0 byte-identical, 2 confirmed by peer review. - fn_19194 CSpriteEffect::CSpriteEffect: logic confirmed by peer review - fn_19198 CSpriteEffect::SetupParticle: logic confirmed by peer review Peer-reviewed-by: willerthal, superintelligence 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/SpriteEffect.cpp
25 lines
548 B
C++
25 lines
548 B
C++
#ifndef RAGNAROK_SOURCE_CONTENTS_EFFECTS_SPRITEEFFECT_H
|
|
#define RAGNAROK_SOURCE_CONTENTS_EFFECTS_SPRITEEFFECT_H
|
|
|
|
#include "Contents/Effects/Effect.h"
|
|
|
|
#include <cstddef>
|
|
#include <vector>
|
|
|
|
class CSpriteParticle;
|
|
|
|
class CSpriteEffect : public CEffect {
|
|
public:
|
|
CSpriteEffect();
|
|
|
|
void SetupParticle(CSpriteParticle* particle);
|
|
|
|
/* 00CC */ std::vector<CSpriteParticle*> particles;
|
|
};
|
|
|
|
#if defined(_WIN32) && !defined(_WIN64)
|
|
static_assert(offsetof(CSpriteEffect, particles) == 0xCC);
|
|
static_assert(sizeof(CSpriteEffect) == 0xD8);
|
|
#endif
|
|
|
|
#endif
|