rodecomp/Source/Contents/Actors/SpriteDrawingPolicy.h
ragnarok-clanker 856429f9dc 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
2026-10-28 19:44:43 +00:00

29 lines
866 B
C++

#ifndef RAGNAROK_SOURCE_CONTENTS_ACTORS_SPRITEDRAWINGPOLICY_H
#define RAGNAROK_SOURCE_CONTENTS_ACTORS_SPRITEDRAWINGPOLICY_H
class LuaScript;
struct SpriteCellQuad;
struct SpriteColor;
struct SpriteFrameCell;
struct SpriteRleImage;
struct tagRECT;
struct SpriteDrawingPolicy {
LuaScript& script;
const unsigned char& newDrawOnTop;
int& argument00BC;
const int& argument0018;
const int& argument0010;
const int& argument0040;
const int& argument0044;
bool& helmRobe;
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