Decompile fn_10102 (SpriteDrawingPolicy::ProjectCell)

Batch #1615 by eAthena: 0 byte-identical, 1 confirmed by peer review.

- fn_10102 SpriteDrawingPolicy::ProjectCell: logic confirmed by peer review

Reviewed-by: ragnarok-clanker
Adds to the build: Source/Render/SpriteGeometry.cpp
This commit is contained in:
ragnarok-clanker 2026-10-28 19:44:43 +00:00
commit 856429f9dc
4 changed files with 111 additions and 0 deletions

View file

@ -2,6 +2,11 @@
#define RAGNAROK_SOURCE_CONTENTS_ACTORS_SPRITEDRAWINGPOLICY_H
class LuaScript;
struct SpriteCellQuad;
struct SpriteColor;
struct SpriteFrameCell;
struct SpriteRleImage;
struct tagRECT;
struct SpriteDrawingPolicy {
LuaScript& script;
@ -15,6 +20,10 @@ struct SpriteDrawingPolicy {
bool DrawOnTop() const;
bool SetRobe(int robe);
bool ProjectCell(
int unused, int layer, float scale, const SpriteFrameCell& cell, float x, float y, const float* position, float shift, float& bottomDepth,
float& topDepth, const SpriteRleImage& image, SpriteCellQuad& quad, tagRECT& bounds, SpriteColor& color, int offsetX, int offsetY, int flags
) const;
};
#endif