rodecomp/Source/Contents/Effects/SpriteParticle.h
ragnarok-clanker 3f8411389e Maintenance: Rename placeholder sub_XXXXXX functions to evidence-based names (Lua registration strings, log/error strings, packet ids
Batch #13406 by ragnarok-clanker: no function's compiled code changes; checked with 124 compiled unit(s), including every includer of Source/Contents/Effects/RagEffect.h, Source/Contents/Effects/PowderingEffect.h, Source/Contents/Effects/SpriteParticle.h, Source/UI/Enchant/EnchantUI.h, Source/UI/Guild/UIAgitWnd.h, Source/UI/Window/UINewSelectCharWnd.h, Source/Contents/Actors/Skill.h, Source/UI/UIChangeMaterialWnd.h, Source/UI/Window/UINewMakeCharWnd.h, Source/Contents/Effects/HealEffect.h, Source/Contents/AchievementMgr.h, Source/UI/Window/UISecondCostumeWnd.h, Source/Contents/Effects/LightSphereEffect.h, Source/Contents/Effects/BlastForge.h, Source/Security/NProtectGameGuardMgr.h, Source/Contents/Effects/MapChainEffect.h, Source/Utility/Math/Int64Math.h.
2026-11-06 16:08:47 +00:00

44 lines
1.2 KiB
C++

#ifndef RAGNAROK_SOURCE_CONTENTS_EFFECTS_SPRITEPARTICLE_H
#define RAGNAROK_SOURCE_CONTENTS_EFFECTS_SPRITEPARTICLE_H
#include "Contents/Effects/Particle.h"
#include <cstddef>
class CActRes;
class CSprRes;
class CSpriteParticle : public CParticle {
public:
CSpriteParticle(vector3d position, int flags);
void Reset();
void UpdateFrame();
void SetAction(const char* name);
void SetSprite(const char* name);
void Draw(char mode);
/* 02BC */ unsigned char unknown_02BC;
/* 02BD */ unsigned char unknown_02BD;
/* 02BE */ unsigned char unknown_02BE[2];
/* 02C0 */ float unknown_02C0;
/* 02C4 */ float unknown_02C4;
/* 02C8 */ vector3d velocity;
/* 02D4 */ int unknown_02D4;
/* 02D8 */ float frameDelay;
/* 02DC */ unsigned char unknown_02DC[4];
/* 02E0 */ CSprRes* sprite;
/* 02E4 */ CActRes* action;
/* 02E8 */ int animation;
/* 02EC */ int frame;
/* 02F0 */ int loopMode;
/* 02F4 */ int unknown_02F4;
};
#if defined(_WIN32) && !defined(_WIN64)
static_assert(offsetof(CSpriteParticle, velocity) == 0x2C8);
static_assert(offsetof(CSpriteParticle, frameDelay) == 0x2D8);
static_assert(offsetof(CSpriteParticle, loopMode) == 0x2F0);
static_assert(sizeof(CSpriteParticle) == 0x2F8);
#endif
#endif