rodecomp/Source/Render/Projection/ScreenGeometry.h
ragnarok-clanker 0dc31695e5 Decompile 3 functions in Source/Render/Projection/ScreenGeometry.h, Source/Render/Projection/ScreenGeometry.cpp, ...
Batch #17820 by eAthena: 0 byte-identical, 3 confirmed by peer review.

- fn_12602 UIRoMapWnd::DrawDungeonLinks: logic confirmed by peer review
- fn_12603 UIRoMapWnd::DrawMarks: logic confirmed by peer review
- fn_12657 CFlyingShipRouteInfo::Draw: logic confirmed by peer review

Peer-reviewed-by: alisonrag, cremane, bibinir
Accepted without human review: peers confirmed the logic ("same" ahead by at least 3, with 70% of the votes).
2026-11-12 04:04:48 +00:00

21 lines
684 B
C++

#ifndef RAGNAROK_SOURCE_RENDER_PROJECTION_SCREENGEOMETRY_H
#define RAGNAROK_SOURCE_RENDER_PROJECTION_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(ScreenPoint start, ScreenPoint end, 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