rodecomp/Source/Contents/Effects/EffectPrimitiveMotion.h
ragnarok-clanker c6cc9dc69e Decompile 6 functions in Source/Contents/Effects/EffectPrimitiveState.cpp, Source/Contents/Effects/EffectPrimitiveState.h, ...
Batch #1199 by eAthena: 0 byte-identical, 6 confirmed by peer review.

- fn_19765 EffectPrimitiveState::GetColorOverride: logic confirmed by peer review
- fn_19773 ShrinkEffectPrimitiveSlots: logic confirmed by peer review
- fn_19774 PulseEffectPrimitiveSlots: logic confirmed by peer review
- fn_19777 SpinEffectPrimitive: logic confirmed by peer review
- fn_19778 RollEffectPrimitive: logic confirmed by peer review
- fn_19784 AdvanceEffectPrimitive: logic confirmed by peer review

Reviewed-by: ragnarok-clanker
2026-10-27 21:09:20 +00:00

24 lines
1.2 KiB
C

#ifndef RAGNAROK_SOURCE_CONTENTS_EFFECTS_EFFECTPRIMITIVEMOTION_H
#define RAGNAROK_SOURCE_CONTENTS_EFFECTS_EFFECTPRIMITIVEMOTION_H
#include "Contents/Ground/TerrainHeight.h"
struct EffectPrimitiveState;
struct RenderObjectState;
struct EffectMotionContext {
const RenderObjectState& parentRender;
const float& cameraPitch;
const float& cameraYaw;
const TerrainHeight& ground;
};
bool MoveEffectPrimitive(EffectPrimitiveState& particle, RenderObjectState& render, EffectMotionContext& context);
bool ShrinkEffectPrimitiveSlots(EffectPrimitiveState& particle, RenderObjectState& render, EffectMotionContext& context);
bool PulseEffectPrimitiveSlots(EffectPrimitiveState& particle, RenderObjectState& render, EffectMotionContext& context);
bool SpinEffectPrimitive(EffectPrimitiveState& particle, RenderObjectState& render, EffectMotionContext& context);
bool RollEffectPrimitive(EffectPrimitiveState& particle, RenderObjectState& render, EffectMotionContext& context);
void AdvanceEffectPrimitive(EffectPrimitiveState& particle, RenderObjectState& render, EffectMotionContext& context);
bool UpdateEffectPrimitive15(EffectPrimitiveState& particle, RenderObjectState& render, EffectMotionContext& context, int updateTick);
#endif