2021-03-28 22:49:05 +02:00
|
|
|
#ifndef D_MSG_D_MSG_STRING_H
|
|
|
|
|
#define D_MSG_D_MSG_STRING_H
|
|
|
|
|
|
2024-10-10 07:29:58 -07:00
|
|
|
#include "d/d_msg_string_base.h"
|
2023-05-12 12:10:14 -07:00
|
|
|
|
|
|
|
|
class COutFont_c;
|
|
|
|
|
class JUTFont;
|
2022-06-29 13:19:09 -07:00
|
|
|
|
2022-07-04 12:21:57 -07:00
|
|
|
class dMsgString_c : public dMsgStringBase_c {
|
2022-06-29 13:19:09 -07:00
|
|
|
public:
|
2025-11-30 14:23:42 -08:00
|
|
|
dMsgString_c();
|
|
|
|
|
dMsgString_c(u8);
|
|
|
|
|
~dMsgString_c();
|
2022-06-29 13:19:09 -07:00
|
|
|
|
2025-11-30 14:23:42 -08:00
|
|
|
virtual f32 getString(u32 param_0, J2DTextBox* param_1, J2DTextBox* param_2,
|
2024-10-31 20:36:11 -04:00
|
|
|
JUTFont* param_3, COutFont_c* param_4, u8 param_5) {
|
|
|
|
|
if (param_4 == NULL && mpOutFont != NULL) {
|
|
|
|
|
return getStringLocal(param_0, param_1, param_2, param_3, mpOutFont, param_5);
|
|
|
|
|
} else {
|
|
|
|
|
return getStringLocal(param_0, param_1, param_2, param_3, param_4, param_5);
|
|
|
|
|
}
|
|
|
|
|
}
|
2025-11-30 14:23:42 -08:00
|
|
|
virtual f32 getStringPage(u32 param_1, u8 param_2, u8 param_3,
|
2025-04-23 21:39:12 +03:00
|
|
|
J2DTextBox* param_4, J2DTextBox* param_5,
|
|
|
|
|
JUTFont* param_6, COutFont_c* param_7, u8 param_8) {
|
|
|
|
|
if (param_7 == NULL && mpOutFont != NULL) {
|
|
|
|
|
return getStringPageLocal(param_1, param_2, param_3, param_4, param_5, param_6,
|
|
|
|
|
mpOutFont, param_8);
|
|
|
|
|
} else {
|
|
|
|
|
return getStringPageLocal(param_1, param_2, param_3, param_4, param_5, param_6, param_7,
|
|
|
|
|
param_8);
|
|
|
|
|
}
|
|
|
|
|
}
|
2025-11-30 14:23:42 -08:00
|
|
|
virtual void resetStringLocal(J2DTextBox*);
|
|
|
|
|
virtual void drawOutFontLocal(J2DTextBox*, f32);
|
|
|
|
|
virtual void drawFontLocal(J2DTextBox*, u8, f32, f32, f32, f32, u32, u8);
|
2022-06-29 13:19:09 -07:00
|
|
|
|
2023-07-16 22:09:21 +03:00
|
|
|
void drawOutFont(J2DTextBox* param_0, f32 param_1) {
|
|
|
|
|
drawOutFontLocal(param_0, param_1);
|
|
|
|
|
}
|
|
|
|
|
|
2022-06-29 13:19:09 -07:00
|
|
|
private:
|
|
|
|
|
/* 0x24 */ COutFont_c* mpOutFont;
|
|
|
|
|
/* 0x28 */ u8 field_0x28;
|
|
|
|
|
};
|
2021-03-28 22:49:05 +02:00
|
|
|
|
|
|
|
|
#endif /* D_MSG_D_MSG_STRING_H */
|