rodecomp/Source/Contents/Effects/CloudEffect.h
ragnarok-clanker e9e79f5a7f Decompile 3 functions in Source/Contents/Effects/CloudEffect.cpp, Source/Contents/Effects/CloudEffect.h
Batch #3995 by kyoshi: 3 byte-identical, 0 confirmed by peer review.

- fn_06916 CCloud::Close: byte-identical
- fn_06919 CCloud::Slot06: byte-identical
- fn_06921 CCloud::Slot04: byte-identical

Merged automatically: every function is byte-identical to the original.
Adds to the build: Source/Contents/Effects/CloudEffect.cpp
2026-10-30 00:26:08 +00:00

55 lines
1.4 KiB
C++

#ifndef RAGNAROK_SOURCE_CONTENTS_EFFECTS_CLOUDEFFECT_H
#define RAGNAROK_SOURCE_CONTENTS_EFFECTS_CLOUDEFFECT_H
#include "Contents/Effects/Effect.h"
#include <cstddef>
class CParticle;
class CCloud : public CEffect {
public:
CCloud();
void Slot01() override;
void Slot03() override;
void Slot04() override;
void Close() override;
bool Slot06() override;
void Slot07() override;
void Drift();
/* 00CC */ CParticle* particle;
/* 00D0 */ int driftX;
/* 00D4 */ int driftTargetX;
/* 00D8 */ int driftZ;
/* 00DC */ int driftTargetZ;
/* 00E0 */ int phase;
/* 00E4 */ float baseScale;
/* 00E8 */ float alpha;
/* 00EC */ int fadeInEnd;
/* 00F0 */ int fadeOutStart;
/* 00F4 */ unsigned char red;
/* 00F5 */ unsigned char green;
/* 00F6 */ unsigned char blue;
/* 00F8 */ float scaleBase;
/* 00FC */ float scaleRange;
/* 0100 */ float scaleAmplitude;
/* 0104 */ float fadeInStep;
/* 0108 */ float fadeOutStep;
/* 010C */ int fadeInBase;
/* 0110 */ int fadeInRange;
/* 0114 */ int fadeOutBase;
/* 0118 */ int fadeOutRange;
/* 011C */ float offsetRangeY;
/* 0120 */ float offsetRangeX;
/* 0124 */ float offsetRangeZ;
/* 0128 */ unsigned char renderFlag;
};
#if defined(_WIN32) && !defined(_WIN64)
static_assert(offsetof(CCloud, particle) == 0xCC);
static_assert(offsetof(CCloud, red) == 0xF4);
static_assert(offsetof(CCloud, renderFlag) == 0x128);
#endif
#endif