rodecomp/Source/UI/Window/UIVideoWnd.h
ragnarok-clanker 42110dca76 Decompile 6 functions in Source/Client/Mode/CGameMode.h, Source/Client/Mode/CLoginMode.h, ...
Batch #8171 by eAthena: 0 byte-identical, 6 confirmed by peer review.

- fn_16320 CreateRecommendedQuestInfo: logic confirmed by peer review
- fn_17436 UIVideoSkipButton::UIVideoSkipButton: logic confirmed by peer review
- fn_21219 UIVerticalNameBalloonText::UIVerticalNameBalloonText: logic confirmed by peer review
- fn_22352 CBlowEffect::CBlowEffect: logic confirmed by peer review
- fn_22246 CItem::CItem: logic confirmed by peer review
- fn_22258 CLoginMode::CLoginMode: logic confirmed by peer review

Peer-reviewed-by: Yommy, secret, gordaoprogramas
Accepted without human review: peers confirmed the logic ("same" ahead by at least 3, with 70% of the votes).
2026-10-31 14:41:01 +00:00

43 lines
1.1 KiB
C++

#ifndef RAGNAROK_SOURCE_UI_WINDOW_UIVIDEOWND_H
#define RAGNAROK_SOURCE_UI_WINDOW_UIVIDEOWND_H
#include "UI/Buttons/UIButton.h"
#include "UI/Window/UIWindow.h"
#include <cstdint>
class BinkMovie;
class CTexture;
class WindowManagerWindows;
struct WindowDialogs;
struct UIVideoWndContext {
WindowManagerWindows& windows;
WindowDialogs& dialogs;
UIButtonContext& buttons;
};
class UIVideoSkipButton : public UIButton {
public:
UIVideoSkipButton(UIWindowContext& windowContext, UIButtonContext& buttonContext);
void Paint() override;
};
class UIVideoWnd : public UIWindow {
public:
UIVideoWnd(UIWindowContext& windowContext, UIVideoWndContext& videoContext);
~UIVideoWnd() override;
bool Slot02() override;
void Slot15(int width, int height) override;
void Slot19() override;
void Paint() override;
int SendMsg(UIWindow* sender, int message, std::intptr_t argument1, std::intptr_t argument2, std::intptr_t argument3, std::intptr_t argument4) override;
/* 007C */ BinkMovie* m_movie;
/* 0080 */ CTexture* m_texture;
/* 0084 */ int m_savedVolume;
UIVideoWndContext* m_videoContext;
};
#endif