summaryrefslogtreecommitdiff
path: root/src/d/d_ovlp_fade3.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_ovlp_fade3.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_ovlp_fade3.cpp')
-rw-r--r--src/d/d_ovlp_fade3.cpp15
1 files changed, 0 insertions, 15 deletions
diff --git a/src/d/d_ovlp_fade3.cpp b/src/d/d_ovlp_fade3.cpp
index 592bfc85fb..cc180c6ca4 100644
--- a/src/d/d_ovlp_fade3.cpp
+++ b/src/d/d_ovlp_fade3.cpp
@@ -12,7 +12,6 @@
#include "m_Do/m_Do_audio.h"
#include "m_Do/m_Do_graphic.h"
-/* 80252ED4-80252F28 24D814 0054+00 1/0 0/0 0/0 .text draw__16dDlst_snapShot_cFv */
void dDlst_snapShot_c::draw() {
GXSetTexCopySrc(0, 0, FB_WIDTH, FB_HEIGHT);
GXSetTexCopyDst(FB_WIDTH / 2, FB_HEIGHT / 2, GX_TF_RGBA8, GX_TRUE);
@@ -20,7 +19,6 @@ void dDlst_snapShot_c::draw() {
GXPixModeSync();
}
-/* 80252F28-8025343C 24D868 0514+00 1/0 0/0 0/0 .text draw__15dOvlpFd3_dlst_cFv */
void dOvlpFd3_dlst_c::draw() {
GXSetViewport(0.0f, 0.0f, FB_WIDTH, FB_HEIGHT, 0.0f, 1.0f);
GXSetScissor(0, 0, FB_WIDTH, FB_HEIGHT);
@@ -113,7 +111,6 @@ void dOvlpFd3_dlst_c::draw() {
graf_ctx->setup2D();
}
-/* 8025343C-80253518 24DD7C 00DC+00 1/1 0/0 0/0 .text __ct__10dOvlpFd3_cFv */
dOvlpFd3_c::dOvlpFd3_c() {
setExecute(&dOvlpFd3_c::execFirstSnap);
dComIfGp_2dShowOff();
@@ -128,7 +125,6 @@ dOvlpFd3_c::dOvlpFd3_c() {
mDoGph_gInf_c::startFadeOut(XREG_S(3) + (field_0x11f >> 1) + 90);
}
-/* 80253518-802535AC 24DE58 0094+00 1/0 0/0 0/0 .text execFirstSnap__10dOvlpFd3_cFv */
void dOvlpFd3_c::execFirstSnap() {
if (cLib_calcTimer(&field_0x11f) == 0 && field_0x11c != 0) {
if (cLib_calcTimer(&mTimer) == 0) {
@@ -141,7 +137,6 @@ void dOvlpFd3_c::execFirstSnap() {
}
}
-/* 802535AC-8025368C 24DEEC 00E0+00 1/0 0/0 0/0 .text execFadeOut__10dOvlpFd3_cFv */
void dOvlpFd3_c::execFadeOut() {
dComIfGp_setWindowNum(0);
@@ -165,7 +160,6 @@ void dOvlpFd3_c::execFadeOut() {
}
}
-/* 8025368C-80253730 24DFCC 00A4+00 1/0 0/0 0/0 .text execNextSnap__10dOvlpFd3_cFv */
void dOvlpFd3_c::execNextSnap() {
if (cLib_calcTimer(&mTimer) == 0) {
if (!JFWDisplay::getManager()->getFader()->startFadeIn(XREG_S(4) + 26)) {
@@ -178,7 +172,6 @@ void dOvlpFd3_c::execNextSnap() {
}
}
-/* 80253730-802537AC 24E070 007C+00 1/0 0/0 0/0 .text execFadeIn__10dOvlpFd3_cFv */
void dOvlpFd3_c::execFadeIn() {
field_0x114 -= TREG_S(0) + 0x800;
@@ -208,7 +201,6 @@ void dOvlpFd3_c::draw() {
}
}
-/* 802537AC-80253880 24E0EC 00D4+00 1/0 0/0 0/0 .text dOvlpFd3_Draw__FP10dOvlpFd3_c */
static int dOvlpFd3_Draw(dOvlpFd3_c* i_this) {
i_this->draw();
return 1;
@@ -218,37 +210,30 @@ void dOvlpFd3_c::execute() {
(this->*mExecuteFn)();
}
-/* 80253880-802538AC 24E1C0 002C+00 1/0 0/0 0/0 .text dOvlpFd3_Execute__FP10dOvlpFd3_c */
static int dOvlpFd3_Execute(dOvlpFd3_c* i_this) {
i_this->execute();
return 1;
}
-/* 802538AC-802538B4 24E1EC 0008+00 1/0 0/0 0/0 .text dOvlpFd3_IsDelete__FP10dOvlpFd3_c
- */
static int dOvlpFd3_IsDelete(dOvlpFd3_c* i_this) {
return 1;
}
-/* 802538B4-802538BC 24E1F4 0008+00 1/0 0/0 0/0 .text dOvlpFd3_Delete__FP10dOvlpFd3_c */
static int dOvlpFd3_Delete(dOvlpFd3_c* i_this) {
return 1;
}
-/* 802538BC-802538E8 24E1FC 002C+00 1/0 0/0 0/0 .text dOvlpFd3_Create__FPv */
static int dOvlpFd3_Create(void* i_this) {
new (i_this) dOvlpFd3_c();
return cPhs_COMPLEATE_e;
}
-/* 803C2DA0-803C2DB4 -00001 0014+00 1/0 0/0 0/0 .data l_dOvlpFd3_Method */
static leafdraw_method_class l_dOvlpFd3_Method = {
(process_method_func)dOvlpFd3_Create, (process_method_func)dOvlpFd3_Delete,
(process_method_func)dOvlpFd3_Execute, (process_method_func)dOvlpFd3_IsDelete,
(process_method_func)dOvlpFd3_Draw,
};
-/* 803C2DB4-803C2DDC -00001 0028+00 0/0 0/0 1/0 .data g_profile_OVERLAP3 */
extern overlap_process_profile_definition g_profile_OVERLAP3 = {
fpcLy_ROOT_e,
0,