summaryrefslogtreecommitdiff
path: root/src/d/d_msg_string.cpp
diff options
context:
space:
mode:
authorTakaRikka <38417346+TakaRikka@users.noreply.github.com>2025-11-30 14:23:42 -0800
committerGitHub <noreply@github.com>2025-11-30 15:23:42 -0700
commita6e76c0841cae03cae0c0e6ac75c32f979043093 (patch)
tree76b5f590c59c6abdf2c80d0a3d5c0ccb31ebd0fe /src/d/d_msg_string.cpp
parent434415337d268e405b09f6b72935a7e918e4cfe7 (diff)
project cleanup (#2895)
* some wii OS fixes * remove old dol2asm comments * remove dol2asm.h * remove function address comments * normalize ATTRIBUTE_ALIGN usage * DECL_WEAK macro * fix gcc attribute weak macro * wrap more mwcc specific things in ifdefs * fixes * fix revo sdk version flags * fixes
Diffstat (limited to 'src/d/d_msg_string.cpp')
-rw-r--r--src/d/d_msg_string.cpp15
1 files changed, 0 insertions, 15 deletions
diff --git a/src/d/d_msg_string.cpp b/src/d/d_msg_string.cpp
index e9182b8195..8d4e29dd40 100644
--- a/src/d/d_msg_string.cpp
+++ b/src/d/d_msg_string.cpp
@@ -1,16 +1,9 @@
-//
-// Generated By: dol2asm
-// Translation Unit: d/d_msg_string
-//
-
#include "d/dolzel.h" // IWYU pragma: keep
#include "d/d_msg_string.h"
#include "JSystem/J2DGraph/J2DTextBox.h"
#include "d/d_msg_out_font.h"
-#include "dol2asm.h"
-/* 80249C20-80249CA0 244560 0080+00 0/0 15/15 0/0 .text __ct__12dMsgString_cFv */
dMsgString_c::dMsgString_c() {
field_0x28 = 0;
mpOutFont = new COutFont_c(field_0x28);
@@ -18,7 +11,6 @@ dMsgString_c::dMsgString_c() {
getResource();
}
-/* 80249CA0-80249D28 2445E0 0088+00 0/0 1/1 0/0 .text __ct__12dMsgString_cFUc */
dMsgString_c::dMsgString_c(u8 param_0) {
field_0x28 = param_0;
mpOutFont = new COutFont_c(field_0x28);
@@ -26,20 +18,15 @@ dMsgString_c::dMsgString_c(u8 param_0) {
getResource();
}
-/* 80249D28-80249DB4 244668 008C+00 0/0 17/17 0/0 .text __dt__12dMsgString_cFv */
dMsgString_c::~dMsgString_c() {
delete mpOutFont;
mpOutFont = NULL;
}
-/* 80249DB4-80249DE4 2446F4 0030+00 1/0 0/0 0/0 .text
- * resetStringLocal__12dMsgString_cFP10J2DTextBox */
void dMsgString_c::resetStringLocal(J2DTextBox* p_textBox) {
mpOutFont->reset(p_textBox);
}
-/* 80249DE4-80249ED0 244724 00EC+00 1/0 0/0 0/0 .text
- * drawOutFontLocal__12dMsgString_cFP10J2DTextBoxf */
void dMsgString_c::drawOutFontLocal(J2DTextBox* p_textBox, f32 i_alpha) {
Vec pos = p_textBox->getGlbVtx(0);
f32 y = pos.y;
@@ -52,8 +39,6 @@ void dMsgString_c::drawOutFontLocal(J2DTextBox* p_textBox, f32 i_alpha) {
mpOutFont->draw(p_textBox, pos.x, y, 1.0f);
}
-/* 80249ED0-80249F00 244810 0030+00 1/0 0/0 0/0 .text
- * drawFontLocal__12dMsgString_cFP10J2DTextBoxUcffffUlUc */
void dMsgString_c::drawFontLocal(J2DTextBox* p_textBox, u8 type, f32 posX, f32 posY,
f32 sizeX, f32 sizeY, u32 color, u8 alpha) {
mpOutFont->drawFont(p_textBox, type, posX, posY, sizeX, sizeY, color, alpha);