From b92b0db6a68c143c97df47261bf9c7beec7e387e Mon Sep 17 00:00:00 2001 From: mattias-blum <142374929+mattias-blum@users.noreply.github.com> Date: Thu, 15 May 2025 18:23:10 -0400 Subject: [PATCH] more progress --- include/f_op/f_op_msg_mng.h | 1 + src/d/d_menu_option.cpp | 10 +++++++++- 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/include/f_op/f_op_msg_mng.h b/include/f_op/f_op_msg_mng.h index b154d81c6..5b6db0058 100644 --- a/include/f_op/f_op_msg_mng.h +++ b/include/f_op/f_op_msg_mng.h @@ -378,5 +378,6 @@ void fopMsgM_setFontsizeCenter2(char* a, char* b, char* c, char* d, int, int siz void fopMsgM_outFontSet(J2DPicture*, J2DPicture*, s16*, u32, u8); void fopMsgM_outFontDraw(J2DPicture*, J2DPicture*, int, int, int, s16*, u8, u8); +void fopMsgM_outFontDraw2(J2DPicture*, J2DPicture*, int, int, int, int, s16*, u8, u8); #endif /* F_OP_MSG_MNG_H */ diff --git a/src/d/d_menu_option.cpp b/src/d/d_menu_option.cpp index cdbc548ee..f9278a839 100644 --- a/src/d/d_menu_option.cpp +++ b/src/d/d_menu_option.cpp @@ -713,7 +713,15 @@ void dMenu_Option_c::outFontMove() { /* 801D4D74-801D4E34 .text outFontDraw__14dMenu_Option_cFv */ void dMenu_Option_c::outFontDraw() { - /* Nonmatching */ + for (int i = 0; i < 15; i++) { + if (m0B0[i].mUserArea != -1) { + m0B0[i].mNowAlpha = m740.pane->getAlpha(); + fopMsgM_outFontDraw2((J2DPicture*)m0B0[i].pane, (J2DPicture*)m3F8[i].pane, m3F8[i].mPosTopLeft.x, m3F8[i].mPosTopLeft.y, 0x19, 0x19, &m0B0[i].mUserArea, m0B0[i].mNowAlpha, m0B0[i].mPosTopLeftOrig.y); + } + else { + fopMsgM_setAlpha(&m0B0[i]); + } + } } /* 801D4E34-801D505C .text stringlength__14dMenu_Option_cFP18fopMsgM_pane_classPc */