rodecomp/Source/Render/ScreenGeometry.h
ragnarok-clanker f969080111 Decompile 4 functions in Source/Render/ScreenGeometry.cpp, Source/Render/ScreenGeometry.h, ...
Batch #5656 by Yommy: 0 byte-identical, 4 confirmed by peer review.

- fn_12581 DrawScreenQuad: logic confirmed by peer review
- fn_12584 UINewChatWnd::RefreshTabs: logic confirmed by peer review
- fn_12585 UIHotKeyWnd::SetHotkey: logic confirmed by peer review
- fn_12588 UIQuickSlotWnd::Slot10: logic confirmed by peer review

Peer-reviewed-by: willerthal, Snow, zindokar, Romain
Accepted without human review: peers confirmed the logic ("same" ahead by at least 3, with 70% of the votes).
2026-10-30 15:24:28 +00:00

20 lines
824 B
C++

#ifndef RAGNAROK_SOURCE_RENDER_SCREENGEOMETRY_H
#define RAGNAROK_SOURCE_RENDER_SCREENGEOMETRY_H
#include <cstdint>
class CTexture;
class RenderPrimitivePool;
struct RenderQueues;
void DrawScreenQuad(
RenderPrimitivePool& primitives, RenderQueues& queues, float x0, float y0, float x1, float y1, float x2, float y2, float x3, float y3, CTexture* texture,
std::uint32_t color, bool depthAlpha, float depthStart, float depthEnd
);
void DrawScreenLine(
RenderPrimitivePool& primitives, RenderQueues& queues, float startX, float startY, float endX, float endY, int thickness, CTexture* texture,
std::uint32_t color, bool depthAlpha, float depthStart, float depthEnd
);
void DrawScreenQuad(float x0, float y0, float x1, float y1, float x2, float y2, float x3, float y3, CTexture* texture, std::uint32_t color);
#endif