diff options
| author | TakaRikka <38417346+TakaRikka@users.noreply.github.com> | 2025-11-30 14:23:42 -0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-11-30 15:23:42 -0700 |
| commit | a6e76c0841cae03cae0c0e6ac75c32f979043093 (patch) | |
| tree | 76b5f590c59c6abdf2c80d0a3d5c0ccb31ebd0fe /src/d/d_kantera_icon_meter.cpp | |
| parent | 434415337d268e405b09f6b72935a7e918e4cfe7 (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_kantera_icon_meter.cpp')
| -rw-r--r-- | src/d/d_kantera_icon_meter.cpp | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/src/d/d_kantera_icon_meter.cpp b/src/d/d_kantera_icon_meter.cpp index dd1f387f33..431c4c0d30 100644 --- a/src/d/d_kantera_icon_meter.cpp +++ b/src/d/d_kantera_icon_meter.cpp @@ -1,8 +1,3 @@ -// -// Generated By: dol2asm -// Translation Unit: d/d_kantera_icon_meter -// - #include "d/dolzel.h" // IWYU pragma: keep #include "d/d_kantera_icon_meter.h" @@ -12,12 +7,10 @@ #include "d/d_meter_HIO.h" #include "d/d_pane_class.h" -/* 801AE938-801AE974 1A9278 003C+00 0/0 3/3 0/0 .text __ct__15dKantera_icon_cFv */ dKantera_icon_c::dKantera_icon_c() { initiate(); } -/* 801AE974-801AEA68 1A92B4 00F4+00 1/0 0/0 0/0 .text __dt__15dKantera_icon_cFv */ dKantera_icon_c::~dKantera_icon_c() { delete mpKanteraIcon->getScreen(); delete mpKanteraIcon; @@ -30,7 +23,6 @@ dKantera_icon_c::~dKantera_icon_c() { mpGauge = NULL; } -/* 801AEA68-801AEB7C 1A93A8 0114+00 1/1 0/0 0/0 .text initiate__15dKantera_icon_cFv */ void dKantera_icon_c::initiate() { mpKanteraIcon = new dDlst_KanteraIcon_c(); @@ -44,34 +36,26 @@ void dKantera_icon_c::initiate() { mpGauge = new CPaneMgr(scrn, 'yellow_m', 0, NULL); } -/* 801AEB7C-801AEBA0 1A94BC 0024+00 0/0 4/4 0/0 .text setAlphaRate__15dKantera_icon_cFf - */ void dKantera_icon_c::setAlphaRate(f32 alphaRate) { mpParent->setAlphaRate(alphaRate); } -/* 801AEBA0-801AEBF4 1A94E0 0054+00 0/0 3/3 0/0 .text setPos__15dKantera_icon_cFff */ void dKantera_icon_c::setPos(f32 x, f32 y) { mpParent->translate(x + g_drawHIO.mLanternIconMeterPosX, y + g_drawHIO.mLanternIconMeterPosY); } -/* 801AEBF4-801AEC44 1A9534 0050+00 0/0 4/4 0/0 .text setScale__15dKantera_icon_cFff */ void dKantera_icon_c::setScale(f32 h, f32 v) { mpParent->scale(h * g_drawHIO.mLanternIconMeterSize, v * g_drawHIO.mLanternIconMeterSize); } -/* 801AEC44-801AECB8 1A9584 0074+00 0/0 4/4 0/0 .text setNowGauge__15dKantera_icon_cFUsUs - */ void dKantera_icon_c::setNowGauge(u16 h, u16 v) { mpGauge->scale((f32)v / (f32)h, 1.0f); } -/* 801AECB8-801AED1C 1A95F8 0064+00 1/0 0/0 0/0 .text draw__19dDlst_KanteraIcon_cFv */ void dDlst_KanteraIcon_c::draw() { J2DGrafContext* curGraf = dComIfGp_getCurrentGrafPort(); curGraf->setup2D(); mp_scrn->draw(0.0f, 0.0f, curGraf); } -/* 801AED1C-801AED64 1A965C 0048+00 1/0 0/0 0/0 .text __dt__19dDlst_KanteraIcon_cFv */ dDlst_KanteraIcon_c::~dDlst_KanteraIcon_c() {} |
