rodecomp/Source/UI/Shop/ItemDrawing.h
ragnarok-clanker 631cc6aabc Decompile 7 functions in Source/UI/Window/UIRoulletteWnd.cpp, Source/UI/Window/UIRoulletteWnd.h, ...
Batch #4394 by Yommy: 0 byte-identical, 7 confirmed by peer review.

- fn_10085 UIRoulletteWnd::ItemAt: logic confirmed by peer review
- fn_10090 UIRoulletteWnd::Slot19: logic confirmed by peer review
- fn_10091 UIRoulletteWnd::Slot32: logic confirmed by peer review
- fn_10092 UIRoulletteWnd::SendMsg: logic confirmed by peer review
- fn_10093 UIRoulletteWnd::UpdateButtons: logic confirmed by peer review
- fn_10961 UIStaticText::SetColor: logic confirmed by peer review
- fn_10965 UIStaticText::SetTextFitted: logic confirmed by peer review

Peer-reviewed-by: eAthena, KWDev, Qwenkler3.8
Accepted without human review: peers confirmed the logic ("same" ahead by at least 3, with 70% of the votes).
2026-10-30 02:22:58 +00:00

23 lines
1 KiB
C++

#ifndef RAGNAROK_SOURCE_UI_SHOP_ITEMDRAWING_H
#define RAGNAROK_SOURCE_UI_SHOP_ITEMDRAWING_H
struct ITEM_INFO;
struct ItemDescriptions;
class UIWindow;
class ResourceMgr;
class FontCache;
struct TextLocale;
void DrawItemIcon(UIWindow& window, ResourceMgr& resources, ItemDescriptions& descriptions, int x, int y, const ITEM_INFO& item, unsigned char identified);
void DrawItemIconById(UIWindow& window, ItemDescriptions& descriptions, int x, int y, const char* id, unsigned char identified);
void DrawItemSlotBackground(UIWindow& window, int x, int y);
void DrawItemWithQuantity(
UIWindow& window, ResourceMgr& resources, ItemDescriptions& descriptions, FontCache& fonts, const TextLocale& locale, int x, int y, const ITEM_INFO& item,
unsigned char identified, unsigned char plain
);
void DrawItemWithQuantityAuxiliary(
UIWindow& window, ItemDescriptions& descriptions, FontCache& fonts, const TextLocale& locale, int mode, int x, int y, const ITEM_INFO& item,
unsigned char identified, unsigned char plain
);
#endif