summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorSonic Dreamcaster <alejandro.asenjo88@gmail.com>2024-12-02 23:48:06 -0300
committerSonic Dreamcaster <alejandro.asenjo88@gmail.com>2024-12-02 23:48:06 -0300
commitbbb96fec8d4b810aa092a0661d4795e3e8bae669 (patch)
tree7ea621dc12d5eb4432c581ae5693c1cab1c4b0c2 /src
parent542c756b2e4e0ce56944241577f7e767f25e6a71 (diff)
remove unnecessary code
Diffstat (limited to 'src')
-rw-r--r--src/engine/fox_context.c8
-rw-r--r--src/engine/fox_enmy2.c9
2 files changed, 13 insertions, 4 deletions
diff --git a/src/engine/fox_context.c b/src/engine/fox_context.c
index 7396c973..b5fa2454 100644
--- a/src/engine/fox_context.c
+++ b/src/engine/fox_context.c
@@ -365,10 +365,10 @@ s32 gVsMatchWon;
bool gVsMatchStart;
bool gChangeTo360;
Vec3f gTeamArrowsViewPos[10];
-f32 D_ctx_80177F20[65]; // Seem to be an early implementation of RadarMark
-f32 D_ctx_80178028[65];
-f32 D_ctx_80178130[65];
-u8 D_ctx_80178238[65];
+// f32 D_ctx_80177F20[65]; // Seem to be an early implementation of RadarMark
+// f32 D_ctx_80178028[65];
+// f32 D_ctx_80178130[65];
+// u8 D_ctx_80178238[65];
Player* gPlayer;
f32* gStarOffsetsX;
f32* gStarOffsetsY;
diff --git a/src/engine/fox_enmy2.c b/src/engine/fox_enmy2.c
index 41d213e3..220f59bf 100644
--- a/src/engine/fox_enmy2.c
+++ b/src/engine/fox_enmy2.c
@@ -3791,12 +3791,15 @@ void ActorEvent_Update(ActorEvent* this) {
break;
}
+ // Unused early RadarMark implementation?
+ /*
if (gLevelMode == LEVELMODE_ALL_RANGE) {
D_ctx_80177F20[this->index + 1] = this->obj.pos.x;
D_ctx_80178028[this->index + 1] = this->obj.pos.z;
D_ctx_80178130[this->index + 1] = Math_ModF(this->rot_0F4.y, 360.0f) + 180.0f;
D_ctx_80178238[this->index + 1] = 1;
}
+ */
}
UNK_TYPE D_800D129C[140] = { 0 }; // unused
@@ -4241,11 +4244,14 @@ void func_enmy2_800763A4(Actor* this) {
Object_Kill(&this->obj, this->sfxSource);
Actor_Despawn(this);
+ // Unused early RadarMark implementation?
+ /*
if (gLevelMode == LEVELMODE_ALL_RANGE) {
D_ctx_80177F20[this->index + 1] = this->obj.pos.x;
D_ctx_80178028[this->index + 1] = this->obj.pos.z;
D_ctx_80178130[this->index + 1] = 1001.0f;
}
+ */
return;
}
} else {
@@ -4446,11 +4452,14 @@ void func_enmy2_800763A4(Actor* this) {
}
}
+ // Unused early RadarMark implementation?
+ /*
if (gLevelMode == LEVELMODE_ALL_RANGE) {
D_ctx_80177F20[this->index + 1] = this->obj.pos.x;
D_ctx_80178028[this->index + 1] = this->obj.pos.z;
D_ctx_80178130[this->index + 1] = this->rot_0F4.y + 180.0f;
}
+ */
if (this->obj.id == OBJ_ACTOR_ALLRANGE) {
ActorAllRange_SetShadowData(this);