summaryrefslogtreecommitdiff
path: root/src/d/d_bright_check.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_bright_check.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_bright_check.cpp')
-rw-r--r--src/d/d_bright_check.cpp9
1 files changed, 0 insertions, 9 deletions
diff --git a/src/d/d_bright_check.cpp b/src/d/d_bright_check.cpp
index 6a3a35bee2..75537717e1 100644
--- a/src/d/d_bright_check.cpp
+++ b/src/d/d_bright_check.cpp
@@ -11,7 +11,6 @@
#include "d/d_msg_string.h"
#include "m_Do/m_Do_controller_pad.h"
-/* 80192F10-80192F98 18D850 0088+00 0/0 1/1 0/0 .text __ct__14dBrightCheck_cFP10JKRArchive */
dBrightCheck_c::dBrightCheck_c(JKRArchive* i_archive) {
mArchive = i_archive;
mBrightCheck.mMsgString = new dMsgString_c();
@@ -22,13 +21,11 @@ dBrightCheck_c::dBrightCheck_c(JKRArchive* i_archive) {
mMode = MODE_MOVE_e;
}
-/* 80192F98-80193030 18D8D8 0098+00 1/0 0/0 0/0 .text __dt__14dBrightCheck_cFv */
dBrightCheck_c::~dBrightCheck_c() {
delete mBrightCheck.Scr;
delete mBrightCheck.mMsgString;
}
-/* 80193030-801934D0 18D970 04A0+00 1/1 0/0 0/0 .text screenSet__14dBrightCheck_cFv */
void dBrightCheck_c::screenSet() {
static u64 const tv_btnA[] = {
'cont_at1', 'cont_at2', 'cont_at3', 'cont_at4', 'cont_at',
@@ -126,22 +123,18 @@ void dBrightCheck_c::screenSet() {
}
}
-/* 803BB5D4-803BB5EC 0186F4 0018+00 1/2 0/0 0/0 .data brightChackProc */
typedef void (dBrightCheck_c::*procFunc)();
static procFunc brightChackProc[] = {
&dBrightCheck_c::modeWait,
&dBrightCheck_c::modeMove,
};
-/* 801934D0-80193508 18DE10 0038+00 0/0 1/1 0/0 .text _move__14dBrightCheck_cFv */
void dBrightCheck_c::_move() {
(this->*brightChackProc[mMode])();
}
-/* 80193508-8019350C 18DE48 0004+00 1/0 0/0 0/0 .text modeWait__14dBrightCheck_cFv */
void dBrightCheck_c::modeWait() {}
-/* 8019350C-80193594 18DE4C 0088+00 1/0 0/0 0/0 .text modeMove__14dBrightCheck_cFv */
void dBrightCheck_c::modeMove() {
if (mDoCPd_c::getTrigA(PAD_1) || mDoCPd_c::getTrigStart(PAD_1)) {
mDoAud_seStart(Z2SE_ENTER_GAME, NULL, 0, 0);
@@ -150,12 +143,10 @@ void dBrightCheck_c::modeMove() {
}
}
-/* 80193594-801935D0 18DED4 003C+00 0/0 1/1 0/0 .text _draw__14dBrightCheck_cFv */
void dBrightCheck_c::_draw() {
dComIfGd_set2DOpa(&mBrightCheck);
}
-/* 801935D0-80193608 18DF10 0038+00 1/0 0/0 0/0 .text draw__19dDlst_BrightCheck_cFv */
void dDlst_BrightCheck_c::draw() {
J2DGrafContext* graf_ctx = dComIfGp_getCurrentGrafPort();
Scr->draw(0.0f, 0.0f, graf_ctx);