Batch #18241 by ragnarok-clanker: forced by an admin (2 lower score(s), 17 changed function(s)); checked with 378 compiled unit(s), including every includer of Source/Client/Session/Session.h, Source/Contents/Effects/Particles/EZ2STREffectEx.h, Source/Render/DX7/RendererDX7.h, Source/Render/DX9/RendererDX9.h, Source/Render/Renderer.h.
47 lines
1.4 KiB
C++
47 lines
1.4 KiB
C++
#ifndef RAGNAROK_SOURCE_CONTENTS_EFFECTS_PARTICLES_EZ2STREFFECTEX_H
|
|
#define RAGNAROK_SOURCE_CONTENTS_EFFECTS_PARTICLES_EZ2STREFFECTEX_H
|
|
|
|
#include "Contents/Effects/Core/Effect.h"
|
|
|
|
#include <cstddef>
|
|
|
|
struct EZ2STREmitter;
|
|
|
|
class CEZ2STREffectEx : public CEffect {
|
|
public:
|
|
CEZ2STREffectEx();
|
|
void Open() override;
|
|
void OnProcess() override;
|
|
void Render() override;
|
|
void Close() override;
|
|
bool IsAlive() override;
|
|
void SetLifeTime(int argument) override;
|
|
void SetDelay(int argument) override;
|
|
void SetAngle(float argument) override;
|
|
void SetPitch(float argument) override;
|
|
void SetYaw(float argument) override;
|
|
void SetScale(float argument) override;
|
|
void SetAlpha(float argument) override;
|
|
void SetFlipX(int argument) override;
|
|
void SetFlipY(int argument) override;
|
|
void EnableTimeLimit() override;
|
|
void EnableGroundRender() override;
|
|
|
|
unsigned char IsFinished();
|
|
void EndLoop(unsigned char fadeOut);
|
|
|
|
/* 00CC */ EZ2STREmitter* emitter;
|
|
/* 00D0 */ unsigned char timed;
|
|
/* 00D1 */ unsigned char padding_00D1[3];
|
|
/* 00D4 */ int frameStep;
|
|
/* 00D8 */ unsigned char alternateRender;
|
|
};
|
|
|
|
float ScreenAngle(const float* from, const float* to, const float* matrix);
|
|
|
|
#if defined(_WIN32) && !defined(_WIN64)
|
|
static_assert(offsetof(CEZ2STREffectEx, emitter) == 0xCC);
|
|
static_assert(offsetof(CEZ2STREffectEx, alternateRender) == 0xD8);
|
|
#endif
|
|
|
|
#endif
|