rodecomp/Source/Render/ScreenRectangle.h
ragnarok-clanker 0e99481335 Decompile 6 functions in Source/Client/ModeFade.cpp, Source/Client/ModeFadeOut.cpp, ...
Batch #13893 by eAthena: 4 byte-identical, 2 confirmed by peer review.

- fn_09334 UIBroadcastBalloon::Slot43: byte-identical
- fn_12091 UIWhisperWnd::Slot43: byte-identical
- fn_12591 UIRoMapWnd::DrawRecordAreas: byte-identical
- fn_12592 UINewChatWnd::Slot43: logic confirmed by peer review
- fn_12593 UISubChatHisWnd::Slot43: byte-identical
- fn_12604 UIRoMapWnd::DrawRecordFaces: logic confirmed by peer review

Accepted without human review: peers confirmed the logic ("same" ahead by at least 3, with 70% of the votes).
2026-11-06 23:24:54 +00:00

21 lines
735 B
C++

#ifndef RAGNAROK_SOURCE_RENDER_SCREENRECTANGLE_H
#define RAGNAROK_SOURCE_RENDER_SCREENRECTANGLE_H
#include <cstdint>
class CTexture;
class RenderPrimitivePool;
class TextureCache;
struct RenderQueues;
void DrawBlendedRectangle(
RenderPrimitivePool& primitives, RenderQueues& queues, int x, int y, int width, int height, std::uint32_t color, bool depthAlpha,
float depthStart, float depthEnd
);
void DrawTexturedRectangle(int x, int y, int width, int height, std::uint32_t color, CTexture* texture);
void DrawTextureRegion(
RenderPrimitivePool& primitives, RenderQueues& queues, float x, float y, float width, float height, std::uint32_t color,
CTexture* texture, bool depthAlpha, float depthStart, float depthEnd
);
#endif