Batch #4320 by eAthena: 3 byte-identical, 11 confirmed by peer review. - fn_17437 UIVideoWnd::UIVideoWnd: logic confirmed by peer review - fn_17439 UIVideoWnd::`scalar deleting destructor': logic confirmed by peer review - fn_17440 UIVideoWnd::Slot02: byte-identical - fn_17441 UIVideoWnd::Slot15: logic confirmed by peer review - fn_17442 UIVideoSkipButton::Paint: logic confirmed by peer review - fn_17443 UIVideoWnd::Paint: logic confirmed by peer review - fn_17444 UIVideoWnd::Slot19: logic confirmed by peer review - fn_17445 UIVideoWnd::SendMsg: logic confirmed by peer review - fn_17446 UIWaitDBSaveWnd::UIWaitDBSaveWnd: logic confirmed by peer review - fn_17448 UIWaitDBSaveWnd::Slot15: logic confirmed by peer review - fn_17449 UIWaitDBSaveWnd::Slot18: byte-identical - fn_17450 UIWaitDBSaveWnd::Paint: logic confirmed by peer review - fn_17451 UIWaitDBSaveWnd::Slot27: byte-identical - fn_17452 UIWaitDBSaveWnd::Slot19: logic confirmed by peer review Peer-reviewed-by: youko, Lumen, tayoba, Snow, KWDev, Bruwuno Accepted without human review: peers confirmed the logic ("same" ahead by at least 3, with 70% of the votes). Adds to the build: Source/UI/Window/UIVideoWnd.cpp, Source/UI/Dialogs/UIWaitDBSaveWnd.cpp
38 lines
966 B
C++
38 lines
966 B
C++
#ifndef RAGNAROK_SOURCE_UI_DIALOGS_UIWAITDBSAVEWND_H
|
|
#define RAGNAROK_SOURCE_UI_DIALOGS_UIWAITDBSAVEWND_H
|
|
|
|
#include "UI/Window/UIWindow.h"
|
|
|
|
#include <cstdint>
|
|
|
|
class CActRes;
|
|
class CSprRes;
|
|
class WindowManagerWindows;
|
|
struct UIButtonContext;
|
|
|
|
struct UIWaitDBSaveWndContext {
|
|
WindowManagerWindows& windows;
|
|
UIButtonContext& buttons;
|
|
};
|
|
|
|
class UIWaitDBSaveWnd : public UIWindow {
|
|
public:
|
|
UIWaitDBSaveWnd(UIWindowContext& windowContext, UIWaitDBSaveWndContext& waitContext);
|
|
void Slot15(int width, int height) override;
|
|
void Slot18() override;
|
|
void Slot19() override;
|
|
void Paint() override;
|
|
void Slot27(int x, int y) override;
|
|
|
|
/* 007C */ int m_animation;
|
|
/* 0080 */ int m_frame;
|
|
/* 0084 */ unsigned int m_loopLimit;
|
|
/* 0088 */ CSprRes* m_sprite;
|
|
/* 008C */ CActRes* m_action;
|
|
/* 0090 */ std::uint32_t m_startTime;
|
|
/* 0094 */ unsigned int m_loop;
|
|
/* 0098 */ std::uint32_t m_closeTime;
|
|
UIWaitDBSaveWndContext* m_waitContext;
|
|
};
|
|
|
|
#endif
|