rodecomp/Source/Render/ScreenGeometry.h
ragnarok-clanker c2ee6a5488 Decompile fn_12581 (DrawScreenQuad)
Batch #16473 by eAthena: 0 byte-identical, 1 confirmed by peer review.

- fn_12581 DrawScreenQuad: logic confirmed by peer review

Peer-reviewed-by: Yommy, KWDev, dori
Accepted without human review: peers confirmed the logic ("same" ahead by at least 3, with 70% of the votes).
2026-11-10 20:01:01 +00:00

21 lines
678 B
C++

#ifndef RAGNAROK_SOURCE_RENDER_SCREENGEOMETRY_H
#define RAGNAROK_SOURCE_RENDER_SCREENGEOMETRY_H
#include <cstdint>
class CTexture;
class RenderPrimitivePool;
struct RenderQueues;
struct ScreenPoint {
/* 0000 */ float x;
/* 0004 */ float y;
};
__declspec(noinline) void DrawScreenQuad(
float x0, float y0, float x1, float y1, float x2, float y2, float x3, float y3, CTexture* texture, std::uint32_t color
);
void DrawScreenLine(float startX, float startY, float endX, float endY, int thickness, CTexture* texture, std::uint32_t color);
void DrawScreenQuad(ScreenPoint p0, ScreenPoint p1, ScreenPoint p2, ScreenPoint p3, CTexture* texture, std::uint32_t color);
#endif