rodecomp/Source/Contents/SignBoard/SignBoard.h
ragnarok-clanker 350d5970df Decompile 4 functions in Source/Contents/SignBoard/SignBoard.cpp, Source/Contents/SignBoard/SignBoard.h
Batch #3652 by eAthena: 1 byte-identical, 3 confirmed by peer review.

- fn_10263 CBmpObjWnd::Slot15: byte-identical
- fn_10265 CBmpObjWnd::Paint: logic confirmed by peer review
- fn_10266 CSignBoardWnd::Paint: logic confirmed by peer review
- fn_10269 C3DCooRendering::OnProcess: logic confirmed by peer review

Peer-reviewed-by: Yommy, meitogi, superintelligence
Accepted without human review: peers confirmed the logic ("same" ahead by at least 3, with 70% of the votes).
Adds to the build: Source/Contents/SignBoard/SignBoard.cpp
2026-10-29 22:54:25 +00:00

57 lines
1.5 KiB
C++

#ifndef RAGNAROK_SOURCE_CONTENTS_SIGNBOARD_SIGNBOARD_H
#define RAGNAROK_SOURCE_CONTENTS_SIGNBOARD_SIGNBOARD_H
#include "Contents/Actors/RenderObject.h"
#include "UI/Window/UIWindow.h"
#include <cstddef>
#include <string>
class CBmpObjWnd : public UIWindow {
public:
~CBmpObjWnd() override;
void Slot15(int width, int height) override;
void Paint() override;
/* 007C */ std::string path;
};
class CSignBoardWnd : public UIWindow {
public:
~CSignBoardWnd() override;
void Paint() override;
/* 007C */ int unknown_007C;
/* 0080 */ std::string unknown_0080;
/* 0098 */ std::string iconPath;
/* 00B0 */ std::string unknown_00B0;
};
class CIcon : public CRenderObject {
public:
~CIcon() override;
void SendMsg(CGameObject* sender, int message, int a, int b, int c, int d, int e, int f, int g, int h, int i, int j, int k, int l, int m) override;
void Render(int argument) override;
void SetRenderInfo(const float* bounds, float x, float y) override;
};
class C3DCooRendering : public CRenderObject {
public:
~C3DCooRendering() override;
bool OnProcess() override;
void Render(int argument) override;
void SetWindowImage(const std::string& name);
/* 0138 */ int type;
/* 013C */ int unknown_013C;
/* 0140 */ UIWindow* window;
/* 0144 */ int unknown_0144;
};
#if defined(_WIN32) && !defined(_WIN64)
static_assert(sizeof(CIcon) == 0x138);
static_assert(offsetof(C3DCooRendering, window) == 0x140);
static_assert(sizeof(C3DCooRendering) == 0x148);
#endif
#endif