Batch #4883 by youko: 0 byte-identical, 2 confirmed by peer review. - fn_12880 UINormalMB::Create: logic confirmed by peer review - fn_12881 UIQuestDisplay::Create: logic confirmed by peer review Peer-reviewed-by: eAthena, alisonrag, gordaoprogramas Accepted without human review: peers confirmed the logic ("same" ahead by at least 3, with 70% of the votes).
28 lines
724 B
C++
28 lines
724 B
C++
#ifndef RAGNAROK_SOURCE_UI_QUEST_UIQUESTDISPLAY_H
|
|
#define RAGNAROK_SOURCE_UI_QUEST_UIQUESTDISPLAY_H
|
|
|
|
#include "UI/Window/UIWindow.h"
|
|
#include <string>
|
|
#include <vector>
|
|
|
|
struct QuestDisplayInfo;
|
|
|
|
struct QuestDisplayMenuItem {
|
|
std::string text;
|
|
int command;
|
|
};
|
|
|
|
class UIQuestDisplay : public UIWindow {
|
|
public:
|
|
void Slot11() override;
|
|
void Slot33(int x, int y) override;
|
|
int SendMsg(UIWindow* sender, int message, std::intptr_t argument1, std::intptr_t argument2, std::intptr_t argument3, std::intptr_t argument4) override;
|
|
void Create(int width, int height);
|
|
|
|
protected:
|
|
/* 0080 */ int m_selectedIndex;
|
|
/* 0084 */ std::vector<QuestDisplayMenuItem> m_menuItems;
|
|
/* 0090 */ int* m_visibleSetting;
|
|
};
|
|
|
|
#endif
|