rodecomp/Source/Resource/SkinPalette.h
ragnarok-clanker d22c6b96a6 Decompile 5 functions in Source/Resource/Bitmap/BitmapImage.cpp, Source/Resource/Bitmap/BitmapImage.h, ...
Batch #1026 by ragnarok-clanker: 0 byte-identical, 5 confirmed by peer review.

- fn_07866 BitmapImage::CreateAuxiliary: logic confirmed by peer review
- fn_07867 BitmapImage::Pixel: logic confirmed by peer review
- fn_07874 BitmapImage::ClearAuxiliary: logic confirmed by peer review
- fn_09684 SkinPaletteColor: logic confirmed by peer review
- fn_09685 SkinPaletteChannels: logic confirmed by peer review

Reviewed-by: ragnarok-clanker
Adds to the build: Source/Resource/SkinPalette.cpp
2026-10-27 10:04:56 +00:00

17 lines
497 B
C++

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