PR changes + added inlines

This commit is contained in:
mattias-blum
2025-05-21 10:07:26 -04:00
parent 568fe41d61
commit c99dc93347
2 changed files with 20 additions and 10 deletions
+13 -3
View File
@@ -16,9 +16,19 @@ class dMenu_Option_c : public dDlst_base_c {
public:
void alphaChange(fopMsgM_pane_class*, f32) {}
void getQuitStatus() {}
void setArchive(JKRArchive*) {}
void setFont(JUTFont*, JUTFont*) {}
void setTextArea(char*, char*, char*, char*) {}
void setArchive(JKRArchive* archive) {
mpArchive = archive;
}
void setFont(JUTFont* font_1, JUTFont* font_2) {
mD2C = font_1;
mD30 = font_2;
}
void setTextArea(char* param_1, char* param_2, char* param_3, char* param_4) {
mD38 = param_1;
mD3C = param_2;
mD40 = param_3;
mD44 = param_4;
}
void screenSet();
void mainInit();
+7 -7
View File
@@ -25,7 +25,7 @@ dMc_HIO_c::dMc_HIO_c() {
m52 = 130;
m4E = 250;
m50 = 20;
m58.set(-1, 170, 0, 0);
m58.set(0xFF, 0xAA, 0x00, 0x00);
m44 = 13;
}
@@ -157,13 +157,13 @@ void dMenu_Collect_c::screenSet() {
((J2DTextBox*)(m778).pane)->setFont(m2470);
// Couple of functions missing here
((J2DTextBox*)(m740).pane)->setWhite(-1);
((J2DTextBox*)(m740).pane)->setCharColor(-1);
((J2DTextBox*)(m740).pane)->setGradColor(-1);
((J2DTextBox*)(m740).pane)->setWhite(0xFFFFFFFF);
((J2DTextBox*)(m740).pane)->setCharColor(0xFFFFFFFF);
((J2DTextBox*)(m740).pane)->setGradColor(0xFFFFFFFF);
((J2DTextBox*)(m778).pane)->setWhite(-1);
((J2DTextBox*)(m778).pane)->setCharColor(-1);
((J2DTextBox*)(m778).pane)->setGradColor(-1);
((J2DTextBox*)(m778).pane)->setWhite(0xFFFFFFFF);
((J2DTextBox*)(m778).pane)->setCharColor(0xFFFFFFFF);
((J2DTextBox*)(m778).pane)->setGradColor(0xFFFFFFFF);
fopMsgM_setPaneData(&m858, m004, 'wd');