diff options
Diffstat (limited to 'src/JSystem/J2DGraph/J2DTextBoxEx.cpp')
| -rw-r--r-- | src/JSystem/J2DGraph/J2DTextBoxEx.cpp | 51 |
1 files changed, 0 insertions, 51 deletions
diff --git a/src/JSystem/J2DGraph/J2DTextBoxEx.cpp b/src/JSystem/J2DGraph/J2DTextBoxEx.cpp index a3919cc1e7..c5bf9fcd3d 100644 --- a/src/JSystem/J2DGraph/J2DTextBoxEx.cpp +++ b/src/JSystem/J2DGraph/J2DTextBoxEx.cpp @@ -9,8 +9,6 @@ #include "JSystem/JSupport/JSURandomInputStream.h" #include "JSystem/JUtility/JUTResFont.h" -/* 803071E4-8030751C 301B24 0338+00 0/0 1/1 0/0 .text - * __ct__12J2DTextBoxExFP7J2DPaneP20JSURandomInputStreamUlP11J2DMaterial */ J2DTextBoxEx::J2DTextBoxEx(J2DPane* p_pane, JSURandomInputStream* p_stream, u32 param_2, J2DMaterial* p_material) { J2DTextBoxInfo info; @@ -92,15 +90,12 @@ J2DTextBoxEx::J2DTextBoxEx(J2DPane* p_pane, JSURandomInputStream* p_stream, u32 field_0x140 = 0; } -/* 8030751C-803075AC 301E5C 0090+00 1/0 0/0 0/0 .text __dt__12J2DTextBoxExFv */ J2DTextBoxEx::~J2DTextBoxEx() { if (field_0x140 != 0) { delete mMaterial; } } -/* 803075AC-803078AC 301EEC 0300+00 1/0 0/0 0/0 .text drawSelf__12J2DTextBoxExFffPA3_A4_f - */ void J2DTextBoxEx::drawSelf(f32 param_0, f32 param_1, Mtx* p_mtx) { Mtx m; @@ -142,7 +137,6 @@ void J2DTextBoxEx::drawSelf(f32 param_0, f32 param_1, Mtx* p_mtx) { } } -/* 803078AC-80307AF0 3021EC 0244+00 1/0 0/0 0/0 .text draw__12J2DTextBoxExFff */ void J2DTextBoxEx::draw(f32 posX, f32 posY) { Mtx m; @@ -198,8 +192,6 @@ void J2DTextBoxEx::draw(f32 posX, f32 posY) { } } -/* 80307AF0-80307D5C 302430 026C+00 1/0 0/0 0/0 .text draw__12J2DTextBoxExFfff18J2DTextBoxHBinding - */ void J2DTextBoxEx::draw(f32 posX, f32 posY, f32 param_2, J2DTextBoxHBinding hBind) { Mtx m; @@ -256,8 +248,6 @@ void J2DTextBoxEx::draw(f32 posX, f32 posY, f32 param_2, J2DTextBoxHBinding hBin } } -/* 80307D5C-80307DC0 30269C 0064+00 1/0 0/0 0/0 .text setFont__12J2DTextBoxExFP7JUTFont - */ void J2DTextBoxEx::setFont(JUTFont* p_font) { if (p_font != NULL && mMaterial != NULL && mMaterial->getTevBlock() != NULL) { mMaterial->getTevBlock()->setFont(p_font); @@ -265,7 +255,6 @@ void J2DTextBoxEx::setFont(JUTFont* p_font) { } } -/* 80307DC0-80307E0C 302700 004C+00 1/0 0/0 0/0 .text getFont__12J2DTextBoxExCFv */ JUTFont* J2DTextBoxEx::getFont() const { if (mMaterial != NULL && mMaterial->getTevBlock() != NULL) { return mMaterial->getTevBlock()->getFont(); @@ -274,7 +263,6 @@ JUTFont* J2DTextBoxEx::getFont() const { return NULL; } -/* 80307E0C-80307EF0 30274C 00E4+00 1/1 0/0 0/0 .text setTevOrder__12J2DTextBoxExFb */ void J2DTextBoxEx::setTevOrder(bool param_0) { u16 local_18[2]; if (!param_0) { @@ -296,7 +284,6 @@ void J2DTextBoxEx::setTevOrder(bool param_0) { } } -/* 80307EF0-80307F94 302830 00A4+00 1/1 0/0 0/0 .text setTevStage__12J2DTextBoxExFb */ void J2DTextBoxEx::setTevStage(bool param_0) { J2DTevStage* stage = mMaterial->getTevBlock()->getTevStage(0); @@ -308,8 +295,6 @@ void J2DTextBoxEx::setTevStage(bool param_0) { } } -/* 80307F94-8030823C 3028D4 02A8+00 1/1 0/0 0/0 .text - * setStage__12J2DTextBoxExFP11J2DTevStageQ212J2DTextBoxEx10stage_enum */ void J2DTextBoxEx::setStage(J2DTevStage* param_0, J2DTextBoxEx::stage_enum param_1) { const u8 tevColors[3][4] = { {0x0F, 0x08, 0x0A, 0x0F}, {0x02, 0x04, 0x08, 0x0F}, {0x0F, 0x0A, 0x00, 0x0F}, @@ -340,8 +325,6 @@ void J2DTextBoxEx::setStage(J2DTevStage* param_0, J2DTextBoxEx::stage_enum param tevAlphaOps[param_1][0], tevAlphaOps[param_1][1], tevAlphaOps[param_1][2], tevAlphaOps[param_1][3], tevAlphaOps[param_1][4]); } -/* 8030823C-803082C4 302B7C 0088+00 1/0 0/0 0/0 .text setBlack__12J2DTextBoxExFQ28JUtility6TColor - */ bool J2DTextBoxEx::setBlack(JUtility::TColor black) { JUtility::TColor tevBlack; JUtility::TColor tevWhite; @@ -353,8 +336,6 @@ bool J2DTextBoxEx::setBlack(JUtility::TColor black) { } } -/* 803082C4-8030834C 302C04 0088+00 1/0 0/0 0/0 .text setWhite__12J2DTextBoxExFQ28JUtility6TColor - */ bool J2DTextBoxEx::setWhite(JUtility::TColor white) { JUtility::TColor tevBlack; JUtility::TColor tevWhite; @@ -366,8 +347,6 @@ bool J2DTextBoxEx::setWhite(JUtility::TColor white) { } } -/* 8030834C-803084CC 302C8C 0180+00 1/0 0/0 0/0 .text - * setBlackWhite__12J2DTextBoxExFQ28JUtility6TColorQ28JUtility6TColor */ bool J2DTextBoxEx::setBlackWhite(JUtility::TColor param_0, JUtility::TColor param_1) { if (mMaterial == NULL) { return false; @@ -408,8 +387,6 @@ bool J2DTextBoxEx::setBlackWhite(JUtility::TColor param_0, JUtility::TColor para return true; } -/* 803084CC-80308668 302E0C 019C+00 4/4 0/0 0/0 .text - * getBlackWhite__12J2DTextBoxExCFPQ28JUtility6TColorPQ28JUtility6TColor */ bool J2DTextBoxEx::getBlackWhite(JUtility::TColor* param_0, JUtility::TColor* param_1) const { if (mMaterial == NULL) { return false; @@ -443,8 +420,6 @@ bool J2DTextBoxEx::getBlackWhite(JUtility::TColor* param_0, JUtility::TColor* pa return true; } -/* 80308668-803086FC 302FA8 0094+00 1/1 0/0 0/0 .text - * isSetBlackWhite__12J2DTextBoxExCFQ28JUtility6TColorQ28JUtility6TColor */ bool J2DTextBoxEx::isSetBlackWhite(JUtility::TColor param_0, JUtility::TColor param_1) const { if ((u32)param_0 == 0 && (u32)param_1 == 0xffffffff) { return 1; @@ -456,7 +431,6 @@ bool J2DTextBoxEx::isSetBlackWhite(JUtility::TColor param_0, JUtility::TColor pa return 1; } -/* 803086FC-8030875C 30303C 0060+00 1/0 0/0 0/0 .text getBlack__12J2DTextBoxExCFv */ JUtility::TColor J2DTextBoxEx::getBlack() const { JUtility::TColor black; JUtility::TColor white; @@ -466,7 +440,6 @@ JUtility::TColor J2DTextBoxEx::getBlack() const { return black; } -/* 8030875C-803087BC 30309C 0060+00 1/0 0/0 0/0 .text getWhite__12J2DTextBoxExCFv */ JUtility::TColor J2DTextBoxEx::getWhite() const { JUtility::TColor black; JUtility::TColor white; @@ -476,7 +449,6 @@ JUtility::TColor J2DTextBoxEx::getWhite() const { return white; } -/* 803087BC-803087DC 3030FC 0020+00 1/0 0/0 0/0 .text setAlpha__12J2DTextBoxExFUc */ void J2DTextBoxEx::setAlpha(u8 alpha) { mAlpha = alpha; @@ -491,7 +463,6 @@ void J2DTextBoxEx::setAlpha(u8 alpha) { mMaterial->getColorBlock()->getMatColor(0)->a = alpha; } -/* 803087DC-80308810 30311C 0034+00 1/0 0/0 0/0 .text setCullBack__12J2DTextBoxExF11_GXCullMode */ void J2DTextBoxEx::setCullBack(GXCullMode mode) { mCullMode = mode; @@ -502,7 +473,6 @@ void J2DTextBoxEx::setCullBack(GXCullMode mode) { J2DPane::setCullBack(mode); } -/* 80308810-80308828 303150 0018+00 1/0 0/0 0/0 .text rewriteAlpha__12J2DTextBoxExFv */ void J2DTextBoxEx::rewriteAlpha() { if (mMaterial == NULL) { return; @@ -511,8 +481,6 @@ void J2DTextBoxEx::rewriteAlpha() { mAlpha = mMaterial->getColorBlock()->getMatColor(0)->a; } -/* 80308828-803088B4 303168 008C+00 1/0 0/0 0/0 .text isUsed__12J2DTextBoxExFPC7ResFONT - */ bool J2DTextBoxEx::isUsed(ResFONT const* p_font) { if (getFont() != NULL && getFont()->getResFont() == p_font) { return true; @@ -521,46 +489,34 @@ bool J2DTextBoxEx::isUsed(ResFONT const* p_font) { return J2DPane::isUsed(p_font); } -/* 803088B4-803088E0 3031F4 002C+00 1/0 0/0 0/0 .text setAnimation__12J2DTextBoxExFP11J2DAnmColor - */ void J2DTextBoxEx::setAnimation(J2DAnmColor* anm) { if (mMaterial != NULL) { mMaterial->setAnimation(anm); } } -/* 803088E0-8030890C 303220 002C+00 1/0 0/0 0/0 .text - * setAnimation__12J2DTextBoxExFP19J2DAnmTextureSRTKey */ void J2DTextBoxEx::setAnimation(J2DAnmTextureSRTKey* anm) { if (mMaterial != NULL) { mMaterial->setAnimation(anm); } } -/* 8030890C-80308938 30324C 002C+00 1/0 0/0 0/0 .text - * setAnimation__12J2DTextBoxExFP16J2DAnmTexPattern */ void J2DTextBoxEx::setAnimation(J2DAnmTexPattern* anm) { if (mMaterial != NULL) { mMaterial->setAnimation(anm); } } -/* 80308938-80308964 303278 002C+00 1/0 0/0 0/0 .text - * setAnimation__12J2DTextBoxExFP15J2DAnmTevRegKey */ void J2DTextBoxEx::setAnimation(J2DAnmTevRegKey* anm) { if (mMaterial != NULL) { mMaterial->setAnimation(anm); } } -/* 80308964-8030896C -00001 0008+00 0/0 0/0 0/0 .text - * setAnimation__12J2DTextBoxExFP20J2DAnmVisibilityFull */ void J2DTextBoxEx::setAnimation(J2DAnmVisibilityFull* anm) { mVisibilityAnm = anm; } -/* 8030896C-803089EC 3032AC 0080+00 1/0 0/0 0/0 .text - * animationPane__12J2DTextBoxExFPC15J2DAnmTransform */ const J2DAnmTransform* J2DTextBoxEx::animationPane(J2DAnmTransform const* param_0) { if (mVisibilityAnm != NULL && field_0x13c != 0xffff) { u8 visibility; @@ -574,25 +530,18 @@ const J2DAnmTransform* J2DTextBoxEx::animationPane(J2DAnmTransform const* param_ return J2DPane::animationPane(param_0); } -/* 803089EC-80308A28 30332C 003C+00 1/0 0/0 0/0 .text setCullBack__12J2DTextBoxExFb */ void J2DTextBoxEx::setCullBack(bool param_0) { setCullBack(param_0 ? GX_CULL_BACK : GX_CULL_NONE); } -/* 80308A28-80308A48 303368 0020+00 1/0 0/0 0/0 .text isUsed__12J2DTextBoxExFPC7ResTIMG - */ bool J2DTextBoxEx::isUsed(ResTIMG const* p_timg) { return J2DPane::isUsed(p_timg); } -/* 80308A48-80308A4C 303388 0004+00 1/0 0/0 0/0 .text - * setAnimation__12J2DTextBoxExFP14J2DAnmVtxColor */ void J2DTextBoxEx::setAnimation(J2DAnmVtxColor* param_0) { /* empty function */ } -/* 80308A4C-80308A6C 30338C 0020+00 1/0 0/0 0/0 .text setAnimation__12J2DTextBoxExFP10J2DAnmBase - */ void J2DTextBoxEx::setAnimation(J2DAnmBase* anm) { J2DPane::setAnimation(anm); } |
