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
17 lines
497 B
C++
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
|