rodecomp/Source/Contents/Effects/WindEffect.h
ragnarok-clanker ee27db4348 Decompile 2 functions in Source/Contents/Effects/WindEffect.cpp, Source/Contents/Effects/WindEffect.h, ...
Batch #3827 by sherollyner: 0 byte-identical, 2 confirmed by peer review.

- fn_07537 CWindEffect::CWindEffect: logic confirmed by peer review
- fn_07544 CWindEffect::Slot03: logic confirmed by peer review

Peer-reviewed-by: Yommy, youko
Accepted without human review: peers confirmed the logic ("same" ahead by at least 3, with 70% of the votes).
2026-10-29 23:41:39 +00:00

50 lines
1.5 KiB
C++

#ifndef RAGNAROK_SOURCE_CONTENTS_EFFECTS_WINDEFFECT_H
#define RAGNAROK_SOURCE_CONTENTS_EFFECTS_WINDEFFECT_H
#include "Contents/Effects/Effect.h"
#include "Utility/Math/Vector3d.h"
#include <cstddef>
#include <string>
#include <vector>
class CParticle;
class CWindEffect : public CEffect {
public:
CWindEffect();
void Slot03() override;
void Slot04() override;
bool Slot06() override;
/* 00CC */ unsigned char unknown_00CC = 4;
/* 00CD */ unsigned char unknown_00CD = 0;
/* 00CE */ unsigned char maxAlpha = 200;
/* 00CF */ unsigned char unknown_00CF = 255;
/* 00D0 */ unsigned char unknown_00D0 = 100;
/* 00D1 */ unsigned char unknown_00D1 = 100;
/* 00D4 */ float unknown_00D4 = 12.0f;
/* 00D8 */ float width = 0.5f;
/* 00DC */ float unknown_00DC = 50.0f;
/* 00E0 */ float unknown_00E0 = 5.0f;
/* 00E4 */ short unknown_00E4 = 200;
/* 00E8 */ vector3d rotation = {};
/* 00F4 */ int unknown_00F4 = 5;
/* 00F8 */ int unknown_00F8 = 7;
/* 00FC */ std::string textureName = "effect\\cloud11.tga";
/* 0114 */ vector3d lastBottom = {};
/* 0120 */ vector3d lastTop = {};
/* 012C */ std::vector<CParticle*> particles;
};
#if defined(_WIN32) && !defined(_WIN64)
static_assert(sizeof(CWindEffect) == 0x138);
static_assert(offsetof(CWindEffect, maxAlpha) == 0xCE);
static_assert(offsetof(CWindEffect, unknown_00D4) == 0xD4);
static_assert(offsetof(CWindEffect, rotation) == 0xE8);
static_assert(offsetof(CWindEffect, textureName) == 0xFC);
static_assert(offsetof(CWindEffect, particles) == 0x12C);
#endif
#endif