summaryrefslogtreecommitdiff
path: root/src/d/actor/d_a_swLBall.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/actor/d_a_swLBall.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/actor/d_a_swLBall.cpp')
-rw-r--r--src/d/actor/d_a_swLBall.cpp24
1 files changed, 0 insertions, 24 deletions
diff --git a/src/d/actor/d_a_swLBall.cpp b/src/d/actor/d_a_swLBall.cpp
index 60e97df99e..0940fd6d45 100644
--- a/src/d/actor/d_a_swLBall.cpp
+++ b/src/d/actor/d_a_swLBall.cpp
@@ -13,14 +13,10 @@
#include "d/d_lib.h"
#include "f_op/f_op_actor_mng.h"
-/* ############################################################################################## */
-/* 80D4F5A0-80D4F5A8 000000 0008+00 2/2 0/0 0/0 .bss l_target_info */
static daObjCarry_c* l_target_info[2];
-/* 80D4F5A8-80D4F5AC 000008 0004+00 2/2 0/0 0/0 .bss l_target_info_count */
static int l_target_info_count;
-/* 80D4EAF8-80D4EB8C 000078 0094+00 1/1 0/0 0/0 .text s_lb_sub__FPvPv */
static void* s_lb_sub(void* param_1, void* param_2) {
if ((fopAcM_IsActor(param_1) && fopAcM_GetName(param_1) == PROC_Obj_Carry) &&
static_cast<daObjCarry_c*>(param_1)->prm_chk_type_lightball())
@@ -33,8 +29,6 @@ static void* s_lb_sub(void* param_1, void* param_2) {
return 0;
}
-/* 80D4EB8C-80D4ECCC 00010C 0140+00 2/2 0/0 0/0 .text checkArea_sub__11daSwLBall_cFP10fopAc_ac_c
- */
int daSwLBall_c::checkArea_sub(fopAc_ac_c* param_1) {
if (getType() == 0) {
if (param_1->current.pos.y >= current.pos.y - 10.0f &&
@@ -57,7 +51,6 @@ int daSwLBall_c::checkArea_sub(fopAc_ac_c* param_1) {
return 0;
}
-/* 80D4ECCC-80D4ED80 00024C 00B4+00 1/1 0/0 0/0 .text checkArea__11daSwLBall_cFv */
int daSwLBall_c::checkArea() {
fopAc_ac_c* actors[4];
for (int i = 0; i < 2; i++) {
@@ -73,7 +66,6 @@ int daSwLBall_c::checkArea() {
return 0;
}
-/* 80D4ED80-80D4EEAC 000300 012C+00 2/2 0/0 0/0 .text search_lb__11daSwLBall_cFv */
void daSwLBall_c::search_lb() {
l_target_info_count = 0;
for (int i = 0; i < 2; i++) {
@@ -104,7 +96,6 @@ void daSwLBall_c::search_lb() {
}
}
-/* 80D4EEAC-80D4EEF8 00042C 004C+00 1/1 0/0 0/0 .text Create__11daSwLBall_cFv */
int daSwLBall_c::Create() {
for (int i = 0; i < 2; i++) {
mProcIds[i] = -1;
@@ -114,7 +105,6 @@ int daSwLBall_c::Create() {
return 1;
}
-/* 80D4EEF8-80D4EF60 000478 0068+00 1/1 0/0 0/0 .text create__11daSwLBall_cFv */
int daSwLBall_c::create() {
fopAcM_ct(this, daSwLBall_c);
if (!Create()) {
@@ -123,7 +113,6 @@ int daSwLBall_c::create() {
return cPhs_COMPLEATE_e;
}
-/* 80D4EF60-80D4F008 0004E0 00A8+00 2/2 0/0 0/0 .text execute__11daSwLBall_cFv */
int daSwLBall_c::execute() {
static actionFunc funcs[3] = {
&daSwLBall_c::actionInit,
@@ -135,7 +124,6 @@ int daSwLBall_c::execute() {
return 1;
}
-/* 80D4F008-80D4F080 000588 0078+00 1/0 0/0 0/0 .text actionInit__11daSwLBall_cFv */
void daSwLBall_c::actionInit() {
search_lb();
if (getArg0() == 1 && fopAcM_isSwitch(this, getSwbit())) {
@@ -146,7 +134,6 @@ void daSwLBall_c::actionInit() {
setAction(ACTION_RUN);
}
-/* 80D4F080-80D4F220 000600 01A0+00 1/0 0/0 0/0 .text actionRun__11daSwLBall_cFv */
void daSwLBall_c::actionRun() {
search_lb();
int isArea = checkArea();
@@ -193,11 +180,9 @@ void daSwLBall_c::actionRun() {
PutCrrPos();
}
-/* 80D4F220-80D4F224 0007A0 0004+00 1/0 0/0 0/0 .text actionStop__11daSwLBall_cFv */
void daSwLBall_c::actionStop() {
}
-/* 80D4F224-80D4F444 0007A4 0220+00 1/1 0/0 0/0 .text PutCrrPos__11daSwLBall_cFv */
void daSwLBall_c::PutCrrPos() {
if (checkPullLBall()) {
daPy_py_c* player = daPy_getPlayerActorClass();
@@ -245,30 +230,22 @@ void daSwLBall_c::PutCrrPos() {
}
}
-/* 80D4F444-80D4F44C 0009C4 0008+00 1/1 0/0 0/0 .text _delete__11daSwLBall_cFv */
int daSwLBall_c::_delete() {
return 1;
}
-/* 80D4F44C-80D4F46C 0009CC 0020+00 1/0 0/0 0/0 .text daSwLBall_Execute__FP11daSwLBall_c
- */
static int daSwLBall_Execute(daSwLBall_c* i_this) {
return i_this->execute();
}
-/* 80D4F46C-80D4F48C 0009EC 0020+00 1/0 0/0 0/0 .text daSwLBall_Delete__FP11daSwLBall_c
- */
static int daSwLBall_Delete(daSwLBall_c* i_this) {
return i_this->_delete();
}
-/* 80D4F48C-80D4F4AC 000A0C 0020+00 1/0 0/0 0/0 .text daSwLBall_Create__FP10fopAc_ac_c */
static int daSwLBall_Create(fopAc_ac_c* i_this) {
return static_cast<daSwLBall_c*>(i_this)->create();
}
-/* ############################################################################################## */
-/* 80D4F54C-80D4F56C -00001 0020+00 1/0 0/0 0/0 .data l_daSwLBall_Method */
static actor_method_class l_daSwLBall_Method = {
(process_method_func)daSwLBall_Create,
(process_method_func)daSwLBall_Delete,
@@ -277,7 +254,6 @@ static actor_method_class l_daSwLBall_Method = {
NULL,
};
-/* 80D4F56C-80D4F59C -00001 0030+00 0/0 0/0 1/0 .data g_profile_SwLBall */
extern actor_process_profile_definition g_profile_SwLBall = {
fpcLy_CURRENT_e, // mLayerID
7, // mListID