rodecomp/Source/Render/ScreenRectangle.h
ragnarok-clanker 471f0c1fe2 Decompile fn_02115 (CRendererDX7::SetCamera)
Batch #1430 by Yommy: 1 byte-identical, 0 confirmed by peer review.

- fn_02115 CRendererDX7::SetCamera: byte-identical

Merged automatically: every function is byte-identical to the original.
Adds to the build: Source/Render/RendererDX7.cpp, Source/Render/ScreenRectangle.cpp, Source/Render/ScreenGeometry.cpp, Source/Render/TextureQuad.cpp, Source/Render/UIRPDataDrawing.cpp
2026-10-28 12:45:51 +00:00

24 lines
919 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, TextureCache& textures, RenderQueues& queues, int x, int y, int width, int height, std::uint32_t color, bool depthAlpha,
float depthStart, float depthEnd
);
void DrawTexturedRectangle(
RenderPrimitivePool& primitives, TextureCache& textures, RenderQueues& queues, int x, int y, int width, int height, std::uint32_t color, CTexture* texture,
bool depthAlpha, float depthStart, float depthEnd
);
void DrawTextureRegion(
RenderPrimitivePool& primitives, TextureCache& textures, RenderQueues& queues, float x, float y, float width, float height, std::uint32_t color,
CTexture* texture, bool depthAlpha, float depthStart, float depthEnd
);
#endif