rodecomp/Source/Render/Primitives/UIRPData.h
ragnarok-clanker dc85d4ffa0 Decompile fn_02236 (CRendererDX9::SaveScreenshot)
Batch #14207 by eAthena: 0 byte-identical, 1 confirmed by peer review.

- fn_02236 CRendererDX9::SaveScreenshot: logic confirmed by peer review

Peer-reviewed-by: Yommy, secret, StrawberrysherbetIX
Accepted without human review: peers confirmed the logic ("same" ahead by at least 3, with 70% of the votes).
2026-11-07 06:16:13 +00:00

31 lines
956 B
C++

#ifndef RAGNAROK_SOURCE_RENDER_PRIMITIVES_UIRPDATA_H
#define RAGNAROK_SOURCE_RENDER_PRIMITIVES_UIRPDATA_H
#include "Render/Primitives/RenderPrimitive.h"
#include <list>
#include <string>
class CTexture;
class RenderPrimitivePool;
class TextureCache;
class UIRPData {
public:
UIRPData();
virtual ~UIRPData();
void Draw(int x, int y, CTexture* texture, std::uint32_t color, int width, int height, bool stretched);
void DrawStretched(RenderPrimitivePool& pool, int x, int y, CTexture* texture, std::uint32_t color, int width, int height);
void DrawNamed(RenderPrimitivePool& pool, int x, int y, std::string name, std::uint32_t color, int width, int height);
void SetSolid(RenderPrimitivePool& pool, int width, int height, std::uint32_t color);
protected:
/* 0004 */ std::list<RenderPrimitive*> m_primitives;
/* 000C */ CTexture* m_texture;
};
#if defined(_WIN32) && !defined(_WIN64)
static_assert(sizeof(UIRPData) == 16);
#endif
#endif