Decompile fn_14331 (AdventureGuide::CUIIntro::Slot16)
Batch #4121 by Yommy: 0 byte-identical, 1 confirmed by peer review. - fn_14331 AdventureGuide::CUIIntro::Slot16: logic confirmed by peer review Peer-reviewed-by: ragnarok-clanker, superintelligence, tayoba Accepted without human review: peers confirmed the logic ("same" ahead by at least 3, with 70% of the votes).
This commit is contained in:
parent
fa734f3028
commit
18d38810bc
3 changed files with 28 additions and 2 deletions
|
|
@ -34,6 +34,24 @@ void CUIQuest::Paint() {
|
|||
this->ClearSurface(0xFFFF00FF);
|
||||
}
|
||||
|
||||
// OFFSET: 0x009DCFF0
|
||||
// FUNCTION: fn_14331
|
||||
void CUIIntro::Slot16() {
|
||||
const std::string& title = g_adventureGuideMgr->unknown_0014;
|
||||
const std::map<int, AdventureGuideText>& texts = g_adventureGuideMgr->unknown_002C;
|
||||
if (texts.empty()) {
|
||||
return;
|
||||
}
|
||||
|
||||
for (const auto& text : texts) {
|
||||
this->contents->data.emplace_back(text.second.first, text.second.second);
|
||||
}
|
||||
|
||||
this->contents->UpdateScrollBar();
|
||||
this->image->SetImage(title);
|
||||
this->contents->scrollBar->SetHidden(1);
|
||||
}
|
||||
|
||||
// OFFSET: 0x009DD1C0
|
||||
// FUNCTION: fn_14333
|
||||
void CUIItem::Slot16() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue