Batch #10249 by ragnarok-clanker: forced by an admin (0 lower score(s), 4 changed function(s)); checked with 242 compiled unit(s), including every includer of Source/UI/Cooldowns/CooldownDrawing.h, Source/UI/Shortcuts/ShortcutCooldowns.h, Source/UI/Shortcuts/ShortcutPainting.h, Source/UI/Shortcuts/UIQuickSlotWnd.h, Source/UI/Shortcuts/UIShortCutWnd.h.
31 lines
934 B
C++
31 lines
934 B
C++
#ifndef RAGNAROK_SOURCE_UI_COOLDOWNS_COOLDOWNDRAWING_H
|
|
#define RAGNAROK_SOURCE_UI_COOLDOWNS_COOLDOWNDRAWING_H
|
|
|
|
#include "UI/Cooldowns/CooldownState.h"
|
|
|
|
#include <cstddef>
|
|
#include <vector>
|
|
|
|
struct RenderQueues;
|
|
|
|
struct CooldownDrawing {
|
|
/* 0004 */ std::vector<RenderCommand*> normal;
|
|
/* 0010 */ std::vector<RenderCommand*> reverse;
|
|
|
|
void Draw(
|
|
int centerX, int centerY, int radiusX, int radiusY, CooldownState& value, int limit, int offsetX, int offsetY
|
|
);
|
|
void SubmitNormal(RenderQueues& queues, bool depthAlpha, float depthStart, float depthEnd);
|
|
void SubmitReverse(RenderQueues& queues, bool depthAlpha, float depthStart, float depthEnd);
|
|
|
|
private:
|
|
void DrawReverse(CooldownState& value);
|
|
};
|
|
|
|
#if defined(_WIN32) && !defined(_WIN64)
|
|
static_assert(sizeof(CooldownDrawing) == 0x18);
|
|
static_assert(offsetof(CooldownDrawing, normal) == 0x00);
|
|
static_assert(offsetof(CooldownDrawing, reverse) == 0x0C);
|
|
#endif
|
|
|
|
#endif
|