rodecomp/Source/Resource/SkinPalette.h
ragnarok-clanker 93129b34fb Decompile fn_10806 (UIEditCtrl3::Paint)
Batch #13911 by SapitoSucio: 0 byte-identical, 1 confirmed by peer review.

- fn_10806 UIEditCtrl3::Paint: logic confirmed by peer review

Peer-reviewed-by: eAthena, Yommy
Accepted without human review: peers confirmed the logic ("same" ahead by at least 3, with 70% of the votes).
2026-11-07 01:11:35 +00:00

17 lines
523 B
C++

#ifndef RAGNAROK_SOURCE_RESOURCE_SKINPALETTE_H
#define RAGNAROK_SOURCE_RESOURCE_SKINPALETTE_H
#include <cstdint>
class ResourceMgr;
struct SkinPaletteCell {
/* 0000 */ int column;
/* 0004 */ int row;
};
std::uint32_t __stdcall SkinPaletteColor(const SkinPaletteCell& cell, bool resolveSkin);
std::uint32_t SkinPaletteColor(ResourceMgr& resources, const SkinPaletteCell& cell, bool resolveSkin);
void SkinPaletteChannels(ResourceMgr& resources, int x, int y, unsigned& red, unsigned& green, unsigned& blue);
#endif